include default playbooks

Add playbooks to /etc/ansible/playbooks with the variable defaulting to set the ANSIBLE_PLAYBOOK_DIR environmental variable to point to this location, with the intent if the variable isn't updated that the playbooks path will default to an image containing one. the main purpose of this is so that included roles can be called/run with a requirement to only specify variables for the play.

links / References

Tasks

  • image has default env var ANSIBLE_PLAYBOOK_DIR set to /etc/ansible/playbooks ( nofusscomputing/projects/ansible/ansible_playbooks#1 requires nofusscomputing/projects/ansible/ansible_playbooks!1)

  • Documentation updated to include the var and that it can be overwritten, also explain /workdir defaults for other config.

Edited by Jon