Skip to content

ansible failing to install PHP from lamp server playbook #609

Open
@minaf1

Description

@minaf1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions