# Latest

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

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

**Page:** 782

---

## [Handling Windows Local Admin Passwords in Ansible?](https://forum.ansible.com/t/handling-windows-local-admin-passwords-in-ansible/19801)

<div class="topic-metadata">

**Author:** [@Joel\_Thompson](https://forum.ansible.com/u/Joel_Thompson)\
**Replies:** 5\
**Last updated:** [March 15, 2016, 4:38pm UTC](https://forum.ansible.com/t/handling-windows-local-admin-passwords-in-ansible/19801 "2016-03-15T16:38:50Z")

</div>

Hi Everyone, I wanted to hear your thoughts about some of the pain points I’ve seen around handling Windows local admin passwords in Ansible. My primary use case is with AWS, though many of these concepts would apply be…

---

## [Enable Private networking through ansible in digital neworking](https://forum.ansible.com/t/enable-private-networking-through-ansible-in-digital-neworking/20873)

<div class="topic-metadata">

**Author:** [@Murugan\_Pandian](https://forum.ansible.com/u/Murugan_Pandian)\
**Replies:** 0\
**Last updated:** [March 15, 2016, 12:20pm UTC](https://forum.ansible.com/t/enable-private-networking-through-ansible-in-digital-neworking/20873 "2016-03-15T12:20:45Z")

</div>

Hi, Private networking is not working through ansible in digital networking. I have already raised this issue in github. https://github.com/ansible/ansible/issues/14919. the link for the github issue. Let me know the…

---

## [https://github.com/ansible/ansible/issues/13818 - templates broken in 2.0.1.0](https://forum.ansible.com/t/https-github-com-ansible-ansible-issues-13818-templates-broken-in-2-0-1-0/20872)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 0\
**Last updated:** [March 15, 2016, 12:20pm UTC](https://forum.ansible.com/t/https-github-com-ansible-ansible-issues-13818-templates-broken-in-2-0-1-0/20872 "2016-03-15T12:20:17Z")

</div>

Has the problem in https://github.com/ansible/ansible/issues/13818 been fixed? I'm seeing a failure of the 'templates' module to locate files names in the corresponding 'templates' directory of the associated role. An…

---

## [Dealing with inconsistencies after failed runs](https://forum.ansible.com/t/dealing-with-inconsistencies-after-failed-runs/20810)

<div class="topic-metadata">

**Author:** [@azaghal](https://forum.ansible.com/u/azaghal)\
**Replies:** 3\
**Last updated:** [March 15, 2016, 10:53am UTC](https://forum.ansible.com/t/dealing-with-inconsistencies-after-failed-runs/20810 "2016-03-15T10:53:55Z")

</div>

Hello all, I have been running on occasion into situations where an incomplete run could leave a system in inconsistent state. This has mostly happened in cases where handlers are in use. As an example, let's say you…

---

## [Ansible Tower SCM Credentials for Enterprise Github account](https://forum.ansible.com/t/ansible-tower-scm-credentials-for-enterprise-github-account/20868)

<div class="topic-metadata">

**Author:** [@Bhotu](https://forum.ansible.com/u/Bhotu)\
**Replies:** 1\
**Last updated:** [March 15, 2016, 3:52am UTC](https://forum.ansible.com/t/ansible-tower-scm-credentials-for-enterprise-github-account/20868 "2016-03-15T03:52:36Z")

</div>

I am using github repository for my project in Ansible Tower. Main purpose to use Ansible tower is to run the repository automatically when someone commits any changes to the github file. I am using AWS cluster as an inv…

---

## [How do I use status to assign variables](https://forum.ansible.com/t/how-do-i-use-status-to-assign-variables/20867)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 3\
**Last updated:** [March 15, 2016, 1:48am UTC](https://forum.ansible.com/t/how-do-i-use-status-to-assign-variables/20867 "2016-03-15T01:48:58Z")

</div>

I have a couple of systems that follow a strict hostname schema. For example, depending on the environment, they all follow the same prefix for that environment: For development = dev-server1.domain.tld For testing = t…

---

## [Developing a vars\_plugin](https://forum.ansible.com/t/developing-a-vars-plugin/16182)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 14\
**Last updated:** [March 14, 2016, 10:25pm UTC](https://forum.ansible.com/t/developing-a-vars-plugin/16182 "2016-03-14T22:25:51Z")

</div>

Hi! Anyone have any advice on developing a vars\_plugin? This may sound kinda screwy, but for a chef → ansible transition I need to access data from a chef data\_bag in an ansible play . . . I’m able to get the chef data u…

---

## [How to restore from backup for synchronize module if service fails to start](https://forum.ansible.com/t/how-to-restore-from-backup-for-synchronize-module-if-service-fails-to-start/20865)

<div class="topic-metadata">

**Author:** [@Vikram\_Kone](https://forum.ansible.com/u/Vikram_Kone)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 6:55pm UTC](https://forum.ansible.com/t/how-to-restore-from-backup-for-synchronize-module-if-service-fails-to-start/20865 "2016-03-14T18:55:19Z")

</div>

Hi, I’m new to ansible, so looking for some pointers or samples. I have a directory of monit conf files on my ansible server that I want to send to remote hosts using synchronize module. Once I synchronize the conf di…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/20863)

<div class="topic-metadata">

**Author:** [@Alexey\_Wasilyev1](https://forum.ansible.com/u/Alexey_Wasilyev1)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 6:06pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/20863 "2016-03-14T18:06:35Z")

</div>

Docker 2.0.1.0 How to handle "FAILED! =\> {“failed”: true, “msg”: "ERROR! Timeout (12s) waiting for privilege escalation prompt: “}” , occurred time to time on valid playbooks on different steps?

---

## [Ansible-plugin at Jenkins](https://forum.ansible.com/t/ansible-plugin-at-jenkins/20862)

<div class="topic-metadata">

**Author:** [@ivan\_farre\_Vicente](https://forum.ansible.com/u/ivan_farre_Vicente)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 4:44pm UTC](https://forum.ansible.com/t/ansible-plugin-at-jenkins/20862 "2016-03-14T16:44:46Z")

</div>

Hi, Anyone has experience using this plugin. We have troubles in order to achive use dynamic inventories with AWS. I will appreciate If anyone give us some explanation about how we should use this feature. I don’t know…

---

## [YAML Syntax Error](https://forum.ansible.com/t/yaml-syntax-error/20856)

<div class="topic-metadata">

**Author:** [@Altug\_Tekin](https://forum.ansible.com/u/Altug_Tekin)\
**Replies:** 2\
**Last updated:** [March 14, 2016, 4:32pm UTC](https://forum.ansible.com/t/yaml-syntax-error/20856 "2016-03-14T16:32:36Z")

</div>

Before I start banging my keyboard into the window, I wanted to ask why this task produces a Syntax Error: \` name “cat /etc/shinken/modules/webui.cfg | grep ‘modules auth-cfg-password’” shell: runuser -l shinken -c “…

---

## [Start tomcat](https://forum.ansible.com/t/start-tomcat/20855)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 12\
**Last updated:** [March 14, 2016, 4:06pm UTC](https://forum.ansible.com/t/start-tomcat/20855 "2016-03-14T16:06:45Z")

</div>

Hi folks, Is anybody has an idea how can i resolve that error message? TASK \[tomcat : copy mmc.war to webapps\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[webserver1\] TASK \[tomcat : Set Java\_opts for tomcat\] \*\*\*\*\*\*…

---

## [ansible\_ssh\_user for esp8266 NodeMCU](https://forum.ansible.com/t/ansible-ssh-user-for-esp8266-nodemcu/20860)

<div class="topic-metadata">

**Author:** [@Shreya](https://forum.ansible.com/u/Shreya)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 3:09pm UTC](https://forum.ansible.com/t/ansible-ssh-user-for-esp8266-nodemcu/20860 "2016-03-14T15:09:18Z")

</div>

I’ve been following this tutorial https://www.youtube.com/watch?v=VvuXxzMZHb4 to set up an MQTT server on an AWS EC2 instance to use along with an esp8266 NodeMCU module. Can someone please help me out with the default a…

---

## [win\_chocolatey module with CIFS server](https://forum.ansible.com/t/win-chocolatey-module-with-cifs-server/20859)

<div class="topic-metadata">

**Author:** [@vlamsdoem](https://forum.ansible.com/u/vlamsdoem)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 3:03pm UTC](https://forum.ansible.com/t/win-chocolatey-module-with-cifs-server/20859 "2016-03-14T15:03:48Z")

</div>

Hello, I’m trying to use the win\_chocolate module (on ansible 2.0.1.0) with the source parameter to deploy an application with a nupkg stored on a CIFS server. Here’s my command: ansible windows -m win\_chocolatey -a "n…

---

## [Ansible 2.0 module: ec2\_ami\_copy ec2\_ami](https://forum.ansible.com/t/ansible-2-0-module-ec2-ami-copy-ec2-ami/20858)

<div class="topic-metadata">

**Author:** [@estuble](https://forum.ansible.com/u/estuble)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 2:51pm UTC](https://forum.ansible.com/t/ansible-2-0-module-ec2-ami-copy-ec2-ami/20858 "2016-03-14T14:51:39Z")

</div>

Hey Team, I am having a little trouble with some of the AMI Ansible Modules. Note: have only just started using Ansible 2.0+ It seems that when i use the ec2\_ami\_copy and ec2\_ami(destroy) it is doing it in pairs of 3. …

---

## [run ansible on arbor appliance](https://forum.ansible.com/t/run-ansible-on-arbor-appliance/13997)

<div class="topic-metadata">

**Author:** [@vadud3](https://forum.ansible.com/u/vadud3)\
**Replies:** 7\
**Last updated:** [March 14, 2016, 2:04pm UTC](https://forum.ansible.com/t/run-ansible-on-arbor-appliance/13997 "2016-03-14T14:04:56Z")

</div>

Hi All I am trying to run ansible on arbor appliances. To run ssh remotely and get data from arbor appliance you will need to run it like this $ echo “uname -a; exit” | ssh -qtt atl-col-01 shell uname -a; exit unam…

---

## [Module "os\_image" doesn't have "--location" option, any ideas?](https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849)

<div class="topic-metadata">

**Author:** [@Thiago\_Martins](https://forum.ansible.com/u/Thiago_Martins)\
**Replies:** 1\
**Last updated:** [March 14, 2016, 1:31pm UTC](https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849 "2016-03-14T13:31:09Z")

</div>

Guys, Currently, I have a task that add a bunch of images on Glance, but using shell/command module, like this:

---

## [all values from a YAML dictionary like structure](https://forum.ansible.com/t/all-values-from-a-yaml-dictionary-like-structure/20843)

<div class="topic-metadata">

**Author:** [@Valerio\_Crini](https://forum.ansible.com/u/Valerio_Crini)\
**Replies:** 2\
**Last updated:** [March 14, 2016, 12:04pm UTC](https://forum.ansible.com/t/all-values-from-a-yaml-dictionary-like-structure/20843 "2016-03-14T12:04:14Z")

</div>

Hi all, I’d like to extract from a yaml complex dictionary as node: host1: { id: ‘1’ } { id: ‘2’ } all values for ‘id’ for ‘host1’ in order to convert this snipped of code from id\_list: {{ xxx }} in id\_list: ‘1…

---

## [Parametrized notification - question about the concept](https://forum.ansible.com/t/parametrized-notification-question-about-the-concept/20857)

<div class="topic-metadata">

**Author:** [@Tomas\_Kadlec](https://forum.ansible.com/u/Tomas_Kadlec)\
**Replies:** 0\
**Last updated:** [March 14, 2016, 8:35am UTC](https://forum.ansible.com/t/parametrized-notification-question-about-the-concept/20857 "2016-03-14T08:35:39Z")

</div>

Hi, I am playing around with parametrized notifications (handler calls) and I have came to the following questions: 1/ Is it documented somewhere? I did not find anything about the subject in official docs only several…

---

## [Checking file permission using stat.mode](https://forum.ansible.com/t/checking-file-permission-using-stat-mode/20854)

<div class="topic-metadata">

**Author:** [@Joseph\_Gill](https://forum.ansible.com/u/Joseph_Gill)\
**Replies:** 0\
**Last updated:** [March 13, 2016, 4:56pm UTC](https://forum.ansible.com/t/checking-file-permission-using-stat-mode/20854 "2016-03-13T16:56:56Z")

</div>

Would anyone have the syntax of stat.mode? I’m trying to check the permissions of a file using ansible 1.9.4 but I’'m getting the error: fatal: \[USSLTCSNL5039.solutions.glbsnet.com\] =\> error while evaluating conditional…

---

## [Copying file from remote host to another remote host](https://forum.ansible.com/t/copying-file-from-remote-host-to-another-remote-host/20853)

<div class="topic-metadata">

**Author:** [@Danishka\_Navin](https://forum.ansible.com/u/Danishka_Navin)\
**Replies:** 0\
**Last updated:** [March 13, 2016, 4:41pm UTC](https://forum.ansible.com/t/copying-file-from-remote-host-to-another-remote-host/20853 "2016-03-13T16:41:22Z")

</div>

Hi, I am new to Ansible, and I use Ansible 2.0.1.0 on CentOS 6.x. I need to copy a file from ServerA to Serverb (both are remote systems). I used following code block. Ansible host, ServerA, ServerB has same private k…

---

## [conditional handlers?](https://forum.ansible.com/t/conditional-handlers/20852)

<div class="topic-metadata">

**Author:** [@rob](https://forum.ansible.com/u/rob)\
**Replies:** 0\
**Last updated:** [March 12, 2016, 10:58pm UTC](https://forum.ansible.com/t/conditional-handlers/20852 "2016-03-12T22:58:49Z")

</div>

A common issue I run into is, depending on group or host vars, I might make a configuration change to say php.ini or add php modules and want to reload relevant php services that arent always the same - this might be res…

---

## [Having trouble with running commands as pbrun escalation method](https://forum.ansible.com/t/having-trouble-with-running-commands-as-pbrun-escalation-method/20837)

<div class="topic-metadata">

**Author:** [@Akash\_Mondal](https://forum.ansible.com/u/Akash_Mondal)\
**Replies:** 2\
**Last updated:** [March 12, 2016, 4:10am UTC](https://forum.ansible.com/t/having-trouble-with-running-commands-as-pbrun-escalation-method/20837 "2016-03-12T04:10:59Z")

</div>

anybody had success with running basic commands using pbrun escalation method? For example I tried below command but it is not working for me. ansible testserv -i /etc/ansible/testserv -a “uptime” -u someuser -k --becom…

---

## [How do you validate the Yaml file before Ansible it?](https://forum.ansible.com/t/how-do-you-validate-the-yaml-file-before-ansible-it/12361)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [March 12, 2016, 2:30am UTC](https://forum.ansible.com/t/how-do-you-validate-the-yaml-file-before-ansible-it/12361 "2016-03-12T02:30:09Z")

</div>

ansible-playbook has a --check-syntax option. In 1.1, it's a little smarter, and there is a --list-tasks to go along with --list-hosts.

---

## ["sudo: a password is required" error in Ansible v2](https://forum.ansible.com/t/sudo-a-password-is-required-error-in-ansible-v2/20848)

<div class="topic-metadata">

**Author:** [@Lakshmi\_Narasimhan\_P](https://forum.ansible.com/u/Lakshmi_Narasimhan_P)\
**Replies:** 0\
**Last updated:** [March 11, 2016, 11:31pm UTC](https://forum.ansible.com/t/sudo-a-password-is-required-error-in-ansible-v2/20848 "2016-03-11T23:31:53Z")

</div>

Hi, I’m running an ansible 2 playbook against an EC2 inventory. It installs wordpress and apache on an EC2 instance. Here’s the command I used: $ ansible-playbook -i ec2.py site.yml I get this error: \` PLAY \[insta…

---

## [The pexpect python module is required for Ansible 2.0](https://forum.ansible.com/t/the-pexpect-python-module-is-required-for-ansible-2-0/20847)

<div class="topic-metadata">

**Author:** [@Debabrat\_panda](https://forum.ansible.com/u/Debabrat_panda)\
**Replies:** 1\
**Last updated:** [March 11, 2016, 9:14pm UTC](https://forum.ansible.com/t/the-pexpect-python-module-is-required-for-ansible-2-0/20847 "2016-03-11T21:14:48Z")

</div>

Hi There, I am using ‘expect’ module in my ymal. Before using this, I install ‘pip install pexpect’. And, ran the ansible-playbook command and got this error. FAILED! =\> {“changed”: false, “failed”: true, “invocation…

---

## [Deploy multiple copies of an application to a single host](https://forum.ansible.com/t/deploy-multiple-copies-of-an-application-to-a-single-host/20846)

<div class="topic-metadata">

**Author:** [@Austin\_Little](https://forum.ansible.com/u/Austin_Little)\
**Replies:** 0\
**Last updated:** [March 11, 2016, 8:21pm UTC](https://forum.ansible.com/t/deploy-multiple-copies-of-an-application-to-a-single-host/20846 "2016-03-11T20:21:41Z")

</div>

Hey all, I’m coming from the Puppet world and learning (and loving!) more about Ansible. I’m curious how others would go about deploying a variable number of copies of an application to a given host? In the Puppet worl…

---

## [ansible-playbook exits if host list empty, even if later plays could still run](https://forum.ansible.com/t/ansible-playbook-exits-if-host-list-empty-even-if-later-plays-could-still-run/16214)

<div class="topic-metadata">

**Author:** [@varhus](https://forum.ansible.com/u/varhus)\
**Replies:** 6\
**Last updated:** [March 11, 2016, 7:58pm UTC](https://forum.ansible.com/t/ansible-playbook-exits-if-host-list-empty-even-if-later-plays-could-still-run/16214 "2016-03-11T19:58:30Z")

</div>

Given the following inventory: \` \[common:children\] groupA groupB \[groupA\] hostA \[groupB\] hostB \` And the following playbook (site.yml): \` (attachments)0001-playbook-should-continue-to-the-next-play-even-if-th…

---

## [overhaul of unarchive module](https://forum.ansible.com/t/overhaul-of-unarchive-module/19899)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin](https://forum.ansible.com/u/Dylan_Martin)\
**Replies:** 12\
**Last updated:** [March 11, 2016, 7:05pm UTC](https://forum.ansible.com/t/overhaul-of-unarchive-module/19899 "2016-03-11T19:05:25Z")

</div>

Hi all, I’m the original author of the unarchive module and I think I need to give it an overhaul. I wanted to mention it before I got started in case anyone had comments/ideas. I’ve been having the same conversation in …

---

## [create a dir for user if its in group](https://forum.ansible.com/t/create-a-dir-for-user-if-its-in-group/20845)

<div class="topic-metadata">

**Author:** [@Roy](https://forum.ansible.com/u/Roy)\
**Replies:** 0\
**Last updated:** [March 11, 2016, 6:23pm UTC](https://forum.ansible.com/t/create-a-dir-for-user-if-its-in-group/20845 "2016-03-11T18:23:30Z")

</div>

Hi, I was trying following task, to create a user if user is a part on hdfsuser group \` name: create user tmp dir /srv/tmp/$USER on gateway file: path=/srv/tmp/{{ item.name }} owner={{ item.name }} group={{ item.na…

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

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