My playbook that installs some generic applications on all of my servers:
`
- name: Install base applications
yum: name={{ item }} state=present
with_items: - epel-release
- vim-enhanced
- gcc
- wget
- libsemanage-python
- policycoreutils-python
- setroubleshoot
- tmux
`
I get an error message for each of the following packages:
`
“msg”: “No package matching ‘libsemanage-python’ found available, installed or updated”, “rc”: 126
“msg”: “No package matching ‘policycoreutils-python’ found available, installed or updated”, “rc”: 126
“msg”: “No package matching 'setroubleshoot found available, installed or updated”, “rc”: 126
“msg”: “No package matching ‘tmux’ found available, installed or updated”, “rc”: 126
`
If I remove those packages from the item list, the install goes through fine.
I have also verified that if I manually run the following command on the remote server, it exists
yum install libsemanage-python policycoreutils-python setroubleshoot tmux
If I remove the package from the item list and install it individually, it will work:
`
- name: Install libsemanage-python
yum: name=libsemanage-python state=present
`
Has anyone run into a similar scenario and figured out why it is causing this?