# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=294

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 295

---

## [awx/tower api help wanted](https://forum.ansible.com/t/awx-tower-api-help-wanted/30204)

<div class="topic-metadata">

**Author:** [@ATHIRA\_sanoj](https://forum.ansible.com/u/ATHIRA_sanoj)\
**Replies:** 2\
**Last updated:** [April 27, 2019, 6:03pm UTC](https://forum.ansible.com/t/awx-tower-api-help-wanted/30204 "2019-04-27T18:03:52Z")

</div>

Hello Team team i am trying to launch a template with list of variable\_value but task is getting executed only in one target host sample request curl -H "Content-Type: application/json" -X POST -s -u admin:admin123 -d…

---

## [Nagios Module - Scheduling Downtime](https://forum.ansible.com/t/nagios-module-scheduling-downtime/30191)

<div class="topic-metadata">

**Author:** [@Douglas\_Thompson](https://forum.ansible.com/u/Douglas_Thompson)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 8:00pm UTC](https://forum.ansible.com/t/nagios-module-scheduling-downtime/30191 "2019-04-26T20:00:21Z")

</div>

Hello, I’m trying to the Ansible nagios module to schedule downtime. In the documentation it says for ‘host’ to use ‘{{ inventor\_hostname }}’. I’m assuming this is an internal variable that gets the host name from the i…

---

## [Playbook running locally but unable to ssh to host via AWX](https://forum.ansible.com/t/playbook-running-locally-but-unable-to-ssh-to-host-via-awx/30203)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 1\
**Last updated:** [April 26, 2019, 5:23pm UTC](https://forum.ansible.com/t/playbook-running-locally-but-unable-to-ssh-to-host-via-awx/30203 "2019-04-26T17:23:02Z")

</div>

Hello Evreyone, I’m newbie to ansible and awx, I’m now about testing AWX with running the hello project (manually), the problem that the playbook " helloworld.yml" running locally when the host is localhost but it’s fai…

---

## [When condition to check domainName](https://forum.ansible.com/t/when-condition-to-check-domainname/30164)

<div class="topic-metadata">

**Author:** [@Raj5](https://forum.ansible.com/u/Raj5)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 5:08pm UTC](https://forum.ansible.com/t/when-condition-to-check-domainname/30164 "2019-04-26T17:08:05Z")

</div>

Hello, I am running into an issue, this is simple playbook which tries to copy right config file based on Domain name, I tried executing below code snippet it’s skipping the non prod and executing prod, Not sure whats w…

---

## [Mounting a host volume](https://forum.ansible.com/t/mounting-a-host-volume/30188)

<div class="topic-metadata">

**Author:** [@Toby](https://forum.ansible.com/u/Toby)\
**Replies:** 5\
**Last updated:** [April 26, 2019, 4:39pm UTC](https://forum.ansible.com/t/mounting-a-host-volume/30188 "2019-04-26T16:39:47Z")

</div>

Hi all. Hopefully a straightforward question to those that have had more exposure to AWX than I… I have AWX installed, successfully, using local Docker/DB. I am wanting to add a host volume so that I can access certain …

---

## [AWX Setup](https://forum.ansible.com/t/awx-setup/30202)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 3:27pm UTC](https://forum.ansible.com/t/awx-setup/30202 "2019-04-26T15:27:13Z")

</div>

Hey all, has anyone out there ever setup AWX? How much different is it than tower? If you have set this up, do you have a good step-by-step instructions?

---

## [Ansible engine](https://forum.ansible.com/t/ansible-engine/30199)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 4\
**Last updated:** [April 26, 2019, 3:09pm UTC](https://forum.ansible.com/t/ansible-engine/30199 "2019-04-26T15:09:51Z")

</div>

Hi Team, I understand Ansible tower has capability to set up high availability. Can anyone let me know if Ansible engine has high availability setup? If so can you share sample architecture diagram. thanks Pushparaj

---

## [Trying to distribute Desktop Central agent to linux servers - prompt for 'reinstall' is teasing me, trying with 'expect'](https://forum.ansible.com/t/trying-to-distribute-desktop-central-agent-to-linux-servers-prompt-for-reinstall-is-teasing-me-trying-with-expect/30198)

<div class="topic-metadata">

**Author:** [@Kenneth\_Fribert](https://forum.ansible.com/u/Kenneth_Fribert)\
**Replies:** 1\
**Last updated:** [April 26, 2019, 1:45pm UTC](https://forum.ansible.com/t/trying-to-distribute-desktop-central-agent-to-linux-servers-prompt-for-reinstall-is-teasing-me-trying-with-expect/30198 "2019-04-26T13:45:57Z")

</div>

Hi All I’ve made a small playbook, that installs pip, and pexpect on our target servers, as I was thinking I needed to use the expect in the playbook. So the yaml looks like this: name: Installing Desktop Central Age…

---

## ["msg": "SSH Error: data could not be sent to remote host](https://forum.ansible.com/t/msg-ssh-error-data-could-not-be-sent-to-remote-host/30174)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 11:29am UTC](https://forum.ansible.com/t/msg-ssh-error-data-could-not-be-sent-to-remote-host/30174 "2019-04-26T11:29:11Z")

</div>

Hi Team, I am getting below error while trying to connect or ping cisco 3750. “msg”: "SSH Error: data could not be sent to remote host . please help thanks Pushparaj

---

## [Ansible not checking the hostname](https://forum.ansible.com/t/ansible-not-checking-the-hostname/30197)

<div class="topic-metadata">

**Author:** [@Shan\_Mugarajan](https://forum.ansible.com/u/Shan_Mugarajan)\
**Replies:** 8\
**Last updated:** [April 26, 2019, 10:26am UTC](https://forum.ansible.com/t/ansible-not-checking-the-hostname/30197 "2019-04-26T10:26:41Z")

</div>

I have create a yml to show the username /hostname and touch a file. It it not connecting to the remote host rather does everything locally. ping-pong: ansible fim-server -m ping clsadanan06 | SUCCESS =\> { “changed”:…

---

## [win\_copy error doesnt state what is the issue](https://forum.ansible.com/t/win-copy-error-doesnt-state-what-is-the-issue/30168)

<div class="topic-metadata">

**Author:** [@Eric\_Tan](https://forum.ansible.com/u/Eric_Tan)\
**Replies:** 1\
**Last updated:** [April 26, 2019, 8:14am UTC](https://forum.ansible.com/t/win-copy-error-doesnt-state-what-is-the-issue/30168 "2019-04-26T08:14:13Z")

</div>

Hi all, I have followed the instructions on Ansible docs on how to do a windows copy from local linux to remote windows. https://docs.ansible.com/ansible/latest/modules/win\_copy\_module.html However i encounter error w…

---

## [Complex dictionary access](https://forum.ansible.com/t/complex-dictionary-access/30190)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 2\
**Last updated:** [April 25, 2019, 7:36pm UTC](https://forum.ansible.com/t/complex-dictionary-access/30190 "2019-04-25T19:36:44Z")

</div>

I have a dictionary structure that looks like the following: myservers: DC1: CORE: 10.10.10.20 DMZ: 10.10.20.20 DC2: CORE: 10.10.10.30.20 DMZ: 10.10.10.40.20 DC3: CORE: …

---

## [New Ansible release, 2.8.0rc1](https://forum.ansible.com/t/new-ansible-release-2-8-0rc1/30193)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 25, 2019, 7:12pm UTC](https://forum.ansible.com/t/new-ansible-release-2-8-0rc1/30193 "2019-04-25T19:12:02Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.0rc1 is now available! How do you get it?

---

## [Unable to install from http/s sources using AWX 3.0.1](https://forum.ansible.com/t/unable-to-install-from-http-s-sources-using-awx-3-0-1/30192)

<div class="topic-metadata">

**Author:** [@CV1](https://forum.ansible.com/u/CV1)\
**Replies:** 0\
**Last updated:** [April 25, 2019, 7:10pm UTC](https://forum.ansible.com/t/unable-to-install-from-http-s-sources-using-awx-3-0-1/30192 "2019-04-25T19:10:59Z")

</div>

I am using ansible to install .exe files on windows machines. From CLI ansible (2.7.5), the module “win\_package” works largely as expected. The exe files are correctly installed after manual verification (IE I can launch…

---

## [tower-cli installation in AWX](https://forum.ansible.com/t/tower-cli-installation-in-awx/30159)

<div class="topic-metadata">

**Author:** [@M\_Ghaleb](https://forum.ansible.com/u/M_Ghaleb)\
**Replies:** 4\
**Last updated:** [April 25, 2019, 6:23pm UTC](https://forum.ansible.com/t/tower-cli-installation-in-awx/30159 "2019-04-25T18:23:12Z")

</div>

Dear All, I’ve installed AWX on K8s and I can see a Pod called awx-0 with 4 containers in it: awx\_web awx\_task awx\_rabbitmq memcached on which one should I install Tower-Cli? do you have a link for a step by step on …

---

## [Ansible 2.7 reboot plugin trouble](https://forum.ansible.com/t/ansible-2-7-reboot-plugin-trouble/30186)

<div class="topic-metadata">

**Author:** [@jim.leu](https://forum.ansible.com/u/jim.leu)\
**Replies:** 1\
**Last updated:** [April 25, 2019, 3:15pm UTC](https://forum.ansible.com/t/ansible-2-7-reboot-plugin-trouble/30186 "2019-04-25T15:15:05Z")

</div>

Hello, I’m trying to implement a playbook that utilizes the reboot plugin to reboot a node after some changes. The node successfully reboots, bu the task never finishes. Here is the task stanza for it name: Reboot i…

---

## [sudo via ansible not working](https://forum.ansible.com/t/sudo-via-ansible-not-working/30185)

<div class="topic-metadata">

**Author:** [@Shan\_Mugarajan](https://forum.ansible.com/u/Shan_Mugarajan)\
**Replies:** 4\
**Last updated:** [April 25, 2019, 2:50pm UTC](https://forum.ansible.com/t/sudo-via-ansible-not-working/30185 "2019-04-25T14:50:10Z")

</div>

ansible-playbook playbooks/install/fim/VERIFICATION.yml --ask-become-pass -vvv Playbook:

---

## [ANSIBLE PROBLEM !!!](https://forum.ansible.com/t/ansible-problem/30184)

<div class="topic-metadata">

**Author:** [@arminm.zira](https://forum.ansible.com/u/arminm.zira)\
**Replies:** 2\
**Last updated:** [April 25, 2019, 8:40am UTC](https://forum.ansible.com/t/ansible-problem/30184 "2019-04-25T08:40:21Z")

</div>

Hy guys.I have a big problem.Actually, i have to install ansible on oracle linux 7, and thats ok.I succeed.I have to create jenkins-ansible job which will make the start and stop the Listener on remote server. My ansibl…

---

## [set\_fact not working with when condition](https://forum.ansible.com/t/set-fact-not-working-with-when-condition/30183)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [April 24, 2019, 10:15pm UTC](https://forum.ansible.com/t/set-fact-not-working-with-when-condition/30183 "2019-04-24T22:15:52Z")

</div>

I have a role, and in the defaults/main.yml I have the following variable set: \`

---

## [Installing packages from variable](https://forum.ansible.com/t/installing-packages-from-variable/30004)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 5\
**Last updated:** [April 24, 2019, 10:14pm UTC](https://forum.ansible.com/t/installing-packages-from-variable/30004 "2019-04-24T22:14:39Z")

</div>

I am installing packages from a variable, which works fine with yum; however, with apt I am having issues unless I change the format of the variable. Perhaps apt still allows you to use “with\_items” unlike yum (which com…

---

## [IaS and microservices deployment on AWS with Ansible](https://forum.ansible.com/t/ias-and-microservices-deployment-on-aws-with-ansible/30182)

<div class="topic-metadata">

**Author:** [@mwilcock1984](https://forum.ansible.com/u/mwilcock1984)\
**Replies:** 0\
**Last updated:** [April 24, 2019, 9:42pm UTC](https://forum.ansible.com/t/ias-and-microservices-deployment-on-aws-with-ansible/30182 "2019-04-24T21:42:10Z")

</div>

Hi, I’m just getting started with Ansible and working on a new project and was wondering if people could share their experiences with me on deploying microservices on AWS using Ansible? I’m deploying AWS infrastructure…

---

## [Problem running job template](https://forum.ansible.com/t/problem-running-job-template/30181)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [April 24, 2019, 9:29pm UTC](https://forum.ansible.com/t/problem-running-job-template/30181 "2019-04-24T21:29:52Z")

</div>

Hi Dear, I use RedHat Ansible Tower (AWX Enterprise) and problem when create job\_template by curl. My Curl is: ‘curl -H “Content-Type:application/json” -s -k -X POST -u user\_tower:pass\_tower -d @launch\_template.json h…

---

## [Failure to winrm authenticate against Windows7 after months of working?](https://forum.ansible.com/t/failure-to-winrm-authenticate-against-windows7-after-months-of-working/30180)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 0\
**Last updated:** [April 24, 2019, 8:32pm UTC](https://forum.ansible.com/t/failure-to-winrm-authenticate-against-windows7-after-months-of-working/30180 "2019-04-24T20:32:10Z")

</div>

I have a Windows7 computer that last month I took offline and replaced with Windows10 system with a different name. I as using Ansible + winrm with no problems on this Windows7 system. Power this Windows7 system up and…

---

## [Quick question : Is there any oneline ad-hoc ansible for copy the file.txt from host1 (src) to host2 (dest) ?](https://forum.ansible.com/t/quick-question-is-there-any-oneline-ad-hoc-ansible-for-copy-the-file-txt-from-host1-src-to-host2-dest/30130)

<div class="topic-metadata">

**Author:** [@Kylix\_Kumar](https://forum.ansible.com/u/Kylix_Kumar)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 7:43pm UTC](https://forum.ansible.com/t/quick-question-is-there-any-oneline-ad-hoc-ansible-for-copy-the-file-txt-from-host1-src-to-host2-dest/30130 "2019-04-24T19:43:49Z")

</div>

Quick question : Is there any oneline ad-hoc ansible for copy the file.txt from host1 (src) to host2 (dest) ?

---

## [Pick a variable based on if another variable is set](https://forum.ansible.com/t/pick-a-variable-based-on-if-another-variable-is-set/30179)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 7:40pm UTC](https://forum.ansible.com/t/pick-a-variable-based-on-if-another-variable-is-set/30179 "2019-04-24T19:40:12Z")

</div>

I want to add a var of testing to my playbook, and when that var is set to true i want var1 to be used but if its nor set to true, i want it to use var2. Is this possible? below is a non working example but I hope it il…

---

## [AWX 3.0.1 stopped showing job outputs](https://forum.ansible.com/t/awx-3-0-1-stopped-showing-job-outputs/30176)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 6:32pm UTC](https://forum.ansible.com/t/awx-3-0-1-stopped-showing-job-outputs/30176 "2019-04-24T18:32:50Z")

</div>

We have AWX 3.0.1 running in the Docker containers. The database is installed on a separate server. Everything worked just fine for a month or so. Starting a few days ago I’ve noticed job outputs are missing and when I d…

---

## [API Gateway Request/Response mappings](https://forum.ansible.com/t/api-gateway-request-response-mappings/30177)

<div class="topic-metadata">

**Author:** [@Artem\_Cobalt](https://forum.ansible.com/u/Artem_Cobalt)\
**Replies:** 0\
**Last updated:** [April 24, 2019, 5:52pm UTC](https://forum.ansible.com/t/api-gateway-request-response-mappings/30177 "2019-04-24T17:52:48Z")

</div>

How do I specify a request/response mapping in ansible? For Gateway-Lambda interaction to work I need to extract query parameters and insert them into the body of the POST request.

---

## [AWX across separate networks - which solution?](https://forum.ansible.com/t/awx-across-separate-networks-which-solution/25704)

<div class="topic-metadata">

**Author:** [@Robin\_Miller](https://forum.ansible.com/u/Robin_Miller)\
**Replies:** 11\
**Last updated:** [April 24, 2019, 5:50pm UTC](https://forum.ansible.com/t/awx-across-separate-networks-which-solution/25704 "2019-04-24T17:50:58Z")

</div>

Was wondering if anyone here had suggestions/opinions on sharing one AWX database between two AWS regions - ie. separate networks where by default there’s no IP routing between them (in my case we ca assume no IP conflic…

---

## [loop and variables](https://forum.ansible.com/t/loop-and-variables/30162)

<div class="topic-metadata">

**Author:** [@mvmpedro](https://forum.ansible.com/u/mvmpedro)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 3:48pm UTC](https://forum.ansible.com/t/loop-and-variables/30162 "2019-04-24T15:48:13Z")

</div>

Hi guys, How are you? I am new at Ansible and doing some great stuffs until now. I have those variables: asm\_disks: { device: ‘sdc’, asm\_disk\_name: ‘ASM\_GRID01’, asm\_diskgroup: ‘GRID01’, asm\_redundancy: ‘NORMAL’, …

---

## [Mobile alerts for oncall paging system](https://forum.ansible.com/t/mobile-alerts-for-oncall-paging-system/30173)

<div class="topic-metadata">

**Author:** [@Vinu\_Vajravel](https://forum.ansible.com/u/Vinu_Vajravel)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 3:08pm UTC](https://forum.ansible.com/t/mobile-alerts-for-oncall-paging-system/30173 "2019-04-24T15:08:42Z")

</div>

Dear Folks , In my organisation we are supporting on call for all major issues .We used Air watch and it was fine after that we moved to Microsoft Outlook where in we have some discrepancy in alerting (i mean for notifi…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=293)

[Next page](https://forum.ansible.com/c/archives/31.md?page=295)
