...
Install ansible and other dependencies. You may want to do it in its own virtual environment (
pip install -r requirements.txt
)- Fetch the external requirements
No Format $ ansible-galaxy role install -r requirements.yml roles/
- If you don't have it already, define your Ansible inventory. The simplest approach would be to create a file called
inventory
, on the same directory where the plabooks are, containing the fully qualified domain name (FQDN) or IP address used to connect to the instance from your seed platform. If running this ansible playbook on the same instance, you may use localhost. Run the apropriate playbook:
No Format $ ansible-playbook -i inventory playbookname.yml
...
Multiexcerpt | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
For advanced users with existing Ansible playbooks and greater customisation needs, it is possible to just pick and choose roles you are interested and include them into your own playbooks, instead of running separate playbooks. You can find the URLs for each of the dependant roles in the
|
...