debops / examples

Repository with example DebOps projects
MIT License
61 stars 19 forks source link

webhost-gitusers-dokuwiki example documentation wrong #9

Open muelli opened 9 years ago

muelli commented 9 years ago

currently, the documentation states

    ANSIBLE_SSH_ARGS="-o UserKnownHostsFile=/dev/null" debops ./simpletest.yml

that should probably be test.yml as the simpletest.yml file does not exist.

Also, I recommend explicitly calling env as putting the variables in front is a bashism.

But running test.yml yields:

env ANSIBLE_SSH_ARGS="-o UserKnownHostsFile=/dev/null" debops test.yml 
Running Ansible playbook from:
test.yml ...
ERROR: debug is not a legal parameter in an Ansible task or handler
muelli commented 9 years ago

FWIW: Upgrading Ansible to something greater than 1.7.2 seems to have helped the debug problem.

Also, it would be good if the documentation states that you need to run "debops", i.e. without the test.yml.