Open main menu

Changes

1,198 bytes added ,  14:44, 2 September 2016
adding docs and references
== Ansible Docs ==
Some of the docs pages I've visited
* https://docs.ansible.com/ansible/playbooks_intro.html
* https://docs.ansible.com/ansible/intro_inventory.html
* http://docs.ansible.com/playbooks_best_practices.html
* http://docs.ansible.com/playbooks_loops.html
* https://docs.ansible.com/ansible/playbooks_startnstep.html
* https://docs.ansible.com/ansible/playbooks_roles.html#task-include-files-and-encouraging-reuse
* http://docs.ansible.com/YAMLSyntax.html
* https://docs.ansible.com/ansible/become.html
* https://docs.ansible.com/ansible/debug_module.html
* https://docs.ansible.com/ansible/playbooks_debugger.html (<code>strategy:debug</code>)
* https://docs.ansible.com/ansible/playbooks_conditionals.html#sts=The When Statement%C2%B6
== Ansible References ==
* http://tjelvarolsson.com/blog/taking-the-effort-out-of-server-configuration-using-ansible/
* http://tjelvarolsson.com/blog/how-to-create-automated-and-reproducible-work-flows-for-installing-scientific-software/ < with Vagrant
* http://jpmens.net/2012/06/06/configuration-management-with-ansible/
* [http://jinja.pocoo.org/docs/dev/ Jinja] - the template engine for Ansible
# use the setup module to view defined variables; add filter action to see specific variables
ansible all -m setup -a "filter=ansible_distribution*"
 
# Run multiple playbooks
ansible-playbook play1.yml play2.yml
</source>
* [https://docs.ansible.com/ansible/playbooks_conditionals.html Conditionals]
 
 
== Variables ==
; You have 3 plays in one playbook. Will play 3 be able to reference facts registered in play 1?:
: facts, yes, play vars, no
: vars associated to the host, persist, vars defined in the play, do not, set_facts, registered vars and gathered facts associate to the host so those do persist for the run
* [https://docs.ansible.com/ansible/playbooks_conditionals.html Conditionals]
[[Category:Configuration Management]]
[[Category:DevOps]]
4,558

edits