# Latest

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

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

**Page:** 724

---

## [YAML and colons -- cannot escape / quote -- need help](https://forum.ansible.com/t/yaml-and-colons-cannot-escape-quote-need-help/22621)

<div class="topic-metadata">

**Author:** [@John\_Leo\_Huetter](https://forum.ansible.com/u/John_Leo_Huetter)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 6:59pm UTC](https://forum.ansible.com/t/yaml-and-colons-cannot-escape-quote-need-help/22621 "2016-09-22T18:59:10Z")

</div>

Hello … I am invoking puppet agent -t from Ansible, and since some puppet non-zero return codes are OK, I am parsing the stdout to look for errors and fail if any errors are seen. In this case, the error string I am lo…

---

## [unable to install exchange 2016 using ansible](https://forum.ansible.com/t/unable-to-install-exchange-2016-using-ansible/22528)

<div class="topic-metadata">

**Author:** [@Chandra\_Pandey](https://forum.ansible.com/u/Chandra_Pandey)\
**Replies:** 10\
**Last updated:** [September 22, 2016, 5:40pm UTC](https://forum.ansible.com/t/unable-to-install-exchange-2016-using-ansible/22528 "2016-09-22T17:40:59Z")

</div>

I get error while installing fresh exchange 2016 server using ansible — ExchangeSetup.log Error Active Directory operation failed on . The supplied credential for ‘ADS\\Chandra Pandey’ is invalid. \[09/12/2016 19:34:45.…

---

## [Docker - how to exec after brining up container](https://forum.ansible.com/t/docker-how-to-exec-after-brining-up-container/22619)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 5:16pm UTC](https://forum.ansible.com/t/docker-how-to-exec-after-brining-up-container/22619 "2016-09-22T17:16:51Z")

</div>

After brining up a docker container name: Docker Container docker: name: superduper image: mycompany/superduper/“{{ git\_hash\_short }}” state: reloaded pull: always command: bash “{{ path\_to\_script }}”/wrapper.sh …

---

## [Limit hosts for nested playbook](https://forum.ansible.com/t/limit-hosts-for-nested-playbook/22610)

<div class="topic-metadata">

**Author:** [@awiddersheim](https://forum.ansible.com/u/awiddersheim)\
**Replies:** 2\
**Last updated:** [September 22, 2016, 4:19pm UTC](https://forum.ansible.com/t/limit-hosts-for-nested-playbook/22610 "2016-09-22T16:19:54Z")

</div>

Is it possible to limit the hosts that run against a nested playbook? For example, I have a site.yml file that includes other playbooks like so:

---

## [Attempting to install elasticsearch plugins results in error "msg: implementation error: unknown type path requested for plugin\_bin"](https://forum.ansible.com/t/attempting-to-install-elasticsearch-plugins-results-in-error-msg-implementation-error-unknown-type-path-requested-for-plugin-bin/22618)

<div class="topic-metadata">

**Author:** [@Sean\_Meacher](https://forum.ansible.com/u/Sean_Meacher)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 3:05pm UTC](https://forum.ansible.com/t/attempting-to-install-elasticsearch-plugins-results-in-error-msg-implementation-error-unknown-type-path-requested-for-plugin-bin/22618 "2016-09-22T15:05:32Z")

</div>

Hi, I’m attempting to automate the creation of elasticsearch nodes via ansible, using the appropriate module. in the yml I have: name: add elasticsearch plugins elasticsearch\_plugin: state=present name=“license” al…

---

## [reconfigure winrm via ansible?](https://forum.ansible.com/t/reconfigure-winrm-via-ansible/22614)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 2:57pm UTC](https://forum.ansible.com/t/reconfigure-winrm-via-ansible/22614 "2016-09-22T14:57:23Z")

</div>

Hi, Has anyone managed to successfully reconfigure winrm remotely via a playbook? I need to up some timeouts and increase the MaxMemoryPerShellMB I know that reconfiguring winrm is one of the things that is specificall…

---

## [Is get\_url resumable ?](https://forum.ansible.com/t/is-get-url-resumable/22617)

<div class="topic-metadata">

**Author:** [@Stuart\_Axon](https://forum.ansible.com/u/Stuart_Axon)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 2:42pm UTC](https://forum.ansible.com/t/is-get-url-resumable/22617 "2016-09-22T14:42:14Z")

</div>

I’m converting a script uses wget -c to be able to resume download of a large file - wget -q --show-progress -c “http://somedistr/somedistro.zip” -P /tmp/myproject Can get\_url resume interrupted downloads in the same w…

---

## [Examples of Multiple Instances of a "thing" on a single box](https://forum.ansible.com/t/examples-of-multiple-instances-of-a-thing-on-a-single-box/22598)

<div class="topic-metadata">

**Author:** [@Nick\_Tkach](https://forum.ansible.com/u/Nick_Tkach)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 1:52pm UTC](https://forum.ansible.com/t/examples-of-multiple-instances-of-a-thing-on-a-single-box/22598 "2016-09-22T13:52:17Z")

</div>

Does anyone know of any good examples of having more than one instance of an app per box? Most examples seem to be grouped into something like web\_servers group has boxes 1,2,3 and has a nice, neat one httpd on 1, one ht…

---

## [Executing python script through ansible keeps saying that Permission denied even though become: yes is specified](https://forum.ansible.com/t/executing-python-script-through-ansible-keeps-saying-that-permission-denied-even-though-become-yes-is-specified/22602)

<div class="topic-metadata">

**Author:** [@Robert\_Grossman](https://forum.ansible.com/u/Robert_Grossman)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 12:48pm UTC](https://forum.ansible.com/t/executing-python-script-through-ansible-keeps-saying-that-permission-denied-even-though-become-yes-is-specified/22602 "2016-09-22T12:48:11Z")

</div>

Hi, I am new to ansible and I have been trying to execute a python script through a task. I have tried the command, script, and shell modules, but ansible is unable to execute this script. If I try using the command mod…

---

## [Ansible 1.9 - how to combine variables from different sources](https://forum.ansible.com/t/ansible-1-9-how-to-combine-variables-from-different-sources/22615)

<div class="topic-metadata">

**Author:** [@P11](https://forum.ansible.com/u/P11)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 11:26am UTC](https://forum.ansible.com/t/ansible-1-9-how-to-combine-variables-from-different-sources/22615 "2016-09-22T11:26:52Z")

</div>

Hi all, so far most of our servers were running RHEL 6. We are going to prepare some RHEL 7 servers soon and I am now trying to rewrite our playbooks to be able cope with different releases of the same OS. There is of…

---

## [Open Source: Usage/Licence/Community Edition?](https://forum.ansible.com/t/open-source-usage-licence-community-edition/22605)

<div class="topic-metadata">

**Author:** [@Dan1](https://forum.ansible.com/u/Dan1)\
**Replies:** 2\
**Last updated:** [September 22, 2016, 9:21am UTC](https://forum.ansible.com/t/open-source-usage-licence-community-edition/22605 "2016-09-22T09:21:49Z")

</div>

Hi, sorry, stupid question… does Open Source here mean that I can use Ansible and build upon it for my business project without buying the product? On the homepage I only find “free trial”, not “community edition”… Th…

---

## [ansible asks for sudo password but local command does not](https://forum.ansible.com/t/ansible-asks-for-sudo-password-but-local-command-does-not/22559)

<div class="topic-metadata">

**Author:** [@Mike\_Michel](https://forum.ansible.com/u/Mike_Michel)\
**Replies:** 5\
**Last updated:** [September 22, 2016, 7:24am UTC](https://forum.ansible.com/t/ansible-asks-for-sudo-password-but-local-command-does-not/22559 "2016-09-22T07:24:15Z")

</div>

Hi, i am having trouble to execute a command which needs sudo on the remote host. when i execute it directly on the host with sudo there is no ask for password but when using ansible it fails with "sudo: a password is r…

---

## [lookup and default value](https://forum.ansible.com/t/lookup-and-default-value/22511)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 3\
**Last updated:** [September 22, 2016, 7:20am UTC](https://forum.ansible.com/t/lookup-and-default-value/22511 "2016-09-22T07:20:45Z")

</div>

Hello, Is there a way to set a default value when using the lookup module for a csv file. Case 1: Here is the csv file: OPENHRPORT;;;;;; I would like to set the ‘1’ value if the value in the csv file is not specifie…

---

## [win\_service play fails when run without an optional parameter](https://forum.ansible.com/t/win-service-play-fails-when-run-without-an-optional-parameter/22429)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 3\
**Last updated:** [September 22, 2016, 7:02am UTC](https://forum.ansible.com/t/win-service-play-fails-when-run-without-an-optional-parameter/22429 "2016-09-22T07:02:43Z")

</div>

All, I’m running version 2.1.1, and have a very simple play to restart a service on my Win2k8 and Win2k12 servers:

---

## [SCVMM and Hyper-V modules](https://forum.ansible.com/t/scvmm-and-hyper-v-modules/22599)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 6:54am UTC](https://forum.ansible.com/t/scvmm-and-hyper-v-modules/22599 "2016-09-22T06:54:06Z")

</div>

Is there any demand for modules to service Microsoft System Centre Virtual Machine Manager or Hyper-V?

---

## [tomcat is not getting started using ansible](https://forum.ansible.com/t/tomcat-is-not-getting-started-using-ansible/19253)

<div class="topic-metadata">

**Author:** [@Irfan\_Sayed](https://forum.ansible.com/u/Irfan_Sayed)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 4:10am UTC](https://forum.ansible.com/t/tomcat-is-not-getting-started-using-ansible/19253 "2016-09-22T04:10:48Z")

</div>

Hi, I am learning ansible. i have download the standalone tomcat example : https://github.com/ansible/ansible-examples/tree/master/tomcat-standalone. i am able to successfully deploy the tomcat/java and other tasks. h…

---

## [Too long inventory file location causing ansible error.](https://forum.ansible.com/t/too-long-inventory-file-location-causing-ansible-error/22611)

<div class="topic-metadata">

**Author:** [@Jerome\_Lulu](https://forum.ansible.com/u/Jerome_Lulu)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 2:46am UTC](https://forum.ansible.com/t/too-long-inventory-file-location-causing-ansible-error/22611 "2016-09-22T02:46:11Z")

</div>

if the file path of the inventory file is too long, I am getting this error. I am using ansible 2.1.1.0. Is this a bug on these release? ERROR! Unexpected Exception: ‘AnsibleLoader’ object has no attribute ‘get\_single\_d…

---

## [Failed to validate the SSL certificate for deb.nodesource.com:443](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-deb-nodesource-com-443/22601)

<div class="topic-metadata">

**Author:** [@Yuri\_Kanivetsky](https://forum.ansible.com/u/Yuri_Kanivetsky)\
**Replies:** 2\
**Last updated:** [September 21, 2016, 9:36pm UTC](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-deb-nodesource-com-443/22601 "2016-09-21T21:36:53Z")

</div>

Hi, For some reason, ansible fails to install nodesource’s apt key on ubuntu/trusty. It seem to worked about a month ago or so (if I’m not mistaken). playbook.yml: hosts: all gather\_facts: no tasks: name: apt-get…

---

## [How to enable SendENV on 1.9.6](https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607)

<div class="topic-metadata">

**Author:** [@barrett](https://forum.ansible.com/u/barrett)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 7:33pm UTC](https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607 "2016-09-21T19:33:44Z")

</div>

Running: Ansible 1.9.6 I have seen many posts related to SendENV in the context of Locale. But haven’t see it addressed more generally. I have a setup like the below that works fine when used from ssh, but ansible doe…

---

## [Possible to switch credentials mid-playbook?](https://forum.ansible.com/t/possible-to-switch-credentials-mid-playbook/22606)

<div class="topic-metadata">

**Author:** [@Brantley\_West](https://forum.ansible.com/u/Brantley_West)\
**Replies:** 0\
**Last updated:** [September 21, 2016, 7:07pm UTC](https://forum.ansible.com/t/possible-to-switch-credentials-mid-playbook/22606 "2016-09-21T19:07:50Z")

</div>

Hello, Is there a way to instruct ansible to use a different username/password combinations for a tasks or plays within a playbook? I see the remote\_user variable, but do not see an accompanying remote\_pass variable. I …

---

## [Ansilbe read all variable even they do not need for task (perfomance issue with lookup\_plugins)](https://forum.ansible.com/t/ansilbe-read-all-variable-even-they-do-not-need-for-task-perfomance-issue-with-lookup-plugins/22225)

<div class="topic-metadata">

**Author:** [@Artyom\_Aleksandrov](https://forum.ansible.com/u/Artyom_Aleksandrov)\
**Replies:** 9\
**Last updated:** [September 21, 2016, 6:46pm UTC](https://forum.ansible.com/t/ansilbe-read-all-variable-even-they-do-not-need-for-task-perfomance-issue-with-lookup-plugins/22225 "2016-09-21T18:46:06Z")

</div>

Hello, I’m using lookup\_plugin which go to external service and get variables via HTTPS protocol. Several time ago I noticed that playbooks had took more time than before. During investigation I found that my lookup\_pl…

---

## [Shell script does NOT run on target system?](https://forum.ansible.com/t/shell-script-does-not-run-on-target-system/22603)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 3\
**Last updated:** [September 21, 2016, 6:13pm UTC](https://forum.ansible.com/t/shell-script-does-not-run-on-target-system/22603 "2016-09-21T18:13:40Z")

</div>

I have a task that does this \` name: Generate certs using the example.sh script from zip file shell: \> cd “/tmp/{{ sg\_ssl\_dir }}/example-pki-scripts” chmod +x \*.sh ./example.sh pw pw \` Which should generate cert…

---

## [Using command and shell modules properly](https://forum.ansible.com/t/using-command-and-shell-modules-properly/22600)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 2:42pm UTC](https://forum.ansible.com/t/using-command-and-shell-modules-properly/22600 "2016-09-21T14:42:43Z")

</div>

As I say in the intro to the post, I have strong opinions on using command and shell properly - most of those opinions are encoded into ansible-lint checks. Would be interested in any feedback, particularly anything tha…

---

## [How to create a nicer pause...](https://forum.ansible.com/t/how-to-create-a-nicer-pause/22578)

<div class="topic-metadata">

**Author:** [@Krist\_van\_Besien](https://forum.ansible.com/u/Krist_van_Besien)\
**Replies:** 4\
**Last updated:** [September 21, 2016, 1:04pm UTC](https://forum.ansible.com/t/how-to-create-a-nicer-pause/22578 "2016-09-21T13:04:07Z")

</div>

Hi all, In one of my playbooks I need to build in a fairly long pause. So I have this task: name: Pause for 20 minutes pause: minutes=20 This works, but has the disadvantage that for 20 minutes nothing appears to h…

---

## [Role dependencies](https://forum.ansible.com/t/role-dependencies/22591)

<div class="topic-metadata">

**Author:** [@Ferdinand\_Svehla](https://forum.ansible.com/u/Ferdinand_Svehla)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 7:42am UTC](https://forum.ansible.com/t/role-dependencies/22591 "2016-09-21T07:42:16Z")

</div>

I am using the roles + site.yml recommended setup. Most, but not all boxes run telegraf (a stats collector), which is defined as an inventory group as a (tagged) role in site.yml. In my Redis role, if the current host …

---

## [Problems with asa\_config](https://forum.ansible.com/t/problems-with-asa-config/22597)

<div class="topic-metadata">

**Author:** [@Steven\_Carter](https://forum.ansible.com/u/Steven_Carter)\
**Replies:** 0\
**Last updated:** [September 20, 2016, 5:22pm UTC](https://forum.ansible.com/t/problems-with-asa-config/22597 "2016-09-20T17:22:56Z")

</div>

I am having problems running the following play: hosts: cil-fw gather\_facts: no connection: local vars\_files: ./cilfu-vars.yml ./cil-vault.yml vars: cli: host: “{{ inventory\_hostname }}” username: “{{ cil\_admin\_…

---

## [when: var is defined deprecated?](https://forum.ansible.com/t/when-var-is-defined-deprecated/22592)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 2\
**Last updated:** [September 20, 2016, 5:13pm UTC](https://forum.ansible.com/t/when-var-is-defined-deprecated/22592 "2016-09-20T17:13:45Z")

</div>

using ansible 2.1.1.0 running a task with ‘when: users is defined’ works fine for hosts that have that variable. for hosts that dont, the play still runs, but gives a warning that in the future, an undefined variable wi…

---

## [logging in the client](https://forum.ansible.com/t/logging-in-the-client/22420)

<div class="topic-metadata">

**Author:** [@sabarinath\_g](https://forum.ansible.com/u/sabarinath_g)\
**Replies:** 2\
**Last updated:** [September 20, 2016, 4:47pm UTC](https://forum.ansible.com/t/logging-in-the-client/22420 "2016-09-20T16:47:13Z")

</div>

Hi, I wanted to know Does ansible keep record things execute on client by generating any sort of logs in the client …so later i can go back that and see what changes has been made in particular to that host. i believe …

---

## [SSH error on Centos - ansible 1.9.2](https://forum.ansible.com/t/ssh-error-on-centos-ansible-1-9-2/19113)

<div class="topic-metadata">

**Author:** [@Michael\_Bubb](https://forum.ansible.com/u/Michael_Bubb)\
**Replies:** 2\
**Last updated:** [September 20, 2016, 4:37pm UTC](https://forum.ansible.com/t/ssh-error-on-centos-ansible-1-9-2/19113 "2016-09-20T16:37:35Z")

</div>

Hello I recently upgraded ssh and broke my Ansible setup. ssh to the target works using the same creds: ssh -i /home/ansible\_user/.ssh/pk\_ansible\_user\_rsa ansible\_user@apps05.somedomain.com Last login: Tue Aug 25 23:0…

---

## [Need keys for vaulted group vars](https://forum.ansible.com/t/need-keys-for-vaulted-group-vars/22422)

<div class="topic-metadata">

**Author:** [@j.barrett\_Strausser](https://forum.ansible.com/u/j.barrett_Strausser)\
**Replies:** 1\
**Last updated:** [September 20, 2016, 3:30pm UTC](https://forum.ansible.com/t/need-keys-for-vaulted-group-vars/22422 "2016-09-20T15:30:12Z")

</div>

Running Ansible - 1.9.4 I have a number of group\_vars that are vaulted. I have an inventory file, some of the hosts are in vaulted groups. Others are not. For instance I might have different roles in the Backend that n…

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

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