# Latest

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

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

**Page:** 604

---

## [mounted playbook dir in docker](https://forum.ansible.com/t/mounted-playbook-dir-in-docker/25534)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 12\
**Last updated:** [November 26, 2017, 5:40pm UTC](https://forum.ansible.com/t/mounted-playbook-dir-in-docker/25534 "2017-11-26T17:40:19Z")

</div>

I am running AWX in docker containers and have mounted the playbooks directory (I modified local\_docker/tasks/main.yml:“Activate AWX Task Container” to include a volume argument). I created a directory and a playbook an…

---

## [docker run --net ... --ip](https://forum.ansible.com/t/docker-run-net-ip/26134)

<div class="topic-metadata">

**Author:** [@Fernando\_Gonzalez](https://forum.ansible.com/u/Fernando_Gonzalez)\
**Replies:** 0\
**Last updated:** [November 26, 2017, 12:58pm UTC](https://forum.ansible.com/t/docker-run-net-ip/26134 "2017-11-26T12:58:16Z")

</div>

---

## [Unsupported feature - ansible through a Jump Server](https://forum.ansible.com/t/unsupported-feature-ansible-through-a-jump-server/26130)

<div class="topic-metadata">

**Author:** [@Oscar\_Segarra](https://forum.ansible.com/u/Oscar_Segarra)\
**Replies:** 2\
**Last updated:** [November 26, 2017, 3:06am UTC](https://forum.ansible.com/t/unsupported-feature-ansible-through-a-jump-server/26130 "2017-11-26T03:06:52Z")

</div>

Hi, I have opened a topic in the ansible project group in order to see if is it possible to get my objective using ansible. The diagram is the following: MyComputer (executes ansible) → SSH user1/password1 connection …

---

## [No doubt a simple question about keypair auth](https://forum.ansible.com/t/no-doubt-a-simple-question-about-keypair-auth/26121)

<div class="topic-metadata">

**Author:** [@Cycle\_London](https://forum.ansible.com/u/Cycle_London)\
**Replies:** 1\
**Last updated:** [November 24, 2017, 11:45pm UTC](https://forum.ansible.com/t/no-doubt-a-simple-question-about-keypair-auth/26121 "2017-11-24T23:45:19Z")

</div>

This is probably a simple question that you get asked hundreds of times, but I’ve searched the archives and either my google mojo is gone, or else it’s in a different wording. My employer uses ansible heavily, and I’ve …

---

## [Default filter and dictionary values](https://forum.ansible.com/t/default-filter-and-dictionary-values/26131)

<div class="topic-metadata">

**Author:** [@Evan\_Frey](https://forum.ansible.com/u/Evan_Frey)\
**Replies:** 2\
**Last updated:** [November 24, 2017, 7:40pm UTC](https://forum.ansible.com/t/default-filter-and-dictionary-values/26131 "2017-11-24T19:40:42Z")

</div>

I am having an issue with the default value not being honored for an undefined dictionary. For example, if the setup is as follows - name: something file: path: /somepath owner: “{{ dir\[‘owner’\] | default(‘root’) }}” …

---

## [Ansible cascade](https://forum.ansible.com/t/ansible-cascade/26109)

<div class="topic-metadata">

**Author:** [@Oscar\_Segarra](https://forum.ansible.com/u/Oscar_Segarra)\
**Replies:** 8\
**Last updated:** [November 24, 2017, 5:50pm UTC](https://forum.ansible.com/t/ansible-cascade/26109 "2017-11-24T17:50:00Z")

</div>

Hi, I’m pretty new with Ansible and I apollogize if my question has a very easy answer. In my environment I have a KVM host (vdicnode01) where in run a Centos 7 guest (vdicguest01) behind a KVM NAT network. From my Lap…

---

## [$# in Unix and In Ansible any way to find out The number of arguments supplied to a Ansible Playbook](https://forum.ansible.com/t/in-unix-and-in-ansible-any-way-to-find-out-the-number-of-arguments-supplied-to-a-ansible-playbook/26129)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 0\
**Last updated:** [November 24, 2017, 5:48pm UTC](https://forum.ansible.com/t/in-unix-and-in-ansible-any-way-to-find-out-the-number-of-arguments-supplied-to-a-ansible-playbook/26129 "2017-11-24T17:48:44Z")

</div>

$# --The number of arguments supplied to a script Example :- ./test.sh 1 2 3 4 → $# = value will be 4 ansible-playbook main.yml -e “Var1=1 Var2= 2Var3=3 Var4=4” How can we get a total number of arguments?

---

## [How to use block module with With\_items clause with result.stdout\_lines ?](https://forum.ansible.com/t/how-to-use-block-module-with-with-items-clause-with-result-stdout-lines/26127)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 2\
**Last updated:** [November 24, 2017, 5:25pm UTC](https://forum.ansible.com/t/how-to-use-block-module-with-with-items-clause-with-result-stdout-lines/26127 "2017-11-24T17:25:36Z")

</div>

---

## [Ansible installation](https://forum.ansible.com/t/ansible-installation/26120)

<div class="topic-metadata">

**Author:** [@Ki-Hyun\_Sung](https://forum.ansible.com/u/Ki-Hyun_Sung)\
**Replies:** 4\
**Last updated:** [November 24, 2017, 5:19pm UTC](https://forum.ansible.com/t/ansible-installation/26120 "2017-11-24T17:19:58Z")

</div>

Hi there, I am trying to create my own Ansible rpm from the tarball. I am on Centos 7, with asciidoc, epel-release and rpmbuild packages installed. However I get this error when I try to ‘make rpm’ from the root of th…

---

## [rpmbuild of ansible tarball results in error: line 9: Illegal char '$' in: Version:   $VERSION](https://forum.ansible.com/t/rpmbuild-of-ansible-tarball-results-in-error-line-9-illegal-char-in-version-version/21106)

<div class="topic-metadata">

**Author:** [@Paul\_Davies](https://forum.ansible.com/u/Paul_Davies)\
**Replies:** 6\
**Last updated:** [November 24, 2017, 5:17pm UTC](https://forum.ansible.com/t/rpmbuild-of-ansible-tarball-results-in-error-line-9-illegal-char-in-version-version/21106 "2017-11-24T17:17:26Z")

</div>

Hi I’m not experienced in RPMbuilds so I may simply be doing this wrong I have downloaded both ansible-latest.tr.gz and ansible-2.0.2.0-0.3.rc3.tar.gz from http://releases.ansible.com/ansible/ I have tried to build an…

---

## [template](https://forum.ansible.com/t/template/26128)

<div class="topic-metadata">

**Author:** [@Christian\_Iuga](https://forum.ansible.com/u/Christian_Iuga)\
**Replies:** 1\
**Last updated:** [November 24, 2017, 4:47pm UTC](https://forum.ansible.com/t/template/26128 "2017-11-24T16:47:43Z")

</div>

Hi, I’m trying to build custom json file like this : { “client”: { “subscriptions”: {{ sensu\_client\_subscriptions | to\_nice\_json }} {% if sensu\_autoderegister %} ,“deregister”: true, “deregistration”: { “handler”…

---

## [Ansible + Chocolatey + Windows File based local repository](https://forum.ansible.com/t/ansible-chocolatey-windows-file-based-local-repository/26115)

<div class="topic-metadata">

**Author:** [@Adam\_Brush](https://forum.ansible.com/u/Adam_Brush)\
**Replies:** 1\
**Last updated:** [November 24, 2017, 1:43pm UTC](https://forum.ansible.com/t/ansible-chocolatey-windows-file-based-local-repository/26115 "2017-11-24T13:43:52Z")

</div>

Morning, I’ve had issues with getting Ansible / Chocolatey to use a network share local file server / repository, however i’ve now managed to get it working. Details here: https://controlaltfail.wordpress.com/2017/11/…

---

## [ansible.cfg with multiple vault files.](https://forum.ansible.com/t/ansible-cfg-with-multiple-vault-files/26126)

<div class="topic-metadata">

**Author:** [@jayeola](https://forum.ansible.com/u/jayeola)\
**Replies:** 0\
**Last updated:** [November 24, 2017, 12:02pm UTC](https://forum.ansible.com/t/ansible-cfg-with-multiple-vault-files/26126 "2017-11-24T12:02:50Z")

</div>

Hey guys, How do people manage many multiple files that are for the vault? grep vault ansible.cfg vault\_password\_file = roles/blah/files/\*.env The idea here is to tell ansible that all env files in roles/blah/files a…

---

## [printing Maven artifiact version in AWS lambda fucntion "version" tab under qualifiers](https://forum.ansible.com/t/printing-maven-artifiact-version-in-aws-lambda-fucntion-version-tab-under-qualifiers/26125)

<div class="topic-metadata">

**Author:** [@Ambruth\_Kumar](https://forum.ansible.com/u/Ambruth_Kumar)\
**Replies:** 0\
**Last updated:** [November 24, 2017, 11:36am UTC](https://forum.ansible.com/t/printing-maven-artifiact-version-in-aws-lambda-fucntion-version-tab-under-qualifiers/26125 "2017-11-24T11:36:25Z")

</div>

Hi we are trying to achieve the following through ansible playbooks but not be able to succeed, please let us know any solution for the same. problem statement: We wanted to print maven artifact version in AWS lambda f…

---

## [register won't read](https://forum.ansible.com/t/register-wont-read/26123)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [November 24, 2017, 10:18am UTC](https://forum.ansible.com/t/register-wont-read/26123 "2017-11-24T10:18:42Z")

</div>

Hi! I'm new to Ansible. I'm trying to run these plays but I get an error that says AILED! =\> {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stderr'\\n\\nT…

---

## [Multi-arch ansible docker images](https://forum.ansible.com/t/multi-arch-ansible-docker-images/26122)

<div class="topic-metadata">

**Author:** [@Vaibhav\_Sood](https://forum.ansible.com/u/Vaibhav_Sood)\
**Replies:** 0\
**Last updated:** [November 24, 2017, 9:57am UTC](https://forum.ansible.com/t/multi-arch-ansible-docker-images/26122 "2017-11-24T09:57:43Z")

</div>

Hi, Want to check if a multi-arch (non-x86) version of ansible’s docker image is available somewhere? I found this image https://hub.docker.com/r/ansible/ansible/ but i am not sure if it is multi-arch If not, are there…

---

## [Password change for 350+ linux host using ansible but have to do without ssh copying](https://forum.ansible.com/t/password-change-for-350-linux-host-using-ansible-but-have-to-do-without-ssh-copying/26119)

<div class="topic-metadata">

**Author:** [@saravana102030](https://forum.ansible.com/u/saravana102030)\
**Replies:** 1\
**Last updated:** [November 23, 2017, 10:57pm UTC](https://forum.ansible.com/t/password-change-for-350-linux-host-using-ansible-but-have-to-do-without-ssh-copying/26119 "2017-11-23T22:57:09Z")

</div>

Hi We have got a task to change the password for 350+ linux host using ansible. I need to know how to username and password some where in play book instead using ssh keys. Security concern not a matter. Regards Sara…

---

## [Using ansible changing password for root account -- password error after changing](https://forum.ansible.com/t/using-ansible-changing-password-for-root-account-password-error-after-changing/26111)

<div class="topic-metadata">

**Author:** [@saravana102030](https://forum.ansible.com/u/saravana102030)\
**Replies:** 2\
**Last updated:** [November 23, 2017, 10:47pm UTC](https://forum.ansible.com/t/using-ansible-changing-password-for-root-account-password-error-after-changing/26111 "2017-11-23T22:47:04Z")

</div>

Hi I am executing playbook for changing password but its password not working after changing it, Playbook as follows hosts: all tasks: name: Change root password user: name=test update\_password=always password=“tes…

---

## [add pip module to containerized deployment](https://forum.ansible.com/t/add-pip-module-to-containerized-deployment/26118)

<div class="topic-metadata">

**Author:** [@Cristovao\_Cordeiro](https://forum.ansible.com/u/Cristovao_Cordeiro)\
**Replies:** 0\
**Last updated:** [November 23, 2017, 2:42pm UTC](https://forum.ansible.com/t/add-pip-module-to-containerized-deployment/26118 "2017-11-23T14:42:58Z")

</div>

Hi everyone, I want to use the external consul\_io.py inventory and this requires the python-consul module. I am installing AWX through Docker, so how can I add extra modules like this? Thanks

---

## [Variable concatenation](https://forum.ansible.com/t/variable-concatenation/26114)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 1\
**Last updated:** [November 23, 2017, 2:33pm UTC](https://forum.ansible.com/t/variable-concatenation/26114 "2017-11-23T14:33:31Z")

</div>

Is there a way to concatenate variables? base: a b c extend: x y z Something like this? together: “{{ base }”" extend The above gives me “msg”: “together \[\[u’a’, u’b’, u’c’\], u’x’, u’y’, u’z’\]”

---

## [vmware provisioning, finding information based on variables](https://forum.ansible.com/t/vmware-provisioning-finding-information-based-on-variables/26116)

<div class="topic-metadata">

**Author:** [@mkempster22uu](https://forum.ansible.com/u/mkempster22uu)\
**Replies:** 0\
**Last updated:** [November 23, 2017, 11:46am UTC](https://forum.ansible.com/t/vmware-provisioning-finding-information-based-on-variables/26116 "2017-11-23T11:46:47Z")

</div>

I’ve setup a way to provision a RHEL VM from a template using the VMware\_guest module (shown below) I’m now trying to figure out away of shortening the AWX/Tower survey I have so that the user doesn’t need to add so much…

---

## [Some Ansible Windows winrm variables doesn't seems to be use](https://forum.ansible.com/t/some-ansible-windows-winrm-variables-doesnt-seems-to-be-use/21701)

<div class="topic-metadata">

**Author:** [@Julien\_Savard](https://forum.ansible.com/u/Julien_Savard)\
**Replies:** 7\
**Last updated:** [November 23, 2017, 11:15am UTC](https://forum.ansible.com/t/some-ansible-windows-winrm-variables-doesnt-seems-to-be-use/21701 "2017-11-23T11:15:08Z")

</div>

Hi, It seems ansible does not use the variables in /etc/ansible/hosts for winrm connection : In /etc/ansible/hosts : \[windows\] 10.10.10.10 \[windows:vars\] ansible\_user=WindowsUser ansible\_password=UserPassword ans…

---

## [Ansible network](https://forum.ansible.com/t/ansible-network/26054)

<div class="topic-metadata">

**Author:** [@SK1](https://forum.ansible.com/u/SK1)\
**Replies:** 7\
**Last updated:** [November 23, 2017, 7:19am UTC](https://forum.ansible.com/t/ansible-network/26054 "2017-11-23T07:19:20Z")

</div>

Hi, I am using Ansible for the first time to test basic commands on Network devices. When I run the playbook, I am encountering errors even though the configuration looks normal. Below is the OS of my source machine whe…

---

## [Ansible 2.4.2 RC1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-2-rc1-is-ready-for-testing/26113)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [November 23, 2017, 6:22am UTC](https://forum.ansible.com/t/ansible-2-4-2-rc1-is-ready-for-testing/26113 "2017-11-23T06:22:05Z")

</div>

Hi all, we're happy to announce that RC1 for 2.4.2 is now available for testing. How do you get it?

---

## [SSL error with gce\_instance\_template and ansible](https://forum.ansible.com/t/ssl-error-with-gce-instance-template-and-ansible/24760)

<div class="topic-metadata">

**Author:** [@sushrismita.mishra](https://forum.ansible.com/u/sushrismita.mishra)\
**Replies:** 7\
**Last updated:** [November 23, 2017, 4:09am UTC](https://forum.ansible.com/t/ssl-error-with-gce-instance-template-and-ansible/24760 "2017-11-23T04:09:06Z")

</div>

Hi I am a new bee in Ansible. I am trying to manage and create google cloud properties using ansible. However I am getting SSL related errors while connecting. I tried 1… downloading the latest cacert.pem from https:/…

---

## [Ansible and tower on different systems](https://forum.ansible.com/t/ansible-and-tower-on-different-systems/26107)

<div class="topic-metadata">

**Author:** [@arpanmeda93](https://forum.ansible.com/u/arpanmeda93)\
**Replies:** 2\
**Last updated:** [November 22, 2017, 5:32pm UTC](https://forum.ansible.com/t/ansible-and-tower-on-different-systems/26107 "2017-11-22T17:32:14Z")

</div>

Hi Is it possible to have the Ansible and Ansible-Tower on two different systems. Thanks.

---

## [or condition in ansible skips the hosts that are not matched in condition](https://forum.ansible.com/t/or-condition-in-ansible-skips-the-hosts-that-are-not-matched-in-condition/26077)

<div class="topic-metadata">

**Author:** [@shashank\_pai](https://forum.ansible.com/u/shashank_pai)\
**Replies:** 3\
**Last updated:** [November 22, 2017, 5:04pm UTC](https://forum.ansible.com/t/or-condition-in-ansible-skips-the-hosts-that-are-not-matched-in-condition/26077 "2017-11-22T17:04:50Z")

</div>

down votfavorite | I am trying to check memory consumption of four machines and any of the machines memory consumption is less than 10 GB I want to restart services on all machines. I have used or operator in…

---

## [Are Tags from the dark side ???](https://forum.ansible.com/t/are-tags-from-the-dark-side/26093)

<div class="topic-metadata">

**Author:** [@akazia.info](https://forum.ansible.com/u/akazia.info)\
**Replies:** 4\
**Last updated:** [November 22, 2017, 4:48pm UTC](https://forum.ansible.com/t/are-tags-from-the-dark-side/26093 "2017-11-22T16:48:07Z")

</div>

Hello I have been reading squilions of articles but I am still unsure if the usage of tags is a good practice. It seems to me that adding tags to tasks quickly leads to a cumbersome situation. How ever a tag on a role m…

---

## [Ansible - copy between servers](https://forum.ansible.com/t/ansible-copy-between-servers/26103)

<div class="topic-metadata">

**Author:** [@Amir\_Saar](https://forum.ansible.com/u/Amir_Saar)\
**Replies:** 1\
**Last updated:** [November 22, 2017, 4:25pm UTC](https://forum.ansible.com/t/ansible-copy-between-servers/26103 "2017-11-22T16:25:09Z")

</div>

I’m kinda newbie with Ansible. I have a hosts file that contains 4 hosts. I also have a ‘copymap’ dictionary that I built in order to copy data (folders) between the servers (the full ‘copymap’ dictionary is much bigger…

---

## [Instance Filters in Tower while adding Vmware Source](https://forum.ansible.com/t/instance-filters-in-tower-while-adding-vmware-source/26108)

<div class="topic-metadata">

**Author:** [@arpanmeda93](https://forum.ansible.com/u/arpanmeda93)\
**Replies:** 0\
**Last updated:** [November 22, 2017, 12:53pm UTC](https://forum.ansible.com/t/instance-filters-in-tower-while-adding-vmware-source/26108 "2017-11-22T12:53:50Z")

</div>

Hi I have created a Vmware VCenter Source and able to get information of all the hosts. I need to filter the hosts using “instance filters”. Please find the attachment for details. Please let me know if anyone has use…

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

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