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
0
votes
1 answer

Undefined variable error 'dict object' on various hosts when running playbook

EDIT: It seems this only occurs when running with the --check parameter. Running this playbook live doesn't throw this error. But it would still be good to know what is causing this. I'm starting to use Ansible AWX to manage a bunch of servers and…
shaneoh
  • 442
  • 2
  • 8
  • 26
0
votes
1 answer

Get inventory scripts from source control in awx

In AWX, currently if you select inventory scripts > Custom scripts, you can only paste the code in the input box. Is there a way to pull the script from source control ?
sreenivas
  • 2,067
  • 1
  • 19
  • 29
0
votes
1 answer

How to link container with a new image?

I am new to Docker and tried to check how to make changes in a docker container and commit them to reflect in the results. I have AWX running on Docker-CE and had created made changes in awx_web container to update the UI logo as mentioned in the…
Ankit Vashistha
  • 325
  • 6
  • 17
0
votes
1 answer

Jenkins build not executing `docker tag` command correctly

I am attempting to build https://github.com/ansible/awx. To setup my Jenkins environment, I deployed Ubuntu in AWS, installed the development tools, docker, and Jenkins, and joined the jenkins user to the docker group. Then, I setup Jenkins with the…
0
votes
1 answer

Unable to install ansible-awx

I am trying to install AWX but it fails with below error Version info ansible --version ansible 2.4.0.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules',…
0
votes
1 answer

Host not found error while executing copy module

Ansible version :1.9.4, 1.9.3, 1.9.1, Using ec2, so specifying pem key in ansible.cfg I have used Ansible for while, but this error is strange. Copy module works fine when executing in ad-hoc like the snippet below. The below line is just an…
Lakshman Diwaakar
  • 7,207
  • 6
  • 47
  • 81
0
votes
1 answer

Ansible tower to manage hosts configured for pull mode?

I currently manage ~20 machines located around the world, behind a variety of firewalls using ansible operating in pull mode (all machines pull the playbook from a git+ssh repository). I'd like better reporting of the status of the machines so I am…
John
  • 11
  • 2
0
votes
1 answer

ansible invoke variable forming from first variable file and string and listed in second variables file

We have two variable files, the first files carries constant and the second variables from the output generated. firstfile.yml --- prefix: test secondfile.yml --- test_variable: 12345 In we are want to call test_variable, but the formation of the…
0
votes
1 answer

How to access the hostname from a new Python module in Ansible

I am planning to implement a new Ansible module which will run via a local connection and make remote API calls to the host. Is there any way in which I could access the name of the host/IP address from the module? I would like to make a decision on…
Andrei
  • 1,862
  • 4
  • 15
  • 15
-1
votes
0 answers

How can I execute oracle db queries using sqlplus in ansible playbook?

I have created the below ansible playbook to get the tablespace status by executing the sql query on oracle database 19c. While executing this playbook it hangs or times out or maybe it is asking for a prompt. I dont have an idea. All I want is to…
Suganthan Raj
  • 2,330
  • 6
  • 31
  • 42
-1
votes
0 answers

Shared connection to HPUX Target Server closed

I'm getting the following error when trying to ping or run any ad-hoc commands or Ansible playbook to the HPUX server from the AWX Ansible machine. x.x.x.x | FAILED! => { "ansible_facts": { "discovered_interpreter_python":…
Sakshi
  • 1
  • 1
-1
votes
0 answers

Connection Issues from Ansible AWX platform to HPUX Server

We are facing an issue to connect from AWX Ansible dev Linux machine to the HPUX target machine. We're receiving python related error, and it couldn't be able to communicate against HPUX machine. I'm attaching the error below, module_stderr":…
Sakshi
  • 1
  • 1
-1
votes
0 answers

incorret module zfs in ansible awx

I am using using AWX; I'm trying to run the following playbook on solaris, where I use the ansible zfs module. but it tells me an error in the module. "ERROR! couldn't resolve module/action 'community.general.zfs'. This often indicates a…
-1
votes
1 answer

ansible awx setup aws ec2 inventory with private ip as hostname

We have centralised ansible awx tower and using aws ec2 plugin to sync the hosts. Because the hostnames are private dns of aws we're unable to connect from ansible (nodes are in another account, but vpcs are peered). So from the awx console is there…
L_sama
  • 23
  • 3
-1
votes
1 answer

ansible port check for multiple location with multiple end points

I have a scenario I have multiple sources (3 sources ) I have multiple end points (more than 10,000 end points) I have multiple ports (2 ports) I modified the playbook after referencing few websites. ansible task - Locate running port on a list of…