# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=296

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

**Page:** 297

---

## [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>

---

## [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…

---

## [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…

---

## [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…

---

## [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’\]”

---

## [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…

---

## [Azure Apex A Record Creation Failing](https://forum.ansible.com/t/azure-apex-a-record-creation-failing/26106)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 0\
**Last updated:** [November 22, 2017, 11:43am UTC](https://forum.ansible.com/t/azure-apex-a-record-creation-failing/26106 "2017-11-22T11:43:36Z")

</div>

Hello Ansibulls, I’m tinkering with the Ansible Azure modules and think I might have hit a bug. I am unable to create A records at the apex of a domain. This gist contains the playbook and output: https://gist.github.co…

---

## [Questions regarding project breakdown](https://forum.ansible.com/t/questions-regarding-project-breakdown/26105)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 0\
**Last updated:** [November 22, 2017, 8:53am UTC](https://forum.ansible.com/t/questions-regarding-project-breakdown/26105 "2017-11-22T08:53:48Z")

</div>

Hi there, I’m somewhat new to the concept of provisioning. I have a project where we want to automize provisioning of VMs in VMware Center 5.5. The VMs will be for DevTest and for example need to end up running with a …

---

## [Migration from Control M to Ansible Tower](https://forum.ansible.com/t/migration-from-control-m-to-ansible-tower/25188)

<div class="topic-metadata">

**Author:** [@Barun\_Sharma](https://forum.ansible.com/u/Barun_Sharma)\
**Replies:** 1\
**Last updated:** [November 22, 2017, 1:13am UTC](https://forum.ansible.com/t/migration-from-control-m-to-ansible-tower/25188 "2017-11-22T01:13:36Z")

</div>

I posted this question in other forum but no reply I received. My question as how logical(Efficiency and cost effective) it is to migrate from Control M to Ansible tower, whether it will be radical changes? Can we also m…

---

## [Ansible Local script with Arguments yes/no having some issue](https://forum.ansible.com/t/ansible-local-script-with-arguments-yes-no-having-some-issue/26091)

<div class="topic-metadata">

**Author:** [@Prabahar\_S](https://forum.ansible.com/u/Prabahar_S)\
**Replies:** 1\
**Last updated:** [November 22, 2017, 12:42am UTC](https://forum.ansible.com/t/ansible-local-script-with-arguments-yes-no-having-some-issue/26091 "2017-11-22T00:42:16Z")

</div>

Hi All, Can someone give an idea about to run the script in local? My script having yes/no question. If I give “Yes” it’ll run the script, “NO” it will terminate the script. So I need a playbook to execute this scenario…

---

## [Vaulted variables missing, password accepted](https://forum.ansible.com/t/vaulted-variables-missing-password-accepted/26100)

<div class="topic-metadata">

**Author:** [@Ryan\_Fisher](https://forum.ansible.com/u/Ryan_Fisher)\
**Replies:** 0\
**Last updated:** [November 22, 2017, 12:33am UTC](https://forum.ansible.com/t/vaulted-variables-missing-password-accepted/26100 "2017-11-22T00:33:53Z")

</div>

I’m having an odd issue with vaulted variable files when running playbooks from my local machine. The vaulted vars are not defined, even though I am supplying the correct password at the prompt. I’ve also tried using --v…

---

## [How to run only one role out of a playbook?](https://forum.ansible.com/t/how-to-run-only-one-role-out-of-a-playbook/26096)

<div class="topic-metadata">

**Author:** [@akazia.info](https://forum.ansible.com/u/akazia.info)\
**Replies:** 3\
**Last updated:** [November 21, 2017, 9:10pm UTC](https://forum.ansible.com/t/how-to-run-only-one-role-out-of-a-playbook/26096 "2017-11-21T21:10:38Z")

</div>

Hello I have a site.yml which imports several playbooks. import\_playbook: webservers.yml … Every playbook “calls” several roles: name: apply the webserver configuration hosts: webservers roles: javajdk to…

---

## [yum module:  removing groups failing](https://forum.ansible.com/t/yum-module-removing-groups-failing/25881)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 9\
**Last updated:** [November 21, 2017, 6:28pm UTC](https://forum.ansible.com/t/yum-module-removing-groups-failing/25881 "2017-11-21T18:28:10Z")

</div>

I have the following, but it fails. Do I have a syntax issue or something? I can’t seem to find the problem. \` hosts: “{{ host }}” tasks: name: Remove GUI yum: name: “{{ item }}” state: absent with\_items: “@Conso…

---

## [Ansible playbook - pass variables to role with template](https://forum.ansible.com/t/ansible-playbook-pass-variables-to-role-with-template/26021)

<div class="topic-metadata">

**Author:** [@knowledgefromgroups](https://forum.ansible.com/u/knowledgefromgroups)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 8:58am UTC](https://forum.ansible.com/t/ansible-playbook-pass-variables-to-role-with-template/26021 "2017-11-21T08:58:17Z")

</div>

Hi all, I’m wonder if it’s possible to pass variables from playbook to role which has template. Example: playbook.yml roles: { role: monit, monit\_proc: “sshd”,monit\_ssh\_port: “25”} monit role: monit/templates/sshd…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=295)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=297)
