Hello,
I am writing as I have found no other solution online.
I am trying to install a tower-setup-bundle (version 3.5.1) as the
installation process must happen offline.
However whenever I reach the task Install the Tower RPM i get the error
message
TASK [packages_el : Install the Tower RPM.]
******************************************************************************************************************************************************************
]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"allow_downgrade": false,
"autoremove": false,
"bugfix": false,
"conf_file": null,
"disable_excludes": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": [],
"download_dir": null,
"download_only": false,
"enable_plugin": [],
"enablerepo": [
"ansible-tower",
"ansible-tower-dependencies"
],
"exclude": [],
"install_repoquery": true,
"install_weak_deps": true,
"installroot": "/",
"list": null,
"lock_timeout": 30,
"name": [
"ansible-tower == 3.5.1"
],
"releasever": null,
"security": false,
"skip_broken": false,
"state": "latest",
"update_cache": true,
"update_only": false,
"use_backend": "auto",
"validate_certs": true
}
},
"msg": "No package matching 'ansible-tower == 3.5.1' found available,
installed or updated",
"rc": 126,
"results": [
"No package matching 'ansible-tower == 3.5.1' found available,
installed or updated"
]
}
But the RPMs are available at /var/lib/tower-bundle and the
/etc/yum.repos.d/ appears as such
===============================================
[ansible-tower]
name=Ansible Tower Offline Repository $releasever $basearch
baseurl=file:///var/lib/tower-bundle/ansible-tower
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
cost=10
[ansible-tower-dependencies]
name=Ansible Tower Offline Repository $releasever $basearch
baseurl=file:///var/lib/tower-bundle/ansible-tower-dependencies
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
cost=10
===============================================
Has this ever happened to anybody? (I tried changing the enabled flag, but
when I run the ./setup.sh script it automatically replaces it with this
file)
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAEOhr7-X7zyK6hmg5jVvNv3iObc4Sh7tdSMSq7suPg9vj00NNA%40mail.gmail.com.