# Latest

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

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

**Page:** 783

---

## [Execute commands remotely on a ubuntu](https://forum.ansible.com/t/execute-commands-remotely-on-a-ubuntu/20840)

<div class="topic-metadata">

**Author:** [@Vamberto\_Junior](https://forum.ansible.com/u/Vamberto_Junior)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 5:59pm UTC](https://forum.ansible.com/t/execute-commands-remotely-on-a-ubuntu/20840 "2016-03-11T17:59:21Z")

</div>

Hi everyone, I am new user on ansible and I have a little difficulty to execute commands remotely on a Ubuntu Server. (Ubuntu don’t accept ssh with user root and the user vamberto can use sudo su - ) My machine is a Fe…

---

## [Arista eos network modules](https://forum.ansible.com/t/arista-eos-network-modules/20836)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 5\
**Last updated:** [March 11, 2016, 5:21pm UTC](https://forum.ansible.com/t/arista-eos-network-modules/20836 "2016-03-11T17:21:31Z")

</div>

Do the eos network modules (2.1) accurately return the ‘changed’ status in check\_mode? In reading the code, it appears as if the value of ‘changed’ has more to do with providing a valid config to push. The result of this…

---

## [support 'until' for blocks](https://forum.ansible.com/t/support-until-for-blocks/20839)

<div class="topic-metadata">

**Author:** [@Alexey\_Wasilyev1](https://forum.ansible.com/u/Alexey_Wasilyev1)\
**Replies:** 1\
**Last updated:** [March 11, 2016, 4:27pm UTC](https://forum.ansible.com/t/support-until-for-blocks/20839 "2016-03-11T16:27:17Z")

</div>

It there any way to run block in the do-until loop? Ansible 2.0.1.0

---

## [Alternative for "command: apt-get autoremove -y"?](https://forum.ansible.com/t/alternative-for-command-apt-get-autoremove-y/20828)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 4:08pm UTC](https://forum.ansible.com/t/alternative-for-command-apt-get-autoremove-y/20828 "2016-03-11T16:08:16Z")

</div>

The apt module has been updated to allow this, it will be available in a 2.1 release

---

## [ec2 dict processing / volume provisioning](https://forum.ansible.com/t/ec2-dict-processing-volume-provisioning/20841)

<div class="topic-metadata">

**Author:** [@hllmt67](https://forum.ansible.com/u/hllmt67)\
**Replies:** 1\
**Last updated:** [March 11, 2016, 3:51pm UTC](https://forum.ansible.com/t/ec2-dict-processing-volume-provisioning/20841 "2016-03-11T15:51:29Z")

</div>

Hi, I am having issues with passing ec2 instance provisioning results to other tasks in a playbook. I can launch instances, and then use " register: ec2 " to register a dictionary of the results. But I cannot seem to…

---

## [F5 datagroup module](https://forum.ansible.com/t/f5-datagroup-module/18807)

<div class="topic-metadata">

**Author:** [@julien\_delaroque](https://forum.ansible.com/u/julien_delaroque)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 12:44pm UTC](https://forum.ansible.com/t/f5-datagroup-module/18807 "2016-03-11T12:44:21Z")

</div>

hello, I create a new module to manage the F5 string DataGroup and additions / deletions members how to publish this version? regards

---

## [fetch\_url, need to get the webpage content on urllib2.HTTPError exception.](https://forum.ansible.com/t/fetch-url-need-to-get-the-webpage-content-on-urllib2-httperror-exception/20749)

<div class="topic-metadata">

**Author:** [@Olivier\_GROSJEANNE](https://forum.ansible.com/u/Olivier_GROSJEANNE)\
**Replies:** 2\
**Last updated:** [March 11, 2016, 6:47am UTC](https://forum.ansible.com/t/fetch-url-need-to-get-the-webpage-content-on-urllib2-httperror-exception/20749 "2016-03-11T06:47:54Z")

</div>

Hi there, I wrote modules to manage Dimension Data Cloud Platform. https://github.com/job-so/ansible.CaaS These modules are working well, and already tested by different users for different use cases. Before proposing…

---

## [Error message](https://forum.ansible.com/t/error-message/20838)

<div class="topic-metadata">

**Author:** [@fgbane](https://forum.ansible.com/u/fgbane)\
**Replies:** 0\
**Last updated:** [March 11, 2016, 2:53am UTC](https://forum.ansible.com/t/error-message/20838 "2016-03-11T02:53:50Z")

</div>

Hi folks, I am running this Ansible which is suppose to run a script located on the specific directory but someway or somehow I am having error: name: Run API gateway command: chdir=/opt/mule/api-gateway-standalone-2…

---

## [Unable to use "os\_keypair" module, while "nova keypair-add" works](https://forum.ansible.com/t/unable-to-use-os-keypair-module-while-nova-keypair-add-works/20698)

<div class="topic-metadata">

**Author:** [@Thiago\_Martins](https://forum.ansible.com/u/Thiago_Martins)\
**Replies:** 2\
**Last updated:** [March 10, 2016, 10:05pm UTC](https://forum.ansible.com/t/unable-to-use-os-keypair-module-while-nova-keypair-add-works/20698 "2016-03-10T22:05:42Z")

</div>

Hey guys! Ansible is AWESOME! :smiley: I’m planning to move away from running “shell:” via Ansible, in favor of native modules, but, it is not working, as follows… Can someone explain to me, why this task works:

---

## [delegate\_to:127.0.0.1 not working when hosts different than localhost](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20832)

<div class="topic-metadata">

**Author:** [@alejandro.gandara](https://forum.ansible.com/u/alejandro.gandara)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 8:00pm UTC](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20832 "2016-03-10T20:00:03Z")

</div>

Hi, I’m facing an issue after upgrading to ansible 2.0.1.0 when waiting for ssh to come up. This task should be executed as local but It is using ssh to connect to the server and been executed from there instead. Does …

---

## [delegate\_to:127.0.0.1 not working when hosts different than localhost](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20833)

<div class="topic-metadata">

**Author:** [@alejandro.gandara](https://forum.ansible.com/u/alejandro.gandara)\
**Replies:** 0\
**Last updated:** [March 10, 2016, 7:59pm UTC](https://forum.ansible.com/t/delegate-to-127-0-0-1-not-working-when-hosts-different-than-localhost/20833 "2016-03-10T19:59:01Z")

</div>

Hi, I’m facing an issue after upgrading to ansible 2.0.1.0 when waiting for ssh to come up. This task should be executed as local but It is using ssh to connect to the server and been executed from there instead. Does …

---

## [Calling a role, but only run tasks that use a certain tag](https://forum.ansible.com/t/calling-a-role-but-only-run-tasks-that-use-a-certain-tag/20814)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 2\
**Last updated:** [March 10, 2016, 5:10pm UTC](https://forum.ansible.com/t/calling-a-role-but-only-run-tasks-that-use-a-certain-tag/20814 "2016-03-10T17:10:53Z")

</div>

Hi all, I think I am not the only one who is being confused by how tags on roles work: - roles: - { role: xyz, tags: 'whatever'} This does \*not\* call only the parts of the role that are tagged 'whatever', instead…

---

## [how to debug 'ERROR! failed to combine variables, expected dicts but got a 'dict' and a 'AnsibleUnicode''](https://forum.ansible.com/t/how-to-debug-error-failed-to-combine-variables-expected-dicts-but-got-a-dict-and-a-ansibleunicode/20830)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 3:52pm UTC](https://forum.ansible.com/t/how-to-debug-error-failed-to-combine-variables-expected-dicts-but-got-a-dict-and-a-ansibleunicode/20830 "2016-03-10T15:52:43Z")

</div>

Hi, I’ve been refactoring an inventory file and moving some things out into group and host vars. When I try and use debug just to check that the inventory file is ok like this: ansible locahost -i bust\_inventory -m de…

---

## [Silent pass of missing handler on notify](https://forum.ansible.com/t/silent-pass-of-missing-handler-on-notify/20829)

<div class="topic-metadata">

**Author:** [@Patrick\_Glomski](https://forum.ansible.com/u/Patrick_Glomski)\
**Replies:** 0\
**Last updated:** [March 10, 2016, 3:33pm UTC](https://forum.ansible.com/t/silent-pass-of-missing-handler-on-notify/20829 "2016-03-10T15:33:52Z")

</div>

With ansible 2.0.1.0, If I call missing handlers / handlers that are not defined, they are silently ignored. Is that expected behavior? If so, is there any way to check existence and force a failure when a handler I decl…

---

## [Can't understand Ansible 2.0 paths logic](https://forum.ansible.com/t/cant-understand-ansible-2-0-paths-logic/20827)

<div class="topic-metadata">

**Author:** [@Florent\_B](https://forum.ansible.com/u/Florent_B)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 2:47pm UTC](https://forum.ansible.com/t/cant-understand-ansible-2-0-paths-logic/20827 "2016-03-10T14:47:52Z")

</div>

Hi everyone, Since upgrade Ansible 2.0, I have a lot of problems with path finding in modules like template or file. Can someone explain me the logic to have this : name: Create temporary folder local\_action: file …

---

## [sudo using local connection](https://forum.ansible.com/t/sudo-using-local-connection/20823)

<div class="topic-metadata">

**Author:** [@stephane](https://forum.ansible.com/u/stephane)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 2:31pm UTC](https://forum.ansible.com/t/sudo-using-local-connection/20823 "2016-03-10T14:31:13Z")

</div>

Hello, I’ve a problem using local connections and delegates. Let’s take that inventory : \[local\] local ansible\_connection=local \[remote\] ahost ansible\_host=ahost.example.com Now, if I execute this playbook :

---

## [Use STS Assumed-Role to query EC2 inventory - Does this work?](https://forum.ansible.com/t/use-sts-assumed-role-to-query-ec2-inventory-does-this-work/17767)

<div class="topic-metadata">

**Author:** [@slikk66](https://forum.ansible.com/u/slikk66)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 12:46pm UTC](https://forum.ansible.com/t/use-sts-assumed-role-to-query-ec2-inventory-does-this-work/17767 "2016-03-10T12:46:52Z")

</div>

Hi guys, don’t kill me. new-ish, to Ansible. I’ve already searched and tried the irc room, no luck so far. Trying to run Asgard playbook from https://github.com/Answers4AWS/netflixoss-ansible. I’ve already gotten ICE wo…

---

## [Use custom "ssh" command ?](https://forum.ansible.com/t/use-custom-ssh-command/20825)

<div class="topic-metadata">

**Author:** [@Florent\_B](https://forum.ansible.com/u/Florent_B)\
**Replies:** 3\
**Last updated:** [March 10, 2016, 12:35pm UTC](https://forum.ansible.com/t/use-custom-ssh-command/20825 "2016-03-10T12:35:58Z")

</div>

Hi, I would like my Ansible to use "autossh" command instead of "ssh" to connect to hosts in inventory. Is there a way to do this ? Thank you.

---

## [Ansible ec2 module reboot options](https://forum.ansible.com/t/ansible-ec2-module-reboot-options/20824)

<div class="topic-metadata">

**Author:** [@Rahul\_Patil](https://forum.ansible.com/u/Rahul_Patil)\
**Replies:** 0\
**Last updated:** [March 10, 2016, 11:21am UTC](https://forum.ansible.com/t/ansible-ec2-module-reboot-options/20824 "2016-03-10T11:21:48Z")

</div>

Hi Team, When reboot option will be added in ec2 module. Best Regards, Rahul Patil

---

## [The term '/bin/sh' is not recognized as the name of a cmdlet - PowerShell](https://forum.ansible.com/t/the-term-bin-sh-is-not-recognized-as-the-name-of-a-cmdlet-powershell/20811)

<div class="topic-metadata">

**Author:** [@Peter\_Daniel](https://forum.ansible.com/u/Peter_Daniel)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 10:22am UTC](https://forum.ansible.com/t/the-term-bin-sh-is-not-recognized-as-the-name-of-a-cmdlet-powershell/20811 "2016-03-10T10:22:28Z")

</div>

I’m testing managing a windows box from an Ubuntu trusty. This WORKS! ansible windows -i inventory/vagrant.ini -m win\_ping -vvv This WORKS too! windows -i inventory/vagrant.ini -m setup -vvv But when i run the actua…

---

## [no\_log will not always hide sensitive data](https://forum.ansible.com/t/no-log-will-not-always-hide-sensitive-data/16966)

<div class="topic-metadata">

**Author:** [@Frederic\_Lemay](https://forum.ansible.com/u/Frederic_Lemay)\
**Replies:** 2\
**Last updated:** [March 10, 2016, 6:06am UTC](https://forum.ansible.com/t/no-log-will-not-always-hide-sensitive-data/16966 "2016-03-10T06:06:12Z")

</div>

Hi, Sometimes playbooks need sensitive information like username/password and you may want to hide it from your log. So you can use the no\_log feature and in most cases, it works. However, using it with with\_items does …

---

## [Dynamic Variables](https://forum.ansible.com/t/dynamic-variables/20819)

<div class="topic-metadata">

**Author:** [@Rodolfo\_Gonzalez\_Rom](https://forum.ansible.com/u/Rodolfo_Gonzalez_Rom)\
**Replies:** 0\
**Last updated:** [March 9, 2016, 11:31pm UTC](https://forum.ansible.com/t/dynamic-variables/20819 "2016-03-09T23:31:24Z")

</div>

Hi i’m able to create dynamic facts but i have a problem using them in other task i set the facts like this: name: set security\_groups facts set\_fact: “{{ item.item.name | replace(‘-’, ‘\_’) }}\_group”: name: “{{ ite…

---

## [Using variables for module parameter names.](https://forum.ansible.com/t/using-variables-for-module-parameter-names/20818)

<div class="topic-metadata">

**Author:** [@David\_Blackburn](https://forum.ansible.com/u/David_Blackburn)\
**Replies:** 0\
**Last updated:** [March 9, 2016, 9:15pm UTC](https://forum.ansible.com/t/using-variables-for-module-parameter-names/20818 "2016-03-09T21:15:01Z")

</div>

I am trying to build a configuration file of default services, the service command doesn’t seem read the variables until the section is executed so I have to prefix the variables with enable/state etc. Is this expected a…

---

## [Ansible installation using pip broken?](https://forum.ansible.com/t/ansible-installation-using-pip-broken/20673)

<div class="topic-metadata">

**Author:** [@angel](https://forum.ansible.com/u/angel)\
**Replies:** 3\
**Last updated:** [March 9, 2016, 9:08pm UTC](https://forum.ansible.com/t/ansible-installation-using-pip-broken/20673 "2016-03-09T21:08:16Z")

</div>

Hi there, I am trying to install Ansible within a Docker container (plain Ubuntu 14.04) to be used as a test environment. The Python version is managed by pyenv, and I am using pip to install Ansible. This is the outpu…

---

## [Problem using nxos\_command module](https://forum.ansible.com/t/problem-using-nxos-command-module/20780)

<div class="topic-metadata">

**Author:** [@Roger\_Gomez](https://forum.ansible.com/u/Roger_Gomez)\
**Replies:** 5\
**Last updated:** [March 9, 2016, 8:48pm UTC](https://forum.ansible.com/t/problem-using-nxos-command-module/20780 "2016-03-09T20:48:07Z")

</div>

I have been trying to test the Cisco NXOS modules and the nxos\_command is failing and I don’t understand why: \` cmd.yml

---

## [Strange behaviour with a wrong conditional](https://forum.ansible.com/t/strange-behaviour-with-a-wrong-conditional/20817)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [March 9, 2016, 8:28pm UTC](https://forum.ansible.com/t/strange-behaviour-with-a-wrong-conditional/20817 "2016-03-09T20:28:09Z")

</div>

Evening everybody, I just noticed something strange: My playbook contains:

---

## [Is there a way to handle the error which occurs when unable to unlock an ansible-vault file?](https://forum.ansible.com/t/is-there-a-way-to-handle-the-error-which-occurs-when-unable-to-unlock-an-ansible-vault-file/20815)

<div class="topic-metadata">

**Author:** [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Replies:** 0\
**Last updated:** [March 9, 2016, 8:07pm UTC](https://forum.ansible.com/t/is-there-a-way-to-handle-the-error-which-occurs-when-unable-to-unlock-an-ansible-vault-file/20815 "2016-03-09T20:07:47Z")

</div>

Hi – I’ve got a playbook with multiple plays. One play depends on ability to unlock an ansible-vault and declares this fact in the var\_files section of the play: a\_playbook.yml - hosts: local vars\_files: - var\_files/…

---

## [Playbook fails on check but runs fine otherwise](https://forum.ansible.com/t/playbook-fails-on-check-but-runs-fine-otherwise/20813)

<div class="topic-metadata">

**Author:** [@Tom\_De\_Blende](https://forum.ansible.com/u/Tom_De_Blende)\
**Replies:** 2\
**Last updated:** [March 9, 2016, 3:19pm UTC](https://forum.ansible.com/t/playbook-fails-on-check-but-runs-fine-otherwise/20813 "2016-03-09T15:19:35Z")

</div>

Hi all, I have a playbook which installs an rpm. The rpm requires input (yikes), so I have written an expect script that is executed. So sadly the yum module is not an option, but it all works fine. I only want to run …

---

## [Running exe file on windows from linux control machine](https://forum.ansible.com/t/running-exe-file-on-windows-from-linux-control-machine/20812)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 1\
**Last updated:** [March 9, 2016, 2:14pm UTC](https://forum.ansible.com/t/running-exe-file-on-windows-from-linux-control-machine/20812 "2016-03-09T14:14:08Z")

</div>

Hi I am trying to install our product on windows machine. I tried “raw” command. It kicks off the install on windows but the install fails in the middle of the execution with “out of memory error” though there is free m…

---

## [using the results of a task include in a until loop](https://forum.ansible.com/t/using-the-results-of-a-task-include-in-a-until-loop/20807)

<div class="topic-metadata">

**Author:** [@H\_Kim](https://forum.ansible.com/u/H_Kim)\
**Replies:** 1\
**Last updated:** [March 9, 2016, 10:28am UTC](https://forum.ansible.com/t/using-the-results-of-a-task-include-in-a-until-loop/20807 "2016-03-09T10:28:32Z")

</div>

Is it possible to use a fact that was set in a include task file in the until condition of the loop? When I try to run the following- the driver\_status is never set until after this entire task has completed. - name: L…

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

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