geerlingguy / geerlingguy/ansible-for-devops

ansible failing to install PHP from lamp server playbook

Open
#609 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

I am going through the ansible for devops book and getting stuck on chapter 4.
When I run the ansible playbook for the lamp server, it gets stuck at the task "Add ondrej repository for later versions of PHP" with the following error:

FAILED! => {" changed": false, "msg": "Failed to update apt cache: W: Updating from such a repository can't be done securely, and is therefore disabled by default., See apt-secure(8) manpage for repository creation and user configuration details., The repository xia Release' does not have a Release file."}

I have tried adding more time to give the process to end gracefully. I have tried changing the vagrant box. These did not help.
and I am not sure where to go from here. I am guessing the source either does not have the release files anymore or some process is hogging all the resources making it impossible to run this command from ansible playbook.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.