Questions tagged [ansible-tower]

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

Ansible Tower allows users to control access to who can access what, even allowing sharing of SSH credentials without someone being able to transfer those credentials. Inventory can be graphically managed or synced with a wide variety of cloud sources.

Ansible Tower logs jobs, integrates with LDAP, and provides a browsable REST API. Command line tools are available for easy integration with Jenkins. Provisioning callbacks provide support for autoscaling topologies.

69 questions
0
votes
0 answers

For AWX, is it possible to authenticate at the reverse-proxy layer?

I have an AWX set up with an Apache reverse proxy for SSL reasons. I know AWX supports SAML/SSO natively. However, we have a standard SAML set up that we use with multiple other applications, where authentication is done at the Apache layer and the…
Sagar
  • 534
  • 3
  • 7
  • 21
0
votes
2 answers

AWX SSH connection not establishing when running playbook

I am trying to run my first playbook. Running AWX on CentOS8,trying to connect to remote device using SSH. On my remote device I have run ssh-genkey on my device and added the .pub key to authorized_keys file. I have also taken the .pub private key…
0
votes
1 answer

AWX can't find host during provisioning callback

I have recently set up RHEL Satellite and I'm now integrating with our AWX/Ansible Tower implementation. The curl request I'm using is as follows: /usr/bin/curl -k -s --data "host_config_key={REDACTED}"…
ebarrere
  • 330
  • 1
  • 3
  • 15
0
votes
0 answers

AWX: prevent access from outside organizations

After setting up login via Azure AD in AWX, we find that people from other organizations are able to log in, too. After creating an organization map according to…
Marcus Ilgner
  • 21
  • 1
  • 7
0
votes
1 answer

AWX execution environment pip error ResolutionTooDeep: 2000000

I've been building an execution environment for my awx for a while now and never got any kind of problem, but now I am trying to recreate the same EE I created 1 month ago, and it does not work anymore. It used to take just 15 minutes to build the…
Jose
  • 21
  • 1
  • 2
0
votes
2 answers

Why is my Windows 11 host sending connection reset packets to AWX using certificate authentication?

Here is what I have done so far. Installed AWX 2.9 using docker on CentOS. Successfully managing Windows nodes (8,10) through AWX and WinRM using certificate authentication. (No problem here) Recently got a windows 11 node and certificate…
0
votes
1 answer

Load vars based on env in ansible

Team, I have two vars that map to two environments. I want to use them in playbook but only one value should be applied based on env playbook runs on. ex: var = test1 > should be loaded when env1 var = test2 > should be loaded when env2 any hint…
AhmFM
  • 119
  • 5
0
votes
1 answer

Ansible | conditional statements should not include jinja2 templating | when group_name variable

I have a simple ansible main_task.yml file which is looped from a main.yml . inventory.ini [port_22] 192.168.0.189 192.168.0.199 [port_222] 192.168.0.199 [port_888] 192.168.0.200 main_task.yml --- - name: "run this on {{ item }} hosts" debug:…
0
votes
1 answer

AWX: Unable to SSH as root into target host only when using a specific Ansible role

In our AWX environment we have an Ansible role "Nessus Applicaiton" for RHEL 7/RHEL 8. It deploys the Nessus agent application just fine for new RHEL 7 servers, but not for RHEL 8.5 servers as it seems it cannot connect via SSH port 22. We have…
ficestat
  • 101
  • 1
  • 2
0
votes
1 answer

loading additional modules with ansible tower

I'm trying to run a playbook on ansible tower but I'm having issues loading extra modules. I checked the playbook is configured right but it still fails with the message below... [WARNING]: Invalid characters were found in group names but not…
0
votes
0 answers

Assert working in Ansible but not in AWX

I've switched to AWX for my playbooks management and I can't seem to figure out this issue with assert. Here is a role that I've prepared: - name: Run testing environment docker_compose: project_name: "testing" definition: version:…
dywan666
  • 160
  • 8
0
votes
1 answer

Loop through var_files variables in ansible

I have a playbook that calls a role and is supposed to import apache vars for websites. The issue is that when I look into ports.conf I only see the line for website1. Website2 is never called. Any help would be greatly appreciated. --- - hosts:…
Igor
  • 71
  • 1
  • 2
  • 4
0
votes
1 answer

How to increase the awx cli result limit of 25

I'm working with the awx cli (19.1.0) and awx (13.0.0) in an environment with over 100 servers When (e.g.) querying failed or changed results with: awx --conf.host https://my.awx --conf.username myuser --conf.password mypass -k -f human --filter…
MacMartin
  • 368
  • 1
  • 4
  • 17
0
votes
1 answer

Run a remote playbook

I have a situation where I have the AWX repo cloned into the /tmp/ folder on a remote docker swarm container and I am already using ansible playbooks. What I am trying to do is run the playbook I have already and then run the playbook in the AWX…
0
votes
1 answer

How to cache Ansible group and host variables throughout a play

I have a playbook for some hosts which have group variables and host variables that use a custom lookup plugin to extract values from an API endpoint. ansible_user: "{{ lookup(get_value_from_endpoint) }}" One important information in the group…
Lester
  • 597
  • 4
  • 16