Open main menu

Changes

no edit summary
Ansible "[http://docs.ansible.com/playbooks.html Playbooks]" use an easy and descriptive language based on YAML.
== Roles ==
[https://www.redhat.com/sysadmin/developing-ansible-role 8 steps to developing an Ansible role] (aka when a playbook becomes a re-usable role)
== Controlling Whitespace in Jinja2 Templates ==
See [[Controlling whitespace in Jinja2 templates]]
*[https://cheat.readthedocs.io/en/latest/ansible/index.html Dan's Cheat Sheets]
== To Do ==
# Follow and learn from Jeff Geerling's Drupal site https://github.com/geerlingguy/jeffgeerling-com because his techniques embody best practices for PHP, Drupal, Docker, Ansible, etc. In episode 12 of Ansible 101 - Real-world Ansible Playbooks [https://www.youtube.com/live/_QZr4xKhir4?si=LOyBibByqdmLb7M6&t=1107 here] he discusses his Drupal playbook and the 'deploy' tag. But sadly the playbooks are private (Midwestern Mac infrastructure), so you'll have to read the screen to emulate it exactly. The closest I found was https://github.com/geerlingguy/ansible-awx-varnish-php-app/blob/master/main.yml# Add info (separate page) about the Ansible clone of the Ruby deployment system 'Capistrano' called 'Anistrano'## https://www.oliverdavies.uk/talks/deploying-php-ansible-ansistrano## https://github.com/ansistrano/deploy
{{References}}