Questions tagged [ansible-tower]

For questions regarding Ansible Tower - a visual dashboard, role-based access control, and job scheduling system for Ansible deployments.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Why does AWX expect to see files in /etc/tower when inventory file specifies docker_compose_dir=/tmp/awxcompose?

I have been using the official install guide for AWX found at github The web interface says only "Internal Server Error". The docker log contains, Traceback (most recent call last): File "/usr/...
1
vote
0answers
210 views

AWX doesn't work with External DB

Trying to make AWX use External postgres DB, Changed the inventory database details pg_hostname=localhost pg_username=postgres pg_password=postgres pg_database=postgres pg_port=5432 # pg_sslmode=...
0
votes
1answer
44 views

Difference behaviour between ansible engine and ansible tower

- name: Verification de l'espace disponible dans le VG shell: /sbin/vgs --unit g --noheadings "{{ vg_name }}"| awk '{print $7}' | sed -e "s/^<//" | sed 's/g//' register: vg_space_available - ...
0
votes
1answer
181 views

AWX Cannot find KDC for REALM

Cannot find KDC for REALM Hello, I have an issue with Kerberos and AWX. If I create manually a ticket with kinit testeruser@TEST.PUBLIC.COM, it will worked without problems. But if I will use AWX ...
0
votes
1answer
273 views

Template run fails on project update in AWX 3.0.0.0

AWX version: 3.0.0.0 Ansible version: 2.7.6 Host OS: CentOS 7.6.1810 I get an error when updating the project when running a template in AWX: Traceback (most recent call last): File "/var/lib/awx/...
0
votes
1answer
163 views

Ansible + AWX Run playbook/tasks against machines needs minor changes from the standard role

I'm learning ansible awx and I have a situation that will come up that I want to address during testing so I'm looking for ideas and possible solutions. The file structure is from here, Best ...
2
votes
1answer
611 views

AWX docker-compose stop not working

I'm pretty new to docker-compose and I can't seem to make this work. I have been following this guide for installing AWX and has been successful so far. But when trying to stop everything using ...
0
votes
1answer
135 views

Restrict user providing asterisk * on the prompt ansible awx

I am trying to create a self service job template for our users through Ansible AWX , and want to restrict the users to mention the exact host detail where they want to run the job. During testing I ...
-1
votes
1answer
145 views

Run playbook periodically

we want to do backup using ansible and we want it to run periodically. I think its possible using os crontab to running playbook, but we want to have more neatly solution Is there any feature in ...
2
votes
2answers
2k views

Ansible Playbook running locally but unable to ssh to host via AWX

SUMMARY I have ansible and ansible AWX installed on same AWS EC2 instance and I am trying to deploy build on another app AWS EC2 instance. I am able to run the playbook via ansible-playbook command,...
0
votes
0answers
263 views

Ansible AWX playbooks pulled from github do not show in playbook drop-down box

I've got an installation of AWX 1.0.7.2, running on Ubuntu 18.04.1 and using Ansible 2.6.2. The installation was done using docker on linux. I have a couple of projects configured each of which uses ...
0
votes
2answers
213 views

ansible replace module is not working as expected

my ansible play book is working for me to uncomment certain lines in a .conf file, but its failing for one particular line its not making any change. below is my .conf file part. #<VirtualHost ...
2
votes
1answer
508 views

ansible -how to pickup hostname and create self signed certificate

i have working command for creating self signed certificate for IHS server's .kdb file and i was trying to use the same command through ansible. Here my aim is that ansible should detect the hostname ...
3
votes
3answers
5k views

Rollback the changes in Ansible

Is there any method to rollback the changes in Ansible? Suppose my play book contains different plays like create 5 users,install 3 rpms, start the services. If I want to rollback a certain play how ...
0
votes
1answer
250 views

AWS credentials not being picked up by AWX template

I've got a new Ansible AWX server running and one of the things I'd like to do with it is to create an AMI of AWS instances before then installing regular updates to the instances. I've got the ...
2
votes
0answers
937 views

How Do I Use Ansible Tower's Credential Parameters (Machine, Network, Cloud) in my Playbook or inventory file

I am using AWX (open source Ansible Tower) and I have 2 cloud based linux machines I would like to manage with it. The 2 Linux machines have 2 different private keys that I have uploaded to the ...
0
votes
1answer
96 views

Install AWX (OSS version of Tower) through Katello

I want to install AWX for testing purposes in our organization. I would like to use the Katello server we already have deployed and we use daily. Is there any guideline about it? The "official" site ...
1
vote
1answer
399 views

How to use multiple ansible versions in ansible tower

Ansible Tower 3.3.0 Currently we are using Ansible 2.4.2, need to upgrade to 2.5.x, to take advantage of new features, without breaking existing jobs that have been tested and currently working. Would ...
1
vote
1answer
205 views

ansible tower - append custom host variables

Within ansible tower inventory, I need to programmatically append custom variables to specific hosts rather than enter them manually. How can I do this? Do any modules exist for this?
0
votes
1answer
1k views

Ansible Tower: How to launch multiple jobs from same template parallel

I have a project in Ansible Tower, and a template derived from the project. I am running a job with this template against a host (Say a.example.com) . Now I want to run a job with this template at the ...
0
votes
1answer
151 views

Download private_key.pem when using ansible os_keypair

I'm using ansible os_keypair module towards Openstack, through AWX, to create a new keypair: - hosts: localhost tasks: - name: Create new keypair, ask for the name in survey os_keypair: ...
3
votes
3answers
4k views

How to use existing Vault files in Ansible Tower?

I want to import existing inventories that I have previously used with Ansible (standalone) including group_vars and vault files into Ansible Tower (3.2.0). However, it doesn't seem to work once ...
-5
votes
1answer
378 views

ansible tower causing nginx problems

The ansible tower uses port 40 and 443. Nginx also listens on port 80. Now, the servers which I have hosted behind nginx, like netdata. I accessed them earlier by http://xx.xx.xx.xx/netdata. Now ...
2
votes
3answers
6k views

Can i use my roles from Ansible in Ansible Tower?

I have created about 30 roles in ansible. Do i have to manually convert those in single playbooks to use them in Ansible Tower?
0
votes
2answers
2k views

ansible tower reports : stdout capture is missing

How to fix the error of stdout capture being missing. I am scheduling couple of tasks, initially they are running fine after couple of iteration it is throwing this error.