On 30. okt. 2017 14:51, Artur001 wrote:
> 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
It says "Not Found", ppa.launchpad.net is for Ubuntu, not Debian Jessie.
--
Kai Stian Olstad
--
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/a77a5e59-26bb-a4d0-8292-f660ef4b6598%40olstad.com.
For more options, visit https://groups.google.com/d/optout.