# Latest

**URL:** https://forum.ansible.com/latest.md?page=465

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

**Page:** 466

---

## ["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…

---

## [Monitoring Tower license usage](https://forum.ansible.com/t/monitoring-tower-license-usage/30175)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 3:00pm UTC](https://forum.ansible.com/t/monitoring-tower-license-usage/30175 "2019-04-24T15:00:43Z")

</div>

My team uses Ansible Tower (the RedHat licensed product) and we track the license usage change day-to-day with this python script. We have two environments, so the system will use the LOGIN\_INFO dictionary to login and r…

---

## [issue: ansible ad-hoc command -u root and -u oracle with -a id giving same output](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171)

<div class="topic-metadata">

**Author:** [@Naren1](https://forum.ansible.com/u/Naren1)\
**Replies:** 6\
**Last updated:** [April 24, 2019, 11:26am UTC](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171 "2019-04-24T11:26:57Z")

</div>

I am expecting “id” command to show the user details passed to “-u \<user name” “id” command to return details of root, oracle, and applmgr users on each run but in below output is showing only one user for all, why ? $…

---

## [ansible skipping ssh setup for grid user](https://forum.ansible.com/t/ansible-skipping-ssh-setup-for-grid-user/30172)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [April 23, 2019, 10:16pm UTC](https://forum.ansible.com/t/ansible-skipping-ssh-setup-for-grid-user/30172 "2019-04-23T22:16:23Z")

</div>

Probably best to ask the maintainers of that specific repository, who should be most familiar with it

---

## [Failing to open socket due to port in unicode type](https://forum.ansible.com/t/failing-to-open-socket-due-to-port-in-unicode-type/30163)

<div class="topic-metadata">

**Author:** [@Doron\_B](https://forum.ansible.com/u/Doron_B)\
**Replies:** 3\
**Last updated:** [April 23, 2019, 8:33pm UTC](https://forum.ansible.com/t/failing-to-open-socket-due-to-port-in-unicode-type/30163 "2019-04-23T20:33:08Z")

</div>

Hi Community, I’m facing some very basic problem. I’m trying to run open telnet session with a device. However, when I’m filling the port dynamically using jinja template, the port is passed as unicode thus I get the fo…

---

## [Ansible & Windows Management](https://forum.ansible.com/t/ansible-windows-management/30152)

<div class="topic-metadata">

**Author:** [@CHARCHOUF\_SABRI](https://forum.ansible.com/u/CHARCHOUF_SABRI)\
**Replies:** 4\
**Last updated:** [April 23, 2019, 8:18pm UTC](https://forum.ansible.com/t/ansible-windows-management/30152 "2019-04-23T20:18:16Z")

</div>

Hi Folks, I’m a new user for Ansible and I would like to get some help from experts. Project: Customer would like to use Ansible to switch OFF hosts on a public cloud \[the public cloud is OpenStack based\] My issue is …

---

## [Start time for Nagios downtime](https://forum.ansible.com/t/start-time-for-nagios-downtime/30090)

<div class="topic-metadata">

**Author:** [@Daniel\_A\_Ramaley](https://forum.ansible.com/u/Daniel_A_Ramaley)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 5:32pm UTC](https://forum.ansible.com/t/start-time-for-nagios-downtime/30090 "2019-04-23T17:32:20Z")

</div>

Hello! I’m looking at documentation for the Nagios module. How does one specify when downtime is supposed to start? I don’t see any way to provide that, just the duration of the outage (which presumably starts “now”?). …

---

## [AWS elastic load balancer rules](https://forum.ansible.com/t/aws-elastic-load-balancer-rules/30170)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 5:00pm UTC](https://forum.ansible.com/t/aws-elastic-load-balancer-rules/30170 "2019-04-23T17:00:51Z")

</div>

Hi - As far as I can tell, it’s not possible to configure AWS application load balancer rules for attributes like HTTP headers via Ansible. Is that correct? If not, does anyone know any examples of how to do this? If i…

---

## [Why does this if block + expression result in an undefined variable error?](https://forum.ansible.com/t/why-does-this-if-block-expression-result-in-an-undefined-variable-error/30091)

<div class="topic-metadata">

**Author:** [@Alex\_Willmer](https://forum.ansible.com/u/Alex_Willmer)\
**Replies:** 3\
**Last updated:** [April 23, 2019, 3:20pm UTC](https://forum.ansible.com/t/why-does-this-if-block-expression-result-in-an-undefined-variable-error/30091 "2019-04-23T15:20:03Z")

</div>

I’ve been trying to understand why I’m getting an undefined variable error, even though the expression in question is surrounded by an if block that evaluates false. This only happens when the if block uses a host group. …

[Previous page](https://forum.ansible.com/latest.md?page=464)

[Next page](https://forum.ansible.com/latest.md?page=466)
