Broken on all AWS AMIs
Closed this issue · 2 comments
This role appears to be broken on all AWS AMIs. As such, it's unusable on AWS.
I've tried: RedHat 7.5, AWS AMIs, SUSE and Ubuntu. All have various, different issues.
- name: Install AWX
hosts: awx
become: yes
roles:
- role: geerlingguy.repo-epel
- role: geerlingguy.git
- role: geerlingguy.ansible
- role: geerlingguy.docker
- role: geerlingguy.pip
- role: geerlingguy.nodejs
- role: geerlingguy.awx
RedHat
TASK [geerlingguy.git : Ensure git is installed (RedHat).] fatal: [3.104.64.48]: FAILED! => {"changed": false, "msg": "No package matching 'git-svn' found available, installed or updated", "rc": 126, "results": ["No package matching 'git-svn' found available, installed or updated"]}
Reported here: geerlingguy/ansible-role-git#41
AWS AMIs
Amazon Linux AMI 2018.03.0 (HVM)
TASK [geerlingguy.docker : Install Docker.] ********************************************************************************************************************************************************** fatal: [52.63.98.103]: FAILED! => {"changed": false, "msg": "Error: Package: 3:docker-ce-18.09.2-3.el7.x86_64 (docker-ce-stable)\n Requires: container-selinux >= 2.9\nError: Package: containerd.io-1.2.2-3.3.el7.x86_64 (docker-ce-stable)\n Requires: systemd\nError: Package: 3:docker-ce-18.09.2-3.el7.x86_64 (docker-ce-stable)\n Requires: libsystemd.so.0()(64bit)\nError: Package: 3:docker-ce-18.09.2-3.el7.x86_64 (docker-ce-stable)\n Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)\nError: Package: 3:docker-ce-18.09.2-3.el7.x86_64 (docker-ce-stable)\n Requires: systemd-units\n", "rc": 1, "results": ["Loaded plugins: priorities, update-motd, upgrade-helper\nResolving Dependencies\n--> Running transaction check\n---> Package docker-ce.x86_64 3:18.09.2-3.el7 will be installed\n--> Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: containerd.io >= 1.2.2-3 for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libseccomp >= 2.3 for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: docker-ce-cli for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: systemd-units for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libseccomp.so.2()(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Running transaction check\n---> Package containerd.io.x86_64 0:1.2.2-3.3.el7 will be installed\n--> Processing Dependency: systemd for package: containerd.io-1.2.2-3.3.el7.x86_64\n--> Processing Dependency: systemd for package: containerd.io-1.2.2-3.3.el7.x86_64\n---> Package docker-ce.x86_64 3:18.09.2-3.el7 will be installed\n--> Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: systemd-units for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n---> Package docker-ce-cli.x86_64 1:18.09.2-3.el7 will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: 1:docker-ce-cli-18.09.2-3.el7.x86_64\n---> Package libseccomp.x86_64 0:2.3.1-2.4.amzn1 will be installed\n--> Running transaction check\n---> Package containerd.io.x86_64 0:1.2.2-3.3.el7 will be installed\n--> Processing Dependency: systemd for package: containerd.io-1.2.2-3.3.el7.x86_64\n--> Processing Dependency: systemd for package: containerd.io-1.2.2-3.3.el7.x86_64\n---> Package docker-ce.x86_64 3:18.09.2-3.el7 will be installed\n--> Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: systemd-units for package: 3:docker-ce-18.09.2-3.el7.x86_64\n--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-18.09.2-3.el7.x86_64\n---> Package libtool-ltdl.x86_64 0:2.4.2-20.4.8.5.32.amzn1 will be installed\n--> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n"]}
Reported here: geerlingguy/ansible-role-docker#56 (comment)
SUSE Linux
TASK [geerlingguy.repo-epel : Install EPEL repo.] fatal: [13.236.182.225]: FAILED! => {"msg": "The conditional check 'result.rc == 0' failed. The error was: error while evaluating conditional (result.rc == 0): 'dict object' has no attribute 'rc'"}
Ubuntu
TASK [geerlingguy.repo-epel : Install EPEL repo.] **************************************************************************************************************************************************** fatal: [54.252.163.104]: FAILED! => {"msg": "The conditional check 'result.rc == 0' failed. The error was: error while evaluating conditional (result.rc == 0): 'dict object' has no attribute 'rc'"}
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.