Not working main.yum
- name: add php ppa
apt_repository: repo='ppa:ondrej/php' state=present
- name: update apt cache
apt: update_cache=yes
vagrant up
TASK [php : add php ppa]
*******************************************************
fatal: [joomla]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "Shared connection to 127.0.0.1 closed.\r\n",
"module_stdout": "Traceback (most recent call last):\r\n File
\"/tmp/ansible_cdHTo1/ansible_module_apt_repository.py\", line 556, in
<module>\r\n main()\r\n File
\"/tmp/ansible_cdHTo1/ansible_module_apt_repository.py\", line 544, in
main\r\n cache.update()\r\n File
\"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 443, in update\r\n
raise FetchFailedException(e)\r\napt.cache.FetchFailedException:
W:Failed to fetch
http://ppa.launchpad.net/ondrej/php/ubuntu/dists/jessie/main/binary-amd64/Packages
404 Not Found\r\n, E:Some index files failed to download. They have been
ignored, or old ones used instead.\r\n", "msg": "MODULE FAILURE", "rc": 0}
to retry, use: --limit @/home/artur/php-joomla-vm/provisioning/playbook.
retry
PLAY RECAP
*********************************************************************
joomla : ok=4 changed=2 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
my project <https://github.com/Robocop01/vagrant_joomla>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3c4b1018-17bc-4dcd-9572-e95ad1b47a4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.