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

How to add remote hosts in Ansible AWX/Tower?

I'm setting up Ansible AWX and so far it's been working nicely. Although when I'm trying to add remote hosts (e.g hosts that is NOT localhost) the playbook fails, even though it's possible to ssh from the machine running AWX to the nodes. The node…
Heihade1
  • 79
  • 3
  • 8
0
votes
2 answers

How to add a callback-plugin to AWX docker

Installed AWX docker from here - https://github.com/ansible/awx. I am trying to add a callback-plugin for a specific project as written here -…
Alex_Krug
  • 407
  • 4
  • 9
0
votes
1 answer

How to delete contents in Recycle Bin using Ansible

I'm running a playbook against a Windows VM to delete the contents of the recycle bin and the task runs successfully signifying that a change has been made. However, when looking on the server itself, the contents of the recycle bin still…
fancybard
  • 13
  • 5
0
votes
1 answer

AWX problems: email notifications and inventory from git

I am having trouble configuring email notifications in AWX. I have created this one but it does not work. When making a test this is what I obtain. I have tried changing the file /etc/tower/settings.py in awx_task container and in awx_web container…
Rendan
  • 11
  • 3
0
votes
1 answer

Missing module 'awx.main.db'

Currently trying to install awx on Kubernetes but any command related to awx-manage fails with Error was: No module named 'awx.main.db'. I've tried running these commands manually via -- /bin/bash into the container but get the same error. These are…
Ian Clark
  • 77
  • 1
  • 8
0
votes
1 answer

Ansible AWX Custom Script for Local Inventory Not working

I have an Ansible AWX server setup within a container and have setup all bar Inventory of 3 local LAN virtual machines. I am looking to add some already deployed virtual machines on my LAN for a test case, currently 3 hosts. I was looking at custom…
DeclanG
  • 240
  • 2
  • 6
  • 21
0
votes
1 answer

AWX REST API - List Inventory returning null

Environment: AWX: 3.0.1 Ansible: 2.7.8 Greetings fellows. Having a problem listing organization in AWX via REST API. This is a brand-new installation. What has been done so far: Organization Created Users created Users added to Organization Users…
user2362699
  • 586
  • 6
  • 22
0
votes
2 answers

Ansible: docker env conditional variable

Maybe I am approaching this the wrong way. I just started with Ansible and I couldn't solve this problem lately: So this is a snippet of what I am trying to do: vars: var1: "true" var2: "false" var3: "true" tasks: - name:…
Lauro
  • 3
  • 2
0
votes
1 answer

/bin/sh: apt: command not found", "stderr_lines": ["/bin/sh: apt: command not found"], "stdout": "", "stdout_lines in awx

If Im trying to install any packages from awx console using ansible playbook ,which pull it from git. But its giving the below error in local ubuntu machine. /bin/sh: apt: command not found", "stderr_lines": ["/bin/sh: apt: command not found"],…
nandeesh b
  • 11
  • 1
  • 2
0
votes
1 answer

On ansible-awx, Unable to create a System Administrator after deleting the only one existing

I created an account on Ansible-AWX with username-'admin' with System Administrator privileges. I made 'admin' as Normal User. So my AWX instance does not have any System Admin . Hence I can not give back 'admin' System Admin permissions. How can i…
0
votes
1 answer

AWX (Ansible Tower) LDAP Authentication

I have setup a single node AWX instance (Version 2.1.2) using Docker. Unfortunately the LDAP connection doesn't work through the following error message: WARNING django_auth_ldap Caught LDAPError while authenticating USERNAME: SERVER_DOWN({'info':…
V.Widmer
  • 21
  • 1
  • 5
0
votes
2 answers

Ansible AWX: wrong in Playbook

Following in yaml of Playbook which I am run from AWX Ansible. --- - hosts: all remote_user: root tasks: - copy: content: "My content" dest: "01.txt" But getting following exception:- Cannot parse as JSON (error: No JSON…
Vivek Sable
  • 9,938
  • 3
  • 40
  • 56
0
votes
1 answer

Ansible AWX step fails when using DSL for Jenkins job

I'm running a Jenkins 2.140 server on Ubuntu 16.04 as well as an Ansible AWX 1.0.7.2 server using Ansible 2.6.2. I'm creating a job in Jenkins which runs a template on my Ansible AWX server. I've got several other Jenkins jobs that run templates…
shaneoh
  • 442
  • 2
  • 8
  • 26
0
votes
1 answer

AWX ec2 inventory multi tags filter

Hey guys just finished setting up my awx server, need some help with the instance filter. Is there a way to filter based on multiple tags like on ansible I used the ec2.py and on hosts it was like tag_App_myapp:&tag_Env_staging is there a way to…
Rodrigo Kondo
  • 103
  • 1
  • 8
0
votes
0 answers

Install AWX fails with Error while fetching server API version - No such file or directory

I am trying to install AWX from my local to a remote server using the ansible playbook AWX provided. I removed the dockerhub variables to create the images at runtime since the remote server does not have internet connection. Docker is installed and…
AdrianD
  • 43
  • 1
  • 6