ansible-for-devops icon indicating copy to clipboard operation
ansible-for-devops copied to clipboard

CI builds for first-ansible-playbook example are failing in GitHub Actions

Open geerlingguy opened this issue 4 years ago • 3 comments

I see:

TASK [Ensure chrony is running.] ***********************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to start service chronyd: Job for chronyd.service failed because the control process exited with error code. See \"systemctl status chronyd.service\" and \"journalctl -xe\" for details.\n"}

If I run the example locally (e.g. playbook=first-ansible-playbook.yml distro=centos7 tests/test.sh), then I see no errors, and idempotence works too.

I wonder if something else is conflicting with Chronyd inside GitHub Actions' environment?

geerlingguy avatar May 11 '21 14:05 geerlingguy

Disabled that test for the time being.

geerlingguy avatar May 11 '21 14:05 geerlingguy

I am also facing the issue, please let me know if you have any fix

premkritin avatar Oct 03 '21 19:10 premkritin

I just encountered this issue too: Role runs fine in geerlingguy/docker-centos7-ansible:latest container on my (MacOS) Docker desktop, and on Docker on an Ubuntu vSphere VM, but not in GitHub Actions.

lgadalla-impinj avatar Dec 07 '21 02:12 lgadalla-impinj