# Latest

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

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

**Page:** 648

---

## [Ansible module run on remote HP-UX 11.11 servers](https://forum.ansible.com/t/ansible-module-run-on-remote-hp-ux-11-11-servers/24824)

<div class="topic-metadata">

**Author:** [@Amy\_Ng](https://forum.ansible.com/u/Amy_Ng)\
**Replies:** 0\
**Last updated:** [June 26, 2017, 5:25pm UTC](https://forum.ansible.com/t/ansible-module-run-on-remote-hp-ux-11-11-servers/24824 "2017-06-26T17:25:01Z")

</div>

We are trying to get ansible modules to run on remote HP-UX 11.11 systems. We have installed Python 2.7.6 on these systems. It works for some modules (e.g. ping module). However, some of the ansible modules will return “…

---

## [Dynamic inventory - how to use group:children](https://forum.ansible.com/t/dynamic-inventory-how-to-use-group-children/24815)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [June 26, 2017, 5:02pm UTC](https://forum.ansible.com/t/dynamic-inventory-how-to-use-group-children/24815 "2017-06-26T17:02:29Z")

</div>

In “normal” inventory files, there’s the concept of “group children”, allowing the use of nested groups of hotsts. However, the documentation for the expected output of dynamic inventory systems does not include informa…

---

## [Is possible keep variable beetween roles?](https://forum.ansible.com/t/is-possible-keep-variable-beetween-roles/24821)

<div class="topic-metadata">

**Author:** [@Aitor\_Gomez](https://forum.ansible.com/u/Aitor_Gomez)\
**Replies:** 1\
**Last updated:** [June 26, 2017, 4:02pm UTC](https://forum.ansible.com/t/is-possible-keep-variable-beetween-roles/24821 "2017-06-26T16:02:26Z")

</div>

this is an example that i want… in this task i set in a pretask the variable INSTALL\_TIME: “{{ ansible\_date\_time }}” i whant to use this variable in other role (Check\_logs) how can i do that? name: ‘Deploy’ hosts: …

---

## [wait\_for\_connection: doesn't do the job (as expected)](https://forum.ansible.com/t/wait-for-connection-doesnt-do-the-job-as-expected/24810)

<div class="topic-metadata">

**Author:** [@Reiner\_Nippes](https://forum.ansible.com/u/Reiner_Nippes)\
**Replies:** 2\
**Last updated:** [June 26, 2017, 1:54pm UTC](https://forum.ansible.com/t/wait-for-connection-doesnt-do-the-job-as-expected/24810 "2017-06-26T13:54:26Z")

</div>

Hi, I’m starting two ec2 SLES12 instances with ansible. After they are up&running the same playbook should configure the machines. So I inculde name: Wait for connection to wait\_for\_connection: after the ec2: modul…

---

## [Privilege escalation - what is best practice?](https://forum.ansible.com/t/privilege-escalation-what-is-best-practice/24819)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 1\
**Last updated:** [June 26, 2017, 11:19am UTC](https://forum.ansible.com/t/privilege-escalation-what-is-best-practice/24819 "2017-06-26T11:19:10Z")

</div>

Hi all, I am running my playbooks as user ansible (which has sudo rights) for instance but often need to escalate privileges. This can be done in multiple ways: specify per task: become=true specify for the entire pla…

---

## [interactive commands](https://forum.ansible.com/t/interactive-commands/24820)

<div class="topic-metadata">

**Author:** [@Thai\_Nguyen](https://forum.ansible.com/u/Thai_Nguyen)\
**Replies:** 0\
**Last updated:** [June 26, 2017, 8:33am UTC](https://forum.ansible.com/t/interactive-commands/24820 "2017-06-26T08:33:36Z")

</div>

Hi, I wish to perform a copy tftp:// running-config using Ansible in order to copy an access-list to ios running config. I tried any things but no luck. Just wonder if it is possible and if so please share with me how …

---

## [Win\_Service not working in handler?](https://forum.ansible.com/t/win-service-not-working-in-handler/24786)

<div class="topic-metadata">

**Author:** [@Onallion](https://forum.ansible.com/u/Onallion)\
**Replies:** 2\
**Last updated:** [June 26, 2017, 5:24am UTC](https://forum.ansible.com/t/win-service-not-working-in-handler/24786 "2017-06-26T05:24:58Z")

</div>

Hi, I am running a playbook with a task that calls a handler like so: \` name: “Configure zabbix-agent” win\_template: src: zabbix\_agentd.conf.j2 dest: C:\\Program Files\\Zabbix Agent\\zabbix\_agentd.conf newline\_seque…

---

## [Ansible with programs that get installed into %userprofile%/AppData?](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 2\
**Last updated:** [June 25, 2017, 12:09pm UTC](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793 "2017-06-25T12:09:43Z")

</div>

Anyone have recommendations (and/or example playbooks) that install programs that get installed into %userprofile%/AppData? I’m trying to install Slack with Ansible and win\_chocolatey but I can only get Slack to install…

---

## [blanket-apply delegate\_to to roles](https://forum.ansible.com/t/blanket-apply-delegate-to-to-roles/16420)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [June 24, 2017, 5:53pm UTC](https://forum.ansible.com/t/blanket-apply-delegate-to-to-roles/16420 "2017-06-24T17:53:22Z")

</div>

I’ve got a case where I’d like to delegate contents of entire role over to another box. Adding “delegate\_to” to every task seems strenuous and not reusable since I may use this role without delegation. My attempt at sim…

---

## [Ansible docker\_container task cannot start a container while the equivalent docker run command can](https://forum.ansible.com/t/ansible-docker-container-task-cannot-start-a-container-while-the-equivalent-docker-run-command-can/24798)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 1\
**Last updated:** [June 24, 2017, 4:32pm UTC](https://forum.ansible.com/t/ansible-docker-container-task-cannot-start-a-container-while-the-equivalent-docker-run-command-can/24798 "2017-06-24T16:32:53Z")

</div>

I am using docker\_container module on my infra quite extensively for some time and now i am stuck at a problem for which i cannot figure out the reason. One point to note here is that for the following chances, there is …

---

## [Blockinfile triggers every run](https://forum.ansible.com/t/blockinfile-triggers-every-run/24814)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [June 23, 2017, 11:20pm UTC](https://forum.ansible.com/t/blockinfile-triggers-every-run/24814 "2017-06-23T23:20:57Z")

</div>

I have a blockinfile task that sets some lines in /etc/ufw/before.rules, and which notifies handler to reload ufw if the task registers a change. I was running it on a host and noticed that I had the same prerouting rule…

---

## [issue am fighting with](https://forum.ansible.com/t/issue-am-fighting-with/24813)

<div class="topic-metadata">

**Author:** [@Ram\_Raj](https://forum.ansible.com/u/Ram_Raj)\
**Replies:** 0\
**Last updated:** [June 23, 2017, 4:39pm UTC](https://forum.ansible.com/t/issue-am-fighting-with/24813 "2017-06-23T16:39:26Z")

</div>

Get Token name: “Get Token for {{ wwwurl }}” hosts: all connection: local tasks: name: “Post to /mga/sps/oauth20/token” uri: url: “{{ wwwurl }}/mga/sps/oauth/oauth20/token” method: POST user: “\*\*\*\*\*\*” passwor…

---

## [S3: get/put fail when multi-part file already on S3 #544](https://forum.ansible.com/t/s3-get-put-fail-when-multi-part-file-already-on-s3-544/24811)

<div class="topic-metadata">

**Author:** [@Andrew\_Howden](https://forum.ansible.com/u/Andrew_Howden)\
**Replies:** 0\
**Last updated:** [June 23, 2017, 2:02pm UTC](https://forum.ansible.com/t/s3-get-put-fail-when-multi-part-file-already-on-s3-544/24811 "2017-06-23T14:02:47Z")

</div>

Hola All, A colleague just picked up that S3 + Boto does not handle multipart uploads. The following issue seems to indicate that there was a discussion on the mailing list, but I cannot see it: https://github.com/ansi…

---

## [Securing ansible - best practice?](https://forum.ansible.com/t/securing-ansible-best-practice/24766)

<div class="topic-metadata">

**Author:** [@Chris\_Jefferies](https://forum.ansible.com/u/Chris_Jefferies)\
**Replies:** 2\
**Last updated:** [June 23, 2017, 10:53am UTC](https://forum.ansible.com/t/securing-ansible-best-practice/24766 "2017-06-23T10:53:37Z")

</div>

Hello. I’m looking around for a best practice tutorial or document that describes how to configure our ansible server to deploy our applications to about 20 servers at a time. We call this group of servers a track. We h…

---

## [Are there any good material for network module development ?](https://forum.ansible.com/t/are-there-any-good-material-for-network-module-development/24807)

<div class="topic-metadata">

**Author:** [@user45](https://forum.ansible.com/u/user45)\
**Replies:** 0\
**Last updated:** [June 23, 2017, 3:54am UTC](https://forum.ansible.com/t/are-there-any-good-material-for-network-module-development/24807 "2017-06-23T03:54:45Z")

</div>

Hello, All I’m network engineer. and I am developing ansible network module. I must develope network module by using telnet connection (not ssh) becuase of my customer uses old and unknown vendor devices Already, what…

---

## [Install Jenkins server inside Vagrant box using ansible](https://forum.ansible.com/t/install-jenkins-server-inside-vagrant-box-using-ansible/24715)

<div class="topic-metadata">

**Author:** [@minnickma](https://forum.ansible.com/u/minnickma)\
**Replies:** 1\
**Last updated:** [June 23, 2017, 3:53am UTC](https://forum.ansible.com/t/install-jenkins-server-inside-vagrant-box-using-ansible/24715 "2017-06-23T03:53:22Z")

</div>

How would I go about installing a jenkins server inside of a vagrant box using ansible? I have found ways to install jenkins on the host machine using ansible but cannot find much documentation to get it running inside t…

---

## [Problem with "Skipping: No hosts matched" when using add\_host and groups](https://forum.ansible.com/t/problem-with-skipping-no-hosts-matched-when-using-add-host-and-groups/24805)

<div class="topic-metadata">

**Author:** [@Alex\_White](https://forum.ansible.com/u/Alex_White)\
**Replies:** 0\
**Last updated:** [June 22, 2017, 7:26pm UTC](https://forum.ansible.com/t/problem-with-skipping-no-hosts-matched-when-using-add-host-and-groups/24805 "2017-06-22T19:26:48Z")

</div>

Hello, I’m launching an AWS instance and setting that instances’ new public IP address to a variable, and attempting to add that host to a group. Later in the same play, I use that group name in the topology.yml to remo…

---

## [Ansible 2.3.1 adding 'rounds=65600' to password in /etc/shadow](https://forum.ansible.com/t/ansible-2-3-1-adding-rounds-65600-to-password-in-etc-shadow/24802)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [June 22, 2017, 12:21pm UTC](https://forum.ansible.com/t/ansible-2-3-1-adding-rounds-65600-to-password-in-etc-shadow/24802 "2017-06-22T12:21:55Z")

</div>

Hi everyone, I just ran into a timeout when executing my unchanged playbook against my raspi (raspi2 with debian), that I had not run on this host since ansible 2.2 at least. It seems ansible (or the python hash libr…

---

## [Ansible module to delete root volume on termination](https://forum.ansible.com/t/ansible-module-to-delete-root-volume-on-termination/24801)

<div class="topic-metadata">

**Author:** [@atangirala](https://forum.ansible.com/u/atangirala)\
**Replies:** 0\
**Last updated:** [June 22, 2017, 11:30am UTC](https://forum.ansible.com/t/ansible-module-to-delete-root-volume-on-termination/24801 "2017-06-22T11:30:33Z")

</div>

Hello, I couldn’t delete EBS root volume using ansible “delete on termination” module. Once the instance get terminated, the attached root volume remains instead of getting deleted.

---

## [AWS profile not found](https://forum.ansible.com/t/aws-profile-not-found/24800)

<div class="topic-metadata">

**Author:** [@B\_Holmes](https://forum.ansible.com/u/B_Holmes)\
**Replies:** 1\
**Last updated:** [June 22, 2017, 11:06am UTC](https://forum.ansible.com/t/aws-profile-not-found/24800 "2017-06-22T11:06:52Z")

</div>

Hi, I’m having trouble authenticating to AWS using a profile. My ~/.aws/credentials file has a profile named production: \` \[default\] aws\_access\_key\_id = \<some\_key\> aws\_secret\_access\_key = \<some\_secret\> region = eu-…

---

## [Play the playbook unprivileged user](https://forum.ansible.com/t/play-the-playbook-unprivileged-user/24779)

<div class="topic-metadata">

**Author:** [@m.hippy.c](https://forum.ansible.com/u/m.hippy.c)\
**Replies:** 3\
**Last updated:** [June 22, 2017, 9:33am UTC](https://forum.ansible.com/t/play-the-playbook-unprivileged-user/24779 "2017-06-22T09:33:32Z")

</div>

Hello! I need to play the playbook unprivileged user. The user is not allowed to use bin/sh and usr/bin/python. How to solve this? Help me please!

---

## [Documentation in command line](https://forum.ansible.com/t/documentation-in-command-line/24797)

<div class="topic-metadata">

**Author:** [@Farrukh\_Sadykov](https://forum.ansible.com/u/Farrukh_Sadykov)\
**Replies:** 0\
**Last updated:** [June 22, 2017, 8:50am UTC](https://forum.ansible.com/t/documentation-in-command-line/24797 "2017-06-22T08:50:49Z")

</div>

Hello, Do you guys know any documentation besides ansible-doc? Where can I get more information. Ansible doc is good for working with modules but it is not helpful to work with lets say lists, loops and so on. I was hop…

---

## [Ansible 2.3.0 Connecting to Cisco IOS router](https://forum.ansible.com/t/ansible-2-3-0-connecting-to-cisco-ios-router/24767)

<div class="topic-metadata">

**Author:** [@Patrick\_Matheny](https://forum.ansible.com/u/Patrick_Matheny)\
**Replies:** 2\
**Last updated:** [June 22, 2017, 8:30am UTC](https://forum.ansible.com/t/ansible-2-3-0-connecting-to-cisco-ios-router/24767 "2017-06-22T08:30:25Z")

</div>

I’m very new to Ansible. I have a small lab running and I’m trying to evaluate the use of Ansible for making network changes. I have a workstations running CentOS Linux release 7.3.1611 and Ansible 2.3.0 as a fresh insta…

---

## [Have Ansible remote API?](https://forum.ansible.com/t/have-ansible-remote-api/24787)

<div class="topic-metadata">

**Author:** [@user76](https://forum.ansible.com/u/user76)\
**Replies:** 1\
**Last updated:** [June 22, 2017, 6:42am UTC](https://forum.ansible.com/t/have-ansible-remote-api/24787 "2017-06-22T06:42:31Z")

</div>

Hello. I have ansible server and a few target machines. I want to run ansible playbooks from target machine instead ansible server. Is there way to resolve my wish? Regards, Vlad.

---

## [using ansible with spawn is preventing the inventory process](https://forum.ansible.com/t/using-ansible-with-spawn-is-preventing-the-inventory-process/24784)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 11\
**Last updated:** [June 22, 2017, 6:22am UTC](https://forum.ansible.com/t/using-ansible-with-spawn-is-preventing-the-inventory-process/24784 "2017-06-22T06:22:53Z")

</div>

Hi, I am using ansible-playbook at a script and passing password to t. Below is how i used it: run.sh #!/bin/bash … /bin/expect \<\<- DONE spawn ansible-playbook -i $1 $2 -u $Username -k --become-user root --become-m…

---

## [set\_fact adding unicode "\[u' in front of new variable (2.3.1.0)](https://forum.ansible.com/t/set-fact-adding-unicode-u-in-front-of-new-variable-2-3-1-0/24792)

<div class="topic-metadata">

**Author:** [@Alex\_White](https://forum.ansible.com/u/Alex_White)\
**Replies:** 2\
**Last updated:** [June 22, 2017, 2:18am UTC](https://forum.ansible.com/t/set-fact-adding-unicode-u-in-front-of-new-variable-2-3-1-0/24792 "2017-06-22T02:18:37Z")

</div>

I just recently updated to 2.3.1.0. I’ve used set\_fact before the upgrade to set my AWS instance ID to a variable “coreaid”. - name: Save instance ID to coreaid set\_fact: coreaid: "{{ ec2\_asg.instances }}" - debu…

---

## [pexpect module installation errors on Ubuntu](https://forum.ansible.com/t/pexpect-module-installation-errors-on-ubuntu/24796)

<div class="topic-metadata">

**Author:** [@Murthy\_Vipparthy](https://forum.ansible.com/u/Murthy_Vipparthy)\
**Replies:** 0\
**Last updated:** [June 21, 2017, 10:53pm UTC](https://forum.ansible.com/t/pexpect-module-installation-errors-on-ubuntu/24796 "2017-06-21T22:53:24Z")

</div>

Thank you for looking @ issues I am trying to install pexpect module using easy\_install script in Ubuntu Servers and following are errors we have been observing after search found following bug can cause issues, Does t…

---

## [Using inventory variables from external inventory script to specify which other variables to use (like hiera)](https://forum.ansible.com/t/using-inventory-variables-from-external-inventory-script-to-specify-which-other-variables-to-use-like-hiera/24776)

<div class="topic-metadata">

**Author:** [@William\_Saxton](https://forum.ansible.com/u/William_Saxton)\
**Replies:** 3\
**Last updated:** [June 21, 2017, 10:12pm UTC](https://forum.ansible.com/t/using-inventory-variables-from-external-inventory-script-to-specify-which-other-variables-to-use-like-hiera/24776 "2017-06-21T22:12:20Z")

</div>

Our current configuration management system stores hostnames and attributes for each of our systems, including things like “project” and “site”. I’d like to use these attributes when determining which values to provision…

---

## [How to distribute python? Without affecting what is installed.](https://forum.ansible.com/t/how-to-distribute-python-without-affecting-what-is-installed/24758)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 1\
**Last updated:** [June 21, 2017, 9:45pm UTC](https://forum.ansible.com/t/how-to-distribute-python-without-affecting-what-is-installed/24758 "2017-06-21T21:45:29Z")

</div>

Hello everyone. First of all, excuseme my bad English. I need to install python 2.6 on the computers that are already in production, to be able to access from Ansible. There are some Solaris, Red-hat, Centos, etc, som…

---

## [calling a play from a block](https://forum.ansible.com/t/calling-a-play-from-a-block/24795)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [June 21, 2017, 9:39pm UTC](https://forum.ansible.com/t/calling-a-play-from-a-block/24795 "2017-06-21T21:39:20Z")

</div>

plays cannot be called from withing plays, since a block can only exist inside a play .... You CAN call task lists, but not plays.

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

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