Questions tagged [ansible-awx]

Ansible Tower is a GUI and REST API for managing both cloud-based and traditional/hybrid Ansible deployments

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is the upstream project for Red Hat Ansible Tower, a commercial derivative of AWX.

Home Page: https://github.com/ansible/awx

424 questions
1
vote
2 answers

How to pass variable data through Ansible Tower API to a playbook template

We use Ansible Tower for Operations to perform process restarts. If they receive an alert says a process stopped, they execute an Ansible Tower job and supply the host name and process name from the alert as "survey" variables. [A lot more happens,…
Steve J
  • 313
  • 1
  • 2
  • 8
1
vote
1 answer

Ansible execution environment: ModuleNotFoundError: No module named 'lxml'?

When running a playbook using my custom execution environment I get the following error even though lxml is installed: ModuleNotFoundError: No module named 'lxml' How can I ensure lxml is available? My files and process for building the execution…
tread
  • 10,133
  • 17
  • 95
  • 170
1
vote
0 answers

Ansible AWX - write a local file

I'm running ansible AWX in minikube and I could use some assistance in understanding how to write a file to AWXcontaner. My goal is to use a survey to create a template. This template would be written to the file system and pushed to a git repo for…
1
vote
0 answers

awx-manage is not working correctly when i try to remove an instance

i am using the command awx-manage (version 12.0.0, awx version 12.0.0) to add and remove instances automatically in the first case (adding an instance) the command works just fine: awx-manage register_queue --queuename=MY_INCTANCE_GROUP…
Abderrahmane
  • 385
  • 2
  • 3
  • 14
1
vote
0 answers

not able to find /var/lib/awx/projects directory after installing awx version 19 and more(19.2.2)

I installed AWX version 19.2.2 on my machine which is ubuntu 18.04.5 It got installed without any error and I can see the AWX web page at https://my machine ip:8043/#/login. I installed AWX using docker. for AWX port 8043 is opened. From AWX page I…
1
vote
1 answer

How can I expose local data_path to the temporary_job_container (awx-job-xxxxx)?

My playbook running from awx need to check the file of nfs. Therefore I want to expose mount_path of local host to the temporary container, or mount pvc of nfs_volume to the temporary container. I tried to mount pvc of nfs_volume to the awx-ee…
mm11111
  • 11
  • 2
1
vote
0 answers

Unexpected error in Ansible AWX, can't find solution to fix duplicate entries

I have this scenario: OS: Rhel 7 Docker version 20.10.6, build 370c289 docker-compose version 1.29.1, build unknown Ansible AWX 17.1.0 Command: # docker logs -f awx_task Output Using /etc/ansible/ansible.cfg as config file 127.0.0.1 | SUCCESS => { …
Nolan_1981
  • 23
  • 3
1
vote
2 answers

What Ansible version does AWX 19.1.0 offer?

I am using AWX 17.1.0 which offers Ansible version 2.9.18. The older Ansible version is becoming a bit of an issue. There does not seem to be a documented way to upgrade Ansible in an existing Ansible installation. I am using btw a local docker…
onknows
  • 6,151
  • 12
  • 65
  • 109
1
vote
1 answer

Ansible AWX use collections

My ansible playbook failes, when starting the template in AWX. ansible-playbook [core 2.11.0b4] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python…
Jonaswinz
  • 342
  • 4
  • 15
1
vote
1 answer

Debian 10 - Ansible 2.10 AWX 17.0.1 Installation without Openshift or Kubernetes

I'm currently trying to install AWX on a debian10 VM. I followed a lot of tutorial always saying the same thing but I'm not able to have AWX installed. It seems that the version 17.0.1 only installs on Openshift or Kubernetes clusters. On my side I…
Noide35
  • 11
  • 3
1
vote
2 answers

AWX - How/Where to modify the Global Job settings

Environment: AWX - 16.0 within Docker on CentOS8 Ansible 2.9.15 Question: Within the UI of AWX Settings -> Job Settings. How do I modify the section "paths to expose to isolated jobs" The Edit button does not currently work on this version so…
bwinchell
  • 51
  • 1
  • 10
1
vote
1 answer

Ansible variable inside when

I'm working on a playbook, where I get the disk with the name sd*, with no holders and no partitions. I have this: - set_fact: test: "{{ ansible_facts.devices }}" - debug: msg: "{{ test }}" - debug: msg: "{{ test…
VallingSki
  • 133
  • 4
1
vote
0 answers

AWX docker image build NPM errors

I have been trying to build AWX docker images instead of using those hosted on docker hub as we need to add few additional tools to the image and other changes required per internal policies. I am running into following error even though I left…
cnu
  • 461
  • 8
  • 19
1
vote
1 answer

Create Playbook with a few tasks and another playbook

Currently I'm searching for a solution, where I can create a Variable and then import the Playbook with the variable. Here is my code: - name: test hosts: localhost vars: ansible_python_interpreter: /usr/bin/python3 playbook1:…
VallingSki
  • 133
  • 4
1
vote
0 answers

How to step through playbook in ansible-tower or awx (like ansible-playbook --step)?

Is it possible to perform step through when using ansible-tower or awx? If yes, how? --step one-step-at-a-time: confirm each task before running