![The Ansible Community Forum](https://i1.feedspot.com/5683446.jpg?t=1699599633)
The Ansible Community Forum
1 FOLLOWERS
Latest topics
The Ansible Community Forum
6h ago
Hello, I’m currently unable to publish packages due to my galaxy account missing a user namespace.
I did not receive a namespace upon logging into ansible galaxy for the first time (maybe because my github username starts with a digit).
Help would be greatly appreciated, thanks in advance!
2 posts - 2 participants
Read full topic ..read more
The Ansible Community Forum
6h ago
I’m currently in the process of evaluating AWX for managing our landscape. I’m particularly thrilled by the concept of remote execution nodes that connect to the backend via hop nodes. That works fine so far.
However, there’s a catch in our environment: I need to run receptor and ansible-runner in a containerized (Docker) environment. It doesn’t matter whether both components run in in one container or both run seperately and communicate with each other somehow. The hardest part might be that ansible-runner wants to run the execution environment in a podman container. So it might be an podman ..read more
The Ansible Community Forum
9h ago
Hi,
I just imported a role that required alternate_namespace_name. However, it seems neither the CLI or docs mention “alternate_namespace_name” or explain how to use it. Maybe update those:
https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html#role-import
1 post - 1 participant
Read full topic ..read more
The Ansible Community Forum
9h ago
Hi,
I have awx operator running on k8s and I have following pods running:
NAME READY STATUS RESTARTS AGE
awx-operator-controller-manager-774c766fd4-274vn 2/2 Running 8 (38h ago) 70d
awx-postgres-13-0 1/1 Running 3 70d
awx-task-6dbfd8f6c9-2cvd2 4/4 Running 12 70d
awx-web-64765969f4-gm4nl 3/3 Running 9 70d
Scenario:
I have 2 AWX job templates i.e update_telegraf and generic_flow.When we launch ..read more
The Ansible Community Forum
12h ago
Hi, i try to use Ansible to Configure our Cisco Catalyst Switches.
But i got an error “{“changed”: false, “msg”: “paramiko is not installed: No module named ‘paramiko’”}”
To solve the Proble i tryed to install
pip3 install paramiko
apt install python3-paramiko
and add the following lines to ansible.cfg
transport = paramiko
ansible_python_interpreter: ‘{{ ansible_playbook_python }}’
enviroment:
Ubuntu bookworm/sid
ansible [core 2.17.0]
Python 3.10.12
paramiko 3.4.0
Nothing solved the problem. Do have somebody a idea to resolve the problem?
reguards
1 post - 1 participant
Read full topic ..read more
The Ansible Community Forum
12h ago
Logging Playbook Output - Are There Better Ways?
Hello,
so far I have tried different ways to log the output of a single Ansible Playbook execution to a file.
In business environments you usually want to upload the logfile to some platform (e.g. jira) or send it to someone.
And of course you want to automate this process, too.
my current approach
Right now the most feasible method for me is to do it like this:
create a wrapper bash script around the ansible-playbook commands
redirect the output of the ansible-playbook command to a log file
create a second playbook that uploads the logfile to ..read more
The Ansible Community Forum
17h ago
Hi Ansible community,
I’m working with AWX (Ansible Tower) and need assistance with two tasks:
Monitoring AWX Job Status:
I want to retrieve detailed information about AWX job status using the REST API. Specifically, I’d like to know how to get custom information during an ongoing job (e.g., additional fields beyond the default status).
Counting Failed and Completed Jobs:
I’m looking for API queries to identify the count of failed and completed jobs. Ideally, I’d like to get these counts per hour and per day.
Any guidance or examples would be greatly appreciated!
1 post - 1 participant
R ..read more
The Ansible Community Forum
17h ago
I have a use case where I need to trigger a Job in Ansible Tower using the Tower REST API. My problem, is determining the best way to handle authentication.
Under the current implementation, the refresh_token changes each time I use it to request a new access_token. This is a problem for my client application because it is stateless, and I don’t have anywhere reliable that I can update the refresh_token with the new one returned from the Ansible Tower API. Is there a way turn off the Ansible Tower feature that generates a new refresh_token each time I request a new access_token?
Ideally, I wou ..read more
The Ansible Community Forum
17h ago
"POST /sso/complete/saml HTTP/1.1" 301 5 "https://company.okta.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0" "10.96.64.109"
2024-07-25 14:40:18,557 ERROR [f924a3e35ad645a5857549526349008b] social 'RelayState'.
I am following:
21. Setting up Enterprise Authentication — Ansible AWX community documentation
I set the RelayState in Okta to “okta” as I named it in AWX and it did not change the result. What does RelayState need to be? The other post in the forums about RelayState said it was on the okta side ..read more
The Ansible Community Forum
17h ago
Can someone assist with the detailed steps to configured AD authentication for AWX when it is running on containers.
I have made use of UI and updated the LDAP details in settings tab, but I can’t login using domain credentials. Am I missing something? How to troubleshooting it from the web and task containers of AWX ?
I get invalid username and password error
1 post - 1 participant
Read full topic ..read more