Fwd: Ansible Tower installation problem - package not found

167 views
Skip to first unread message

Davide Scrimieri

unread,
Dec 5, 2019, 5:05:18 AM12/5/19
to ansible...@googlegroups.com




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)


Stefan Hornburg (Racke)

unread,
Dec 5, 2019, 5:12:22 AM12/5/19
to ansible...@googlegroups.com
On 12/5/19 11:04 AM, Davide Scrimieri wrote:
>
>
>
>
> 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.

Hello Davide,

please contact RedHat support. This list is about Ansible, but not for AWX or Tower.

Regards
Racke
> --
> 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
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEOhr7-X7zyK6hmg5jVvNv3iObc4Sh7tdSMSq7suPg9vj00NNA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEOhr7-X7zyK6hmg5jVvNv3iObc4Sh7tdSMSq7suPg9vj00NNA%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc
Reply all
Reply to author
Forward
0 new messages