examples icon indicating copy to clipboard operation
examples copied to clipboard

webhost-gitusers-dokuwiki example documentation wrong

Open muelli opened this issue 10 years ago • 1 comments

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 avatar Apr 27 '15 14:04 muelli

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.

muelli avatar Apr 28 '15 07:04 muelli