Questions tagged [ansible-tower]

Use for questions about programming issues related to the Ansible Tower REST API. Questions about using the Ansible Tower GUI for managing both cloud-based and traditional/hybrid Ansible deployments should be asked on ServerFault.com.

Ansible Tower (formerly ‘AWX’) is a web-based solution that makes Ansible even more easy to use for IT teams of all kinds. It’s designed to be the hub for all of your automation tasks.

Tower allows you 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. It logs all of your jobs, integrates well with LDAP, and has an amazing browsable REST API. Command line tools are available for easy integration with Jenkins as well. Provisioning callbacks provide great support for autoscaling topologies.

Questions about using the Ansible Tower GUI for managing both cloud-based and traditional/hybrid Ansible deployments should be asked on ServerFault.com.

343 questions
-1
votes
1 answer

Executing task after being logged as root in ansible

I am trying to subsequently run a task after I am connected using ssh. I am connecting using this in my playbook - name: connect using password # task 1; this task set/connect me as root expect: command: ssh -o "StrictHostKeyChecking=no"…
user3841581
  • 2,637
  • 11
  • 47
  • 72
-1
votes
1 answer

How to get token from Tower / AWX API?

I'm trying to access AWX API from a script Python. The documentation has the ressource /api/v1/authtoken/ for that, however when visiting the URL: https://myHost/api/v1/authtoken/ It says that it can't find the ressource. I also tried: response =…
Doc
  • 133
  • 1
  • 1
  • 10
-1
votes
1 answer

Elastic.elasticsearch role and Ansible Tower Dynamic Inventory

I am trying to configure Elasticsearch cluster over Ansible using official Elastic Ansible role elastic.elasticsearch. I set up Ansible tower and Dynamic Inventory for my AWS instances. I tagged my instances and have them all grouped in…
-1
votes
2 answers

Ansible - Using or conditional in when:

I have the below code in tasks/main.yml --- - name: Check if service exists. shell: "systemctl status {{ service }}" ignore_errors: yes register: service_exists - name: Enable service and start if it exists. systemd: name: "{{ service…
-1
votes
2 answers

Ansible Local connection script argument path failed to detect

I have a ansible playbook which calls 2 roles. role 1 runs on local, which has a script with arg as file path /tmp/inputfile/input.csv. The playbook looks: - hosts: "{{my_extra_var_IP}}" connection: local roles: - prereq Roles task: - name:…
Niceha
  • 384
  • 2
  • 12
-1
votes
1 answer

Ansible tower-cli on Windows 10 - tower-cli' is not recognized as an internal or external command

From this link: https://github.com/ansible/tower-cli/, you install tower-cli with pip install ansible-tower-cli but when you go to run a command like: tower-cli config host www.myWebsite.com, You get this error: tower-cli' is not recognized as an…
pelican
  • 5,846
  • 9
  • 43
  • 67
-2
votes
1 answer

Ansible 'copy' module failure | 'in atomic_move os.rename(b_src, b_dest) OSError: [Errno 0] Error'

Receiving an error in atomic_move os.rename(b_src, b_dest) OSError: [Errno 0] Error when we try to copy a package from source to destination. This is happening across many nodes while we are trying to deploy the packages via Ansible Tower. Part of…
Akhil S
  • 29
  • 5
-2
votes
1 answer

Ansible Tower: 'extra_vars' with multiple variables are ignored when running with curl in cmd

Can some one tell how to pass multiple extra_vars variables from the command line which will run the Job Template in Tower? I've followed Ansible documentaion…
-2
votes
1 answer

Passing workflow metadata to job template

Is it possible to pass workflow metadata (id,name, status ...) to a job template? Like it is done in notification personalized messages?
-2
votes
2 answers

Ansible tower cannot see playbook in drop down list

I am looking for a way to trigger a git pull or a refresh from source control within ansible tower. The situation is that I have added a playbook in source control, however I cannot see it within ansible tower. Is there a way to trigger a refresh or…
user5544
  • 131
  • 2
  • 9
-3
votes
1 answer

Errno 14 - while installing Ansible Tower : Could not resolve host: releases.ansible.com; Name or service not known

I have followed below steps to install Ansible tower (Offline/without internet) on CentOS (RHEL7): Installed Ansible Downloaded and extracted the offline installation from https://releases.ansible.com/ansible-tower/setup-bundle/ Configured the…
ZIA UR REHMAN
  • 119
  • 12
1 2 3
22
23