From 11e111b8d5df7fdc890c8490f4ca2a5ed63842e0 Mon Sep 17 00:00:00 2001 From: Igor Chudov Date: Mon, 27 May 2019 14:02:22 +0400 Subject: [PATCH] [ODDJOB-7] README.md improved with infra options --- README.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c24f7d..0a25d10 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,30 @@ -# Prepare +# Samba DC testing infrastructure deployment + + +## Contents + +* [Prerequisites](#prerequisites) +* [Quickstart](#quickstart) +* [Deployment options](#deployment-options) + +* * * + + +## Prerequisites + +* **Ansible** with necessary Python modules installed +* **Git** with **git-subtree** module installed + + +## Quickstart + install prerequired ansible 2.6+ and python modules ```sh -apt-get install ansible python-module-proxmoxer python-module-jmespath python-module-netaddr +apt-get install ansible \ + python-module-proxmoxer \ + python-module-jmespath \ + python-module-netaddr \ + git-subtree ``` init submodules and pull infra-conf repository @@ -18,3 +41,13 @@ deploy desired stack ```sh ./infra.sh test-env test-stack ``` + + +## Deployment options + +You may add some extra options to `infra.sh`: + +* **-e redeploy_all=yes** - Apply the playbook to existing VMs once + again. +* **-e destroy_all=yes** - Stop all VMs. +