Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(Work in progress..)

Ansible Info:

...




What do you need:

all you need is an ansible master VM, with installed:

  •     Ansible >= 2.2.1.0
  •     Pip 
  •     GIT

To install Ansible, you can you pip:Installed with: PIP

sudo pip install ansible

...

ansible-playbook -v -i inventory/(PLATFORM-TO-DEPLOY)/teip.yml playbook/site.yml --ask-vault-pass

How to prepare a new platform:

Ansible script are idempotent. You can use them into a new VM or into an existing platform (to update it or to change some parameters).

To prepare a new platform, there are some directory and files to prepare:

group_vars/new

inventory/new

...

Edit variables with all set desired for the new platform

After all files are ready, you can start ansible:

ansible-playbook -v -i inventory/EXAMPLE/teip.yml playbook/site.yml --ask-vault-pass