I use a VM and Intershop 7.8 to run an ansible-playbook (using this tutorial ). After installing Ansible, copying the content of the repository and configuring it (as shown in the "quick installation guide"), I tried to run the ansible-playbook "setupci.yml" using the command ansible-playbook setupci.yml
. Testing this the first time the error provided hosts list is empty, only localhost available
occurred. Solving this by creating a "hosts.yml" file, in which I declared a hostname and using other commands to run the playbook, two new errors occurred.
I tried the following command in the ci-set-ansible-playbook
directory:
$ --limit @[…]/ci-setup-ansible-playbook/setupci
I also tried:
$ ansible-playbook setupci.yml –connection=local
But both caused the errors:
fatal: [127.0.0.1]: FAILED! => {“changed”: false, “connection”: “close”, “content”: “\n \n 404 – Not Found
fatal: [127.0.0.1]: FAILED! => {“failed”: true, “msg”: “the field ‘args’ has an invalid value, which appears to include a variable that is undefined.
-vvv
, then show us the Ansible command that is being run when that 404 occurs. – tedder42