# Latest

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

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

**Page:** 697

---

## [nxos\_vpc\_portchannel](https://forum.ansible.com/t/nxos-vpc-portchannel/23407)

<div class="topic-metadata">

**Author:** [@John\_Smith2](https://forum.ansible.com/u/John_Smith2)\
**Replies:** 0\
**Last updated:** [January 8, 2017, 2:44pm UTC](https://forum.ansible.com/t/nxos-vpc-portchannel/23407 "2017-01-08T14:44:30Z")

</div>

Hi, started looking at automation for Cisco Nexus devices. Have a feeling it is a bit too subdivided. An extreme example is “nxos\_vpc\_portchannel” module, making port-channel VPC instead of simple link bundle. IMHO this…

---

## [digital\_ocean module and host\_vars](https://forum.ansible.com/t/digital-ocean-module-and-host-vars/23389)

<div class="topic-metadata">

**Author:** [@ticktockhouse](https://forum.ansible.com/u/ticktockhouse)\
**Replies:** 2\
**Last updated:** [January 8, 2017, 12:13pm UTC](https://forum.ansible.com/t/digital-ocean-module-and-host-vars/23389 "2017-01-08T12:13:58Z")

</div>

Hi All, It looks like I’ve stumbled across a bug with the digital\_ocean module. I’ve been following the digital ocean tutorial here, but I want to parameterise as much as possible. I’m building a role, and this is the …

---

## [ENCOUNTERING MODULE FAILURE Error while using IOS\_template module](https://forum.ansible.com/t/encountering-module-failure-error-while-using-ios-template-module/23397)

<div class="topic-metadata">

**Author:** [@sgampawa](https://forum.ansible.com/u/sgampawa)\
**Replies:** 2\
**Last updated:** [January 8, 2017, 9:45am UTC](https://forum.ansible.com/t/encountering-module-failure-error-while-using-ios-template-module/23397 "2017-01-08T09:45:24Z")

</div>

Hello, I am writing simple playbook to add configuration in Cisco 2800 router using jinja2 templates,Where I am able to generate Configuration file using Template module.But after generating the configuration file i.e. …

---

## [Help with filesystem module and apt\_key](https://forum.ansible.com/t/help-with-filesystem-module-and-apt-key/23403)

<div class="topic-metadata">

**Author:** [@Shyam\_Yenna](https://forum.ansible.com/u/Shyam_Yenna)\
**Replies:** 0\
**Last updated:** [January 7, 2017, 8:47pm UTC](https://forum.ansible.com/t/help-with-filesystem-module-and-apt-key/23403 "2017-01-07T20:47:42Z")

</div>

I am trying to format attached volume of an instances it is throwing an error below. “changed”: false, “failed”: true, “invocation”: { “module\_args”: { “dev”: “/dev/xvdf”, “force”: false, “fstype”: “ext4”, “opts”…

---

## [Using lookup plugin within include\_vars to build file name](https://forum.ansible.com/t/using-lookup-plugin-within-include-vars-to-build-file-name/23391)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 2\
**Last updated:** [January 7, 2017, 6:27pm UTC](https://forum.ansible.com/t/using-lookup-plugin-within-include-vars-to-build-file-name/23391 "2017-01-07T18:27:32Z")

</div>

Running Ansible 2.1.1 I want to dynamically build the variable name for a file I wish to load using “include\_vars.” it doesn’t work using the lookup plugin but the lookup plugin itself does work when I use the “debug” m…

---

## [Callback Plugins capture output when using 'With\_items'](https://forum.ansible.com/t/callback-plugins-capture-output-when-using-with-items/23401)

<div class="topic-metadata">

**Author:** [@Matt4](https://forum.ansible.com/u/Matt4)\
**Replies:** 0\
**Last updated:** [January 6, 2017, 10:15pm UTC](https://forum.ansible.com/t/callback-plugins-capture-output-when-using-with-items/23401 "2017-01-06T22:15:15Z")

</div>

Hi , I have ansible tasks that prints the values in the logs through loop using with-items. Any idea on capturing the output in my custom callback plugin when I use ‘With-items’. If it is a single item, it works perfect…

---

## [how to synchronize files or Dir between different remote hosts?](https://forum.ansible.com/t/how-to-synchronize-files-or-dir-between-different-remote-hosts/23385)

<div class="topic-metadata">

**Author:** [@user117](https://forum.ansible.com/u/user117)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 8:34pm UTC](https://forum.ansible.com/t/how-to-synchronize-files-or-dir-between-different-remote-hosts/23385 "2017-01-06T20:34:33Z")

</div>

how to synchronize files or Dir between different remote hosts? if there are 2 hosts: s1 and s2, and ansible running at s3, how to synchronize dirs on s1 and s2？

---

## [wait\_for\_ip\_address timeout in vmware\_guest module](https://forum.ansible.com/t/wait-for-ip-address-timeout-in-vmware-guest-module/23390)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 2\
**Last updated:** [January 6, 2017, 8:30pm UTC](https://forum.ansible.com/t/wait-for-ip-address-timeout-in-vmware-guest-module/23390 "2017-01-06T20:30:04Z")

</div>

Greetings, I’m seeing evidence that the vmware\_guest module does not wait long enough to get the guest’s new IP. Is there a way to increase the wait time? TASK \[provision\_vm\_and\_set\_ip : Create VM from template\] \*\*\*\*\*\*…

---

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

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

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