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

How to Skip Ansible Host if member of a group

I am working on a playbook (for use in AWX) to handle some backend processing for one of our web apps. One of the extra variables passed to the playbook via a REST call to AWX is used to pass the hosts to the playbook hosts: {{target}} target can…
2
votes
1 answer

Migrate PV and change CPU limits on Kubernetes

I have a small kubernetes cluster with AWX running. I would like to make some changes, the PV is a filesystem on one of the nodes. Is it possible to migrate it to a different PV, like NFS? Also, I would like to change the CPU and memory limits. But…
radicaled
  • 2,369
  • 5
  • 30
  • 44
2
votes
0 answers

Jenkins connection to Ansible tower fails intermittently

We are using Jenkins (recently updated) with the Ansible plugin and the Ansible Tower plugin to connect to our AWX tower. Most of the time, it works great, but lately, the tower will sometimes not respond correctly to Jenkins. Again, this does not…
semmelbroesel
  • 543
  • 1
  • 8
  • 27
2
votes
1 answer

How to securely use ssh private keys on AWX?

I have problem with keeping my private ssh key on AWX, i know that it is encrypted but it is not as secure as i want it be. Do you know secure way to use ssh private keys with AWX ? Now i am using default Machine credentials and ssh is encrypted by…
Xavier123
  • 71
  • 2
  • 8
2
votes
0 answers

Ansible dynamic inventory - how to inject values to an inventory source

Here is some background first. I have a dynamic inventory which pulls data from an external source. I have various playbooks which does a few tasks using this inventory, and I run them by either an adhoc ansible-playbook command, and via Ansible…
Lester
  • 1,411
  • 1
  • 12
  • 30
2
votes
1 answer

AWX to Jump Host: Connection timed out during banner exchange

I'm trying to use a jump/bastion host to connect to other hosts that are within a private subnet. I'm getting the following error: { "msg": "Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1:…
awx_user
  • 69
  • 7
2
votes
0 answers

How to forward an ansible-awx-credential

The AWX-template is prompting for a credential to connect via ssh to a large list of hosts. This credential should be used to push via ssh to a git-repository, because i don't want to create or share a ssh-key on every host. This is possible with…
maletin
  • 585
  • 4
  • 14
2
votes
1 answer

How to add an inventory host to specific group using ansible tower API? So that it will display on related groups list on UI

I am unable to assign a host to group in ansible tower inventory using rest API's. Any one have worked on it please let me know the request with body.
Oomkar
  • 21
  • 1
  • 4
2
votes
1 answer

AWX custom virtual environments not showing up

I've been following instructions for setting up custom virtual environments on AWX. Steps so far: Created virtualenvs at /var/lib/awx/venv/py2 and /var/lib/awx/venv/py3 Sent authenticated PATCH request to update venv path setting Endpoint:…
Reggie
  • 413
  • 2
  • 9
  • 19
2
votes
2 answers

Ansible- AWX login token API

I have installed Ansible-AWX and configured certain playbooks. I want to use the AWX API to run the ansible playbooks on a .net console application. However in order to do so I need a oauth token to login using the postman API. The problem is I am…
Manpreet
  • 119
  • 2
  • 8
2
votes
0 answers

Ability for AWX user with limited permission to edit notifications settings on templates

Created a user in AWX with admin access to only one project. When the user creates a new templates, he does not have access to enable/disable notifications. While the system administrator have access to notifications... The new user does not have…
sreenivas
  • 2,067
  • 1
  • 19
  • 29
2
votes
0 answers

Ansible AWX UI or tower-cli smart search to exclude a pattern match

Has anyone figured out how to exclude a pattern match in AWX smart inventory search? The documentation and other blogs seem to be a bit vauge about it. I am aware AWX UI has some limitations hence the devs suggest using tower-cli for this purpose…
AKS0397
  • 31
  • 4
2
votes
2 answers

How to enable changes in AWX Containers?

I am trying to install additional python packages in AWX container awx_tasks so that the changes could enable the ansible modules like snow, ec2_elb_facts run (which have pre-requisites as Python modules). I have made the changes in the container…
2
votes
1 answer

Ansible AWX RabbitMQ container in Kubernetes Failed to get nodes from k8s with nxdomain

I am trying to get Ansible AWX installed on my Kubernetes cluster but the RabbitMQ container is throwing "Failed to get nodes from k8s" error. Below are the version of platforms I am using [node1 ~]# kubectl version Client Version:…
kaylor
  • 23
  • 3
2
votes
3 answers

Ansible Tower/AWX: Location of job results in PostgreSQL

I'm trying to get STDOUT and STDERR of a specific task from the PostgreSQL database to use it in a commit comment. I have difficulty with finding the right table. Has anyone tried to get a specific task results, STDOUT and STDERR from Ansible…
MMT
  • 1,931
  • 3
  • 19
  • 35
1 2
3
28 29