AWX Operator + k3s and inventory import

247 views
Skip to first unread message

Kimmo L.

unread,
Sep 7, 2021, 8:57:51 AM9/7/21
to AWX Project
Hello!
I tried to install latest AWX Operator on my CentOS 7 vm using following guide: https://github.com/kurokobo/awx-on-k3s
Does anyone know, how am i able to import multiple hosts or my own inventory file into AWX ?

Br,
Kimmo

Wei-Yen Tan

unread,
Sep 7, 2021, 9:05:59 AM9/7/21
to Kimmo L., AWX Project
Use inventory sources 

From: awx-p...@googlegroups.com <awx-p...@googlegroups.com> on behalf of Kimmo L. <klil...@gmail.com>
Sent: Wednesday, September 8, 2021 12:57:51 AM
To: AWX Project <awx-p...@googlegroups.com>
Subject: [awx-project] AWX Operator + k3s and inventory import
 
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/49de612d-9317-4795-aa05-6862f88b3671n%40googlegroups.com.

Kimmo L.

unread,
Sep 8, 2021, 1:39:02 AM9/8/21
to AWX Project
I tried to use "sourced from a project" method, but im not able to see my inventory file.  
Could it be, that it does not work with a project, which is using manual source control? or is it overall bug ?

Wei-Yen Tan

unread,
Sep 8, 2021, 1:41:20 AM9/8/21
to Kimmo L., AWX Project
I use this method all the time now and it shows up. Have you updated  the project, formatted correctly?

Sent: Wednesday, September 8, 2021 5:39:02 PM
To: AWX Project <awx-p...@googlegroups.com>
Subject: Re: [awx-project] AWX Operator + k3s and inventory import
 

Kimmo L.

unread,
Sep 8, 2021, 2:26:07 AM9/8/21
to AWX Project
Hmm, i think so. I did try again and now im getting an error message -  Cannot use manual project for SCM-based inventory. Any suggestions ? Maybe im still doing something wrong ?

Wei-Yen Tan

unread,
Sep 8, 2021, 2:27:50 AM9/8/21
to Kimmo L., AWX Project
Can you show the screen please? Error message text 

Sent: Wednesday, September 8, 2021 6:26:07 PM

Kimmo L.

unread,
Sep 8, 2021, 2:52:21 AM9/8/21
to AWX Project
Näyttökuva 2021-09-08 094848.jpg
This "/ (project root)" was my only choice. So i did try to type manually inventory.ini file there and then i got that error. Should this inventory file come into the selection itself ?

Kimmo L.

unread,
Sep 9, 2021, 2:48:08 AM9/9/21
to AWX Project
As i understand, my project "Source Control Credential Type" must be something different, not manual yes ? Otherwise, it won't work.

Wei-Yen Tan

unread,
Sep 9, 2021, 3:29:21 AM9/9/21
to Kimmo L., AWX Project
What's your project where your source files are? Click on the magnifying glass and locate your project (or did you do that)? 

Sent: Thursday, September 9, 2021 6:48:08 PM

Kimmo L.

unread,
Sep 9, 2021, 4:16:53 AM9/9/21
to AWX Project
I already did that yes. My "lab" project is located locally on the same host.

Wei-Yen Tan

unread,
Sep 14, 2021, 8:04:11 AM9/14/21
to Kimmo L., AWX Project
Yeah sure. Rancher is essentially just a view into your kubernetes cluster. Just follow the instructions in awx. It will deploy into the kubernetes cluster. Once there  and deployed and I want to upgrade I just use rancher to update the operator. 

Let me know if there is anything specific thst you are looking for. 😊

Sent: Thursday, September 9, 2021 8:16:53 PM
Reply all
Reply to author
Forward
0 new messages