# Archives

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

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

**Page:** 526

---

## [Invalid input detected at '^' marker (Ansible 2.2 using ios\_config)](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-using-ios-config/23337)

<div class="topic-metadata">

**Author:** [@Kyle\_Patton](https://forum.ansible.com/u/Kyle_Patton)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 7:21pm UTC](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-using-ios-config/23337 "2017-01-06T19:21:14Z")

</div>

---

## [ios\_command module fails to enter previledge mode](https://forum.ansible.com/t/ios-command-module-fails-to-enter-previledge-mode/23313)

<div class="topic-metadata">

**Author:** [@Eliezer\_Rodriguez](https://forum.ansible.com/u/Eliezer_Rodriguez)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 7:17pm UTC](https://forum.ansible.com/t/ios-command-module-fails-to-enter-previledge-mode/23313 "2017-01-06T19:17:00Z")

</div>

Hi, I’m using the ios\_command and it seems it’s not entering privileged mode, the traceback shows it issuing a “term length 0” commands that fails, because it’s being issued in EXEC mode I believe. The trace follows: A…

---

## [ec2\_eni module should honour description for uniqueness](https://forum.ansible.com/t/ec2-eni-module-should-honour-description-for-uniqueness/23399)

<div class="topic-metadata">

**Author:** [@Vasco\_Figueira](https://forum.ansible.com/u/Vasco_Figueira)\
**Replies:** 0\
**Last updated:** [January 6, 2017, 4:58pm UTC](https://forum.ansible.com/t/ec2-eni-module-should-honour-description-for-uniqueness/23399 "2017-01-06T16:58:07Z")

</div>

Hi, Just filed https://github.com/ansible/ansible/issues/19972 “The ec2\_eni module does not create a new ENI and instead updates the description of an existing ENI that matches its other args. This is important for the…

---

## [Polling URL using 'until' loop - how to get feedback during the loop](https://forum.ansible.com/t/polling-url-using-until-loop-how-to-get-feedback-during-the-loop/23398)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 4:16pm UTC](https://forum.ansible.com/t/polling-url-using-until-loop-how-to-get-feedback-during-the-loop/23398 "2017-01-06T16:16:51Z")

</div>

Hi My playbook imports a backup that takes a while, and that needs to be finished before I continue with the rest. I have created this task: - name: "Poll backup import process" uri: url=http://localhost:8090/setu…

---

## [Install EXE on Windows](https://forum.ansible.com/t/install-exe-on-windows/23376)

<div class="topic-metadata">

**Author:** [@Ansible\_Red](https://forum.ansible.com/u/Ansible_Red)\
**Replies:** 3\
**Last updated:** [January 6, 2017, 8:08am UTC](https://forum.ansible.com/t/install-exe-on-windows/23376 "2017-01-06T08:08:54Z")

</div>

I want to install an EXE on Windows 2016 server. Other tasks (msi, regkey, add user) do work. name: Install setup raw: ‘D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp’ When I execute D:/setup.exe …

---

## [Receiving an error for docker-py when attempting to build a docker image.](https://forum.ansible.com/t/receiving-an-error-for-docker-py-when-attempting-to-build-a-docker-image/23369)

<div class="topic-metadata">

**Author:** [@kyletmanel](https://forum.ansible.com/u/kyletmanel)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 7:47am UTC](https://forum.ansible.com/t/receiving-an-error-for-docker-py-when-attempting-to-build-a-docker-image/23369 "2017-01-06T07:47:37Z")

</div>

I receive the appended error when I use the following ansible command: docker\_image: path=./docker name=url\\container:v7.2.4 tag=7.2.4 push=yes fatal: \[jira-1.corp.inbaytech.com\]: FAILED! =\> {“changed”: false, “failed”…

---

## [ioc\_template Module Failure](https://forum.ansible.com/t/ioc-template-module-failure/23394)

<div class="topic-metadata">

**Author:** [@Shubham\_Gampawar](https://forum.ansible.com/u/Shubham_Gampawar)\
**Replies:** 0\
**Last updated:** [January 6, 2017, 6:44am UTC](https://forum.ansible.com/t/ioc-template-module-failure/23394 "2017-01-06T06:44:14Z")

</div>

Hello, I am using Ansible 2.2 to automate Cisco 2800 router in that I am generating configurations using Jinja2 templates.It is generating configuration file to respective destination folder. when pushing that configura…

---

## [Human-readable and JSON output](https://forum.ansible.com/t/human-readable-and-json-output/23333)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 1:26am UTC](https://forum.ansible.com/t/human-readable-and-json-output/23333 "2017-01-06T01:26:45Z")

</div>

I'd like to get the standard Ansible output on my terminal, but get JSON output to a log file. Is there a way to do that? Setting stdout\_callback to 'json' seems to give me JSON on stdout and nothing in the log file, …

---

## [How to use ignore\_errors and include statement together?](https://forum.ansible.com/t/how-to-use-ignore-errors-and-include-statement-together/23392)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [January 5, 2017, 11:08pm UTC](https://forum.ansible.com/t/how-to-use-ignore-errors-and-include-statement-together/23392 "2017-01-05T23:08:20Z")

</div>

that will only work on dynamic includes include: tasks/{{ worker\_type }}.yml static: no ignore\_errors: yes

---

## [Automatically connecting as different user on later runs after 'root' is disabled](https://forum.ansible.com/t/automatically-connecting-as-different-user-on-later-runs-after-root-is-disabled/23346)

<div class="topic-metadata">

**Author:** [@Greg\_Bell](https://forum.ansible.com/u/Greg_Bell)\
**Replies:** 3\
**Last updated:** [January 5, 2017, 10:50pm UTC](https://forum.ansible.com/t/automatically-connecting-as-different-user-on-later-runs-after-root-is-disabled/23346 "2017-01-05T22:50:45Z")

</div>

Hi, One of my tasks disables root over ssh. Another creates an ‘app’ user that has sudo powers. That means that the way to connect to the host changes after the first run. Is there a smarter way to easily adjust to t…

---

## [Plugins in roles](https://forum.ansible.com/t/plugins-in-roles/14430)

<div class="topic-metadata">

**Author:** [@Jakub\_Warmuz](https://forum.ansible.com/u/Jakub_Warmuz)\
**Replies:** 15\
**Last updated:** [January 5, 2017, 10:09pm UTC](https://forum.ansible.com/t/plugins-in-roles/14430 "2017-01-05T22:09:11Z")

</div>

Sorry if that's been already been discussed... It's currently possible to include modules under \<rolename\>/library and, surprisingly, it's not possible to do the same with plugins, i.e. to put them into the respective…

---

## [Ansible stdout\_lines writes as list syntax \[u'text1',u'text2'\] instead of multiline?](https://forum.ansible.com/t/ansible-stdout-lines-writes-as-list-syntax-utext1-utext2-instead-of-multiline/23342)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 3\
**Last updated:** [January 5, 2017, 9:21pm UTC](https://forum.ansible.com/t/ansible-stdout-lines-writes-as-list-syntax-utext1-utext2-instead-of-multiline/23342 "2017-01-05T21:21:37Z")

</div>

Hello - Assistance requested with stdout\_lines output. I have some tasks that take diff results of two files and then writes the output to a log. Code Snippet: \` name: Gather diff output of deployed changes comman…

---

## [Ansible with Cisco IOS and two steps authentication (Tacacs)](https://forum.ansible.com/t/ansible-with-cisco-ios-and-two-steps-authentication-tacacs/20804)

<div class="topic-metadata">

**Author:** [@Uni1](https://forum.ansible.com/u/Uni1)\
**Replies:** 3\
**Last updated:** [January 5, 2017, 7:39pm UTC](https://forum.ansible.com/t/ansible-with-cisco-ios-and-two-steps-authentication-tacacs/20804 "2017-01-05T19:39:55Z")

</div>

Hi guys I am totally new to Ansible. Could anyone of you please point me to an example on how to use Ansible with two steps authentication? Our network devices access in controlled by Tacas+ and we have to authenticate …

---

## [Iterate through user input data](https://forum.ansible.com/t/iterate-through-user-input-data/23332)

<div class="topic-metadata">

**Author:** [@Ahmed\_Jaad](https://forum.ansible.com/u/Ahmed_Jaad)\
**Replies:** 2\
**Last updated:** [January 5, 2017, 6:50pm UTC](https://forum.ansible.com/t/iterate-through-user-input-data/23332 "2017-01-05T18:50:24Z")

</div>

Im a newbie to ansible, and im trying to write an ansible script which would continuously prompt user to insert data and use the data to perform some tasks until the user decides to end the loop, a shell script serving t…

---

## [concatenate a value with another variable in default filter](https://forum.ansible.com/t/concatenate-a-value-with-another-variable-in-default-filter/23388)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 3\
**Last updated:** [January 5, 2017, 5:05pm UTC](https://forum.ansible.com/t/concatenate-a-value-with-another-variable-in-default-filter/23388 "2017-01-05T17:05:39Z")

</div>

I have the bellow Ansible inventory : \` \[web:children\] web-eu-west web-us-east \[eu:vars\] dc=eu-west \[eu:children\] web-eu-west \[us:vars\] dc=us-east \[us:children\] web-us-east \` The bellow is working fine in m…

---

## [regex\_replace flags](https://forum.ansible.com/t/regex-replace-flags/23386)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [January 5, 2017, 11:38am UTC](https://forum.ansible.com/t/regex-replace-flags/23386 "2017-01-05T11:38:02Z")

</div>

Hi One of my plays tries to do a regex\_replace on the returned content of the uri module, which is HTML with new lines in it. This seems to fail as from the debug output I can see that regex\_replace doesn't do multil…

---

## [Help with package installation playbook](https://forum.ansible.com/t/help-with-package-installation-playbook/23361)

<div class="topic-metadata">

**Author:** [@Cosimo\_Streppone](https://forum.ansible.com/u/Cosimo_Streppone)\
**Replies:** 5\
**Last updated:** [January 5, 2017, 10:09am UTC](https://forum.ansible.com/t/help-with-package-installation-playbook/23361 "2017-01-05T10:09:46Z")

</div>

Hi, have started evaluating ansible playbook functionality to perform simple config management tasks. I have experienced several problems. Tried to get some help on irc, and through web searches, but.. well. I'm here…

---

## [Playbook error "... is not JSON serializable"](https://forum.ansible.com/t/playbook-error-is-not-json-serializable/23378)

<div class="topic-metadata">

**Author:** [@Ep1c\_F4iL](https://forum.ansible.com/u/Ep1c_F4iL)\
**Replies:** 1\
**Last updated:** [January 5, 2017, 9:14am UTC](https://forum.ansible.com/t/playbook-error-is-not-json-serializable/23378 "2017-01-05T09:14:31Z")

</div>

Hi, I am writing a custom module on AIX machines in this case the SUMA command. I have the following error : ansible-playbook test\_suma\_download.yml … An exception occurred during task execution. To see the full tra…

---

## [Variabla variable name, or dynamic variables...](https://forum.ansible.com/t/variabla-variable-name-or-dynamic-variables/23382)

<div class="topic-metadata">

**Author:** [@Christian\_Tardif](https://forum.ansible.com/u/Christian_Tardif)\
**Replies:** 2\
**Last updated:** [January 5, 2017, 2:25am UTC](https://forum.ansible.com/t/variabla-variable-name-or-dynamic-variables/23382 "2017-01-05T02:25:15Z")

</div>

Hi, I’m trying to accomplish something like this. I have a variable defined with register. Let’s call it just json output. That’s a json output from an API. Content look like: { “my.server”: { “not\_after”: “2019-11-…

---

## [docker\_service fails to bring up docker-compose.yml when image has a tag?](https://forum.ansible.com/t/docker-service-fails-to-bring-up-docker-compose-yml-when-image-has-a-tag/23384)

<div class="topic-metadata">

**Author:** [@Gerald\_Spencer1](https://forum.ansible.com/u/Gerald_Spencer1)\
**Replies:** 0\
**Last updated:** [January 5, 2017, 12:27am UTC](https://forum.ansible.com/t/docker-service-fails-to-bring-up-docker-compose-yml-when-image-has-a-tag/23384 "2017-01-05T00:27:51Z")

</div>

As the title states, docker\_service fails when I try to launch a docker-compose file that includes an image tag. The odd thing is that this docker-compose.yml works when I am on the host machine… The task works if I le…

---

## [Latest update to get\_url forces absolute dest url](https://forum.ansible.com/t/latest-update-to-get-url-forces-absolute-dest-url/22812)

<div class="topic-metadata">

**Author:** [@David\_Binney](https://forum.ansible.com/u/David_Binney)\
**Replies:** 1\
**Last updated:** [January 4, 2017, 10:59pm UTC](https://forum.ansible.com/t/latest-update-to-get-url-forces-absolute-dest-url/22812 "2017-01-04T22:59:56Z")

</div>

Hey guys, The latest changes to get\_url has forced the dest path to be absolute. Previously, this was relative, which was simple to maintain, but this change seems to add some complications. Basically, the previous vers…

---

## [Ansible Cloud Module](https://forum.ansible.com/t/ansible-cloud-module/23383)

<div class="topic-metadata">

**Author:** [@Shyam\_Yenna](https://forum.ansible.com/u/Shyam_Yenna)\
**Replies:** 0\
**Last updated:** [January 4, 2017, 10:54pm UTC](https://forum.ansible.com/t/ansible-cloud-module/23383 "2017-01-04T22:54:59Z")

</div>

I am trying to create a role for aws vpc creation. one of the task is to create an elastic ip address and associate that ip address to nat gateway instance. if i run multiple times playbook it is recreating elastic ip bu…

---

## [Does vmware\_migrate\_vmk work for the Management interface (vmk0) ?](https://forum.ansible.com/t/does-vmware-migrate-vmk-work-for-the-management-interface-vmk0/23377)

<div class="topic-metadata">

**Author:** [@Paul\_Angus1](https://forum.ansible.com/u/Paul_Angus1)\
**Replies:** 0\
**Last updated:** [January 4, 2017, 4:37pm UTC](https://forum.ansible.com/t/does-vmware-migrate-vmk-work-for-the-management-interface-vmk0/23377 "2017-01-04T16:37:11Z")

</div>

Hi, I’m trying to migrate the management interfaces of ESXi hosts to dvSwitches. vmware\_migrate\_vmk module complains that the host is not added to the dvSwitch, which would be fair enough if i could add the host withou…

---

## [Install package for point release](https://forum.ansible.com/t/install-package-for-point-release/23344)

<div class="topic-metadata">

**Author:** [@Kevin\_Csuka1](https://forum.ansible.com/u/Kevin_Csuka1)\
**Replies:** 4\
**Last updated:** [January 4, 2017, 12:18pm UTC](https://forum.ansible.com/t/install-package-for-point-release/23344 "2017-01-04T12:18:37Z")

</div>

Actual package name in the repo is package-2.6.12-3.el7.x86\_64. The goal is to install a package with Ansible, to: Ensure the point release is installed, such as package-2.2 Doesn’t install major releases, such …

---

## [MYSQL Connectivity Issue in Ansible](https://forum.ansible.com/t/mysql-connectivity-issue-in-ansible/23372)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 3\
**Last updated:** [January 4, 2017, 11:42am UTC](https://forum.ansible.com/t/mysql-connectivity-issue-in-ansible/23372 "2017-01-04T11:42:10Z")

</div>

Hello, I have the below task mysql\_user: login\_user={{ db\_user\_root }} login\_password={{ db\_pass\_root }} name={{ db\_user }} password={{ db\_pass }} priv=.:ALL,GRANT state=present We’re facing issue on running this, fro…

---

## [Hanging on setup.py process](https://forum.ansible.com/t/hanging-on-setup-py-process/23375)

<div class="topic-metadata">

**Author:** [@David\_Binney](https://forum.ansible.com/u/David_Binney)\
**Replies:** 0\
**Last updated:** [January 4, 2017, 7:15am UTC](https://forum.ansible.com/t/hanging-on-setup-py-process/23375 "2017-01-04T07:15:43Z")

</div>

I am having a problem with all playbooks hanging on the setup.py process even when using localhost. This is probably due to the latest update to seirra but not sure how to resolve. I am running: Osx Sierra : 10.12.3 P…

---

## [Unable to ssh or ping the created ec2 instance](https://forum.ansible.com/t/unable-to-ssh-or-ping-the-created-ec2-instance/23374)

<div class="topic-metadata">

**Author:** [@Chethan\_ARAVIND\_T\_S](https://forum.ansible.com/u/Chethan_ARAVIND_T_S)\
**Replies:** 0\
**Last updated:** [January 4, 2017, 6:06am UTC](https://forum.ansible.com/t/unable-to-ssh-or-ping-the-created-ec2-instance/23374 "2017-01-04T06:06:22Z")

</div>

Hi, I have posted a question in stack overflow and here is the link to my question, Kindly go through it and help me. http://stackoverflow.com/q/41426397/7296189?sem=2 Thanks and Regards, Chethan Aravind

---

## [Blocked by shippable](https://forum.ansible.com/t/blocked-by-shippable/23355)

<div class="topic-metadata">

**Author:** [@Adrian\_Freihofer](https://forum.ansible.com/u/Adrian_Freihofer)\
**Replies:** 2\
**Last updated:** [January 3, 2017, 10:52pm UTC](https://forum.ansible.com/t/blocked-by-shippable/23355 "2017-01-03T22:52:51Z")

</div>

Hi, I tried to place a pull request. Now I’m stucked with a failed test executed by shippable. I cannot see a relation between the failure and my code changes. Is there somebody who could check this? I guess the blocke…

---

## [delegate\_to and delegate\_facts not working as expected](https://forum.ansible.com/t/delegate-to-and-delegate-facts-not-working-as-expected/23370)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 3\
**Last updated:** [January 3, 2017, 8:52pm UTC](https://forum.ansible.com/t/delegate-to-and-delegate-facts-not-working-as-expected/23370 "2017-01-03T20:52:09Z")

</div>

Consider these tasks: \` name: Gather facts about new VM delegate\_to: “{{ new\_vm }}” delegate\_facts: true setup: register: host\_info name: install prereqs delegate\_to: “{{ new\_vm }}” package: name: “{{ item …

---

## [Questions for "Ansible Alternative Directory Structure" with split inventories](https://forum.ansible.com/t/questions-for-ansible-alternative-directory-structure-with-split-inventories/23363)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 5\
**Last updated:** [January 3, 2017, 8:04pm UTC](https://forum.ansible.com/t/questions-for-ansible-alternative-directory-structure-with-split-inventories/23363 "2017-01-03T20:04:05Z")

</div>

Hello - I have a use case where I have two of the same apps installed on one server in a shared Prod-Like/Disaster Recovery (PL/DR) environment. I use Ansible to automate application configuration tasks for each app on …

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

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