# Ansible Project

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

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

**Page:** 327

---

## [Matching hosts in AWS (or any dynamic inventory?)](https://forum.ansible.com/t/matching-hosts-in-aws-or-any-dynamic-inventory/25037)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 8:23pm UTC](https://forum.ansible.com/t/matching-hosts-in-aws-or-any-dynamic-inventory/25037 "2017-07-20T20:23:24Z")

</div>

Hello! I would like to match hosts in AWS with something like (passing env as an extravar): hosts: tag\_Function\_www:&ec2\_tag\_Environment=env I’m currently using this which works: hosts: “tag\_Function\_www:&tag\_Environ…

---

## [Cisco Access Point Automation management](https://forum.ansible.com/t/cisco-access-point-automation-management/25036)

<div class="topic-metadata">

**Author:** [@nizar\_kacem](https://forum.ansible.com/u/nizar_kacem)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 7:53pm UTC](https://forum.ansible.com/t/cisco-access-point-automation-management/25036 "2017-07-20T19:53:58Z")

</div>

Hi, is Ansible suitable for Cisco Access point automation (especially big number of 1040 series). In other words, is it possible to remote change configurations, access lists… Rgds

---

## [Ask about "side by side" loop](https://forum.ansible.com/t/ask-about-side-by-side-loop/25032)

<div class="topic-metadata">

**Author:** [@aldyth\_maharsha](https://forum.ansible.com/u/aldyth_maharsha)\
**Replies:** 1\
**Last updated:** [July 20, 2017, 7:46pm UTC](https://forum.ansible.com/t/ask-about-side-by-side-loop/25032 "2017-07-20T19:46:36Z")

</div>

Hi All I have question and I’m newbie in ansible…I try to clone multiple vm from template in vmware with each of them have different ip address…Example my script below

---

## [Chaning user's own password after validating the current password](https://forum.ansible.com/t/chaning-users-own-password-after-validating-the-current-password/25035)

<div class="topic-metadata">

**Author:** [@islhamid](https://forum.ansible.com/u/islhamid)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 6:14pm UTC](https://forum.ansible.com/t/chaning-users-own-password-after-validating-the-current-password/25035 "2017-07-20T18:14:44Z")

</div>

Hi I am looking for a playbook that will change user’s password only if the playbook is ran by the user. In other words can you help in writing a playbook that will first verify user’s current password then if the curr…

---

## [Ansible 2.3.2 RC3 is available for testing](https://forum.ansible.com/t/ansible-2-3-2-rc3-is-available-for-testing/25033)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 3\
**Last updated:** [July 20, 2017, 4:02pm UTC](https://forum.ansible.com/t/ansible-2-3-2-rc3-is-available-for-testing/25033 "2017-07-20T16:02:26Z")

</div>

Hi all, we’re happy to announce that Ansible 2.3.2 RC3 is available for testing. A list of fixes can be found in the CHANGELOG here: https://github.com/ansible/ansible/blob/v2.3.2.0-0.3.rc3/CHANGELOG.md#bugfixes How d…

---

## [Ansible Tower Api extra\_vars containing url address](https://forum.ansible.com/t/ansible-tower-api-extra-vars-containing-url-address/25031)

<div class="topic-metadata">

**Author:** [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 3:02pm UTC](https://forum.ansible.com/t/ansible-tower-api-extra-vars-containing-url-address/25031 "2017-07-20T15:02:25Z")

</div>

For tower questions and support please utilize https://access.redhat.com/products/ansible-tower-red-hat This mailing list is for the open source ansible project.

---

## [Read a text file over https address into variable](https://forum.ansible.com/t/read-a-text-file-over-https-address-into-variable/25024)

<div class="topic-metadata">

**Author:** [@Homayoun\_Najafizadeh](https://forum.ansible.com/u/Homayoun_Najafizadeh)\
**Replies:** 2\
**Last updated:** [July 20, 2017, 2:22pm UTC](https://forum.ansible.com/t/read-a-text-file-over-https-address-into-variable/25024 "2017-07-20T14:22:00Z")

</div>

Hi All, Is there anyway I can download this path via Ansible? curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux…

---

## [problem with pythonpath and ansible\_python\_interpreter](https://forum.ansible.com/t/problem-with-pythonpath-and-ansible-python-interpreter/25030)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 2:13pm UTC](https://forum.ansible.com/t/problem-with-pythonpath-and-ansible-python-interpreter/25030 "2017-07-20T14:13:06Z")

</div>

I think It should not change the execution path, right?

---

## [Ansible raw module cisco error](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872)

<div class="topic-metadata">

**Author:** [@David\_Zheng](https://forum.ansible.com/u/David_Zheng)\
**Replies:** 2\
**Last updated:** [July 20, 2017, 2:04pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872 "2017-07-20T14:04:58Z")

</div>

I have issue with issue command via raw module against cisco device ansible r1 -m raw -a “show vlan brief” SSH password: r1 | SUCCESS | rc=0 \>\> Line has invalid autocommand “show vlan brief” But “show ver/show clock…

---

## [how to update list of dicts in playbook?](https://forum.ansible.com/t/how-to-update-list-of-dicts-in-playbook/25011)

<div class="topic-metadata">

**Author:** [@Riccardo\_Murri](https://forum.ansible.com/u/Riccardo_Murri)\
**Replies:** 1\
**Last updated:** [July 20, 2017, 11:09am UTC](https://forum.ansible.com/t/how-to-update-list-of-dicts-in-playbook/25011 "2017-07-20T11:09:57Z")

</div>

Hello, I would like to write a playbook that does the following: 1. Read a list of source URLs + other meta-data, e.g.: sources: - name: CentOS 6 source: http://cloud.centos.org/centos/6/images/CentOS-6-x86\_64-G…

---

## [get gs\_access\_key and gs\_secret\_key in gc\_storage module](https://forum.ansible.com/t/get-gs-access-key-and-gs-secret-key-in-gc-storage-module/25026)

<div class="topic-metadata">

**Author:** [@Eka\_Cahya\_Pratama](https://forum.ansible.com/u/Eka_Cahya_Pratama)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 9:35am UTC](https://forum.ansible.com/t/get-gs-access-key-and-gs-secret-key-in-gc-storage-module/25026 "2017-07-20T09:35:09Z")

</div>

Hi I’m trying to download non public file in google cloud bucket using gc\_storage module but I can’t get the gs\_access\_key and gs\_secret\_key required by gc\_storage module to operate. How I can get gs\_access\_key and gs\_se…

---

## [FQDN in playbook but not in inventory file - skipping: no hosts matched](https://forum.ansible.com/t/fqdn-in-playbook-but-not-in-inventory-file-skipping-no-hosts-matched/25025)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 0\
**Last updated:** [July 20, 2017, 7:10am UTC](https://forum.ansible.com/t/fqdn-in-playbook-but-not-in-inventory-file-skipping-no-hosts-matched/25025 "2017-07-20T07:10:44Z")

</div>

Hi all, When specifying an host in the playbook itself but not in the inventory file, I get the message ‘skipping: no hosts matched.’ When I pass the host via: ansible-playbook playbook.yml -i hostname, All is just w…

---

## [Additional argument to git module?](https://forum.ansible.com/t/additional-argument-to-git-module/25023)

<div class="topic-metadata">

**Author:** [@Denise\_Draper](https://forum.ansible.com/u/Denise_Draper)\
**Replies:** 1\
**Last updated:** [July 19, 2017, 10:35pm UTC](https://forum.ansible.com/t/additional-argument-to-git-module/25023 "2017-07-19T22:35:41Z")

</div>

I need to be able to supply git clone with the additional argument --no-single-branches, which is not supported directly by the ansible git module. Is there an easy way to work around this? thanks, denise

---

## [Difference between import and include statements](https://forum.ansible.com/t/difference-between-import-and-include-statements/25022)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [July 19, 2017, 9:39pm UTC](https://forum.ansible.com/t/difference-between-import-and-include-statements/25022 "2017-07-19T21:39:24Z")

</div>

I read on the changelog for 2.4: New import/include keywords to replace the old bare include directives. The use of static: {yes|no} on such includes is now deprecated. Using import\_\* (import\_playbook, import\_tasks, i…

---

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

<div class="topic-metadata">

**Author:** [@Ghouse\_Basha](https://forum.ansible.com/u/Ghouse_Basha)\
**Replies:** 0\
**Last updated:** [July 19, 2017, 6:42pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/25020 "2017-07-19T18:42:58Z")

</div>

Hi, I am using ansible windows and would like to know about manifest file creation. Regards, Ghouse

---

## [Type string error with mariadb master slave replication setup using mysql\_replication module.](https://forum.ansible.com/t/type-string-error-with-mariadb-master-slave-replication-setup-using-mysql-replication-module/25007)

<div class="topic-metadata">

**Author:** [@Alex\_Lien](https://forum.ansible.com/u/Alex_Lien)\
**Replies:** 2\
**Last updated:** [July 19, 2017, 4:54pm UTC](https://forum.ansible.com/t/type-string-error-with-mariadb-master-slave-replication-setup-using-mysql-replication-module/25007 "2017-07-19T16:54:41Z")

</div>

Hi, I am trying to setup master-slave replication on mariadb 10.2. I am running ansible version 2.3.1.0. When running the playbook, I received errors about argument of type string. This is very odd because from the outp…

---

## [Ansible support](https://forum.ansible.com/t/ansible-support/25019)

<div class="topic-metadata">

**Author:** [@Mehul\_Prajapati](https://forum.ansible.com/u/Mehul_Prajapati)\
**Replies:** 4\
**Last updated:** [July 19, 2017, 4:38pm UTC](https://forum.ansible.com/t/ansible-support/25019 "2017-07-19T16:38:02Z")

</div>

Hello, Does Ansible have enterprise version or is completely Opensource and free to use with no license. We are looking to implement Ansible in our organization and am gathering some info on If ansible has any enterpr…

---

## [Ansible Error : Error while linking: \[Errno 13\] Permission denied](https://forum.ansible.com/t/ansible-error-error-while-linking-errno-13-permission-denied/24973)

<div class="topic-metadata">

**Author:** [@swapnil\_bendekar](https://forum.ansible.com/u/swapnil_bendekar)\
**Replies:** 8\
**Last updated:** [July 19, 2017, 11:58am UTC](https://forum.ansible.com/t/ansible-error-error-while-linking-errno-13-permission-denied/24973 "2017-07-19T11:58:57Z")

</div>

Hello Folks, With Ansible(2.3.0.0) and python(2.6.6), executing ansible playbook from webadmin user. Using remote\_user = ansible (in ansible.cfg )for passwordless authentication. While creating symlink, getting Error …

---

## [what's wrong here?](https://forum.ansible.com/t/whats-wrong-here/25015)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 2\
**Last updated:** [July 19, 2017, 10:50am UTC](https://forum.ansible.com/t/whats-wrong-here/25015 "2017-07-19T10:50:38Z")

</div>

blockinfile: path: /etc/apache2/sites-enabled/“{{ item }}”.php.qarea.org.conf block: | AssignUserId “{{ item }}” “{{ item }}” insertbefore: with\_items: “{{ sites }}” TASK \[blockinfile\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Parsing table](https://forum.ansible.com/t/parsing-table/25010)

<div class="topic-metadata">

**Author:** [@Vedran\_Mikac](https://forum.ansible.com/u/Vedran_Mikac)\
**Replies:** 1\
**Last updated:** [July 19, 2017, 10:26am UTC](https://forum.ansible.com/t/parsing-table/25010 "2017-07-19T10:26:41Z")

</div>

Hello! How can I parse ID from the table below using ansible? Command listObservers is being run in CLI from proprietary tool, and I cannot grep / awk / cut / tail / head output.

---

## [AWS module woes in Ansible](https://forum.ansible.com/t/aws-module-woes-in-ansible/25016)

<div class="topic-metadata">

**Author:** [@Steve2](https://forum.ansible.com/u/Steve2)\
**Replies:** 3\
**Last updated:** [July 18, 2017, 11:06pm UTC](https://forum.ansible.com/t/aws-module-woes-in-ansible/25016 "2017-07-18T23:06:32Z")

</div>

Hi Ansible peeps, Trying to get an AWS modules working in an Ansible playbook. Specifically I want to create a VPC using an Ansible playbook, but no matter what I do, always get the error: ERROR! ‘ec2\_vpc\_net’ is not a…

---

## [Ansible 2.0 -- "shade is required for this module"](https://forum.ansible.com/t/ansible-2-0-shade-is-required-for-this-module/18891)

<div class="topic-metadata">

**Author:** [@Chris\_Gordon](https://forum.ansible.com/u/Chris_Gordon)\
**Replies:** 13\
**Last updated:** [July 18, 2017, 3:13pm UTC](https://forum.ansible.com/t/ansible-2-0-shade-is-required-for-this-module/18891 "2017-07-18T15:13:34Z")

</div>

I’m trying to use the os\_server module in Ansible 2.0 and get the following error: fatal: \[jump\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “shade is required for this module”} Here’s what I have: Python 2…

---

## [how to debug an ansible module](https://forum.ansible.com/t/how-to-debug-an-ansible-module/24949)

<div class="topic-metadata">

**Author:** [@Margin\_Hu](https://forum.ansible.com/u/Margin_Hu)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 2:25pm UTC](https://forum.ansible.com/t/how-to-debug-an-ansible-module/24949 "2017-07-18T14:25:22Z")

</div>

Hi Guys, how to debug an ansible module ? I find http://docs.ansible.com/ansible/dev\_guide/developing\_modules.html, but failed to run it as following. how do you do testing when develop one module ? \[root@server120 an…

---

## [am new  to  ansible  need  assistance](https://forum.ansible.com/t/am-new-to-ansible-need-assistance/24997)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 3\
**Last updated:** [July 18, 2017, 2:13pm UTC](https://forum.ansible.com/t/am-new-to-ansible-need-assistance/24997 "2017-07-18T14:13:59Z")

</div>

Hi Admins and Friends Am new to ansible can some one please guide how and where to start, and also let me know how to write yaml codding effectively any books or links Regards Kannappan M

---

## [Roles vs Playbooks vs Groups](https://forum.ansible.com/t/roles-vs-playbooks-vs-groups/25013)

<div class="topic-metadata">

**Author:** [@Hans\_Fritz](https://forum.ansible.com/u/Hans_Fritz)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 1:19pm UTC](https://forum.ansible.com/t/roles-vs-playbooks-vs-groups/25013 "2017-07-18T13:19:48Z")

</div>

I’m confused about roles vs playbooks vs groups in the inventory. I have written a role that I called base. It’s a role I that configures any box I want to use, it sets basic things like the SSH server, automatic update…

---

## [Control Ansible Logs](https://forum.ansible.com/t/control-ansible-logs/25012)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 12:07pm UTC](https://forum.ansible.com/t/control-ansible-logs/25012 "2017-07-18T12:07:44Z")

</div>

Hello, is there any way to suppress some part of the log which is printing on console while Ansible playbook execution.I want to fetch only the output returned from the script. I do not prefer to see the following outp…

---

## [Alternative for blockinfile in Ansible 1.9](https://forum.ansible.com/t/alternative-for-blockinfile-in-ansible-1-9/24981)

<div class="topic-metadata">

**Author:** [@Selvakumar\_Ponnusamy](https://forum.ansible.com/u/Selvakumar_Ponnusamy)\
**Replies:** 3\
**Last updated:** [July 18, 2017, 7:48am UTC](https://forum.ansible.com/t/alternative-for-blockinfile-in-ansible-1-9/24981 "2017-07-18T07:48:38Z")

</div>

I know we can use blockinfile in Ansible 2. Is there any way to achieve same in Ansible 1.9

---

## [what should I do for "Shippable — Run 28860 status is FAILED."](https://forum.ansible.com/t/what-should-i-do-for-shippable-run-28860-status-is-failed/24994)

<div class="topic-metadata">

**Author:** [@Megan\_Liu](https://forum.ansible.com/u/Megan_Liu)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 3:36am UTC](https://forum.ansible.com/t/what-should-i-do-for-shippable-run-28860-status-is-failed/24994 "2017-07-18T03:36:50Z")

</div>

I am new to ansiable and try to commit a new module into ansible. However, I got information “Shippable — Run 28860 status is FAILED.” What should I do ? Thanks

---

## [Error while linking: \[Errno 13\] Permission denied](https://forum.ansible.com/t/error-while-linking-errno-13-permission-denied/24962)

<div class="topic-metadata">

**Author:** [@Swapnil\_Bendekar1](https://forum.ansible.com/u/Swapnil_Bendekar1)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 3:33am UTC](https://forum.ansible.com/t/error-while-linking-errno-13-permission-denied/24962 "2017-07-18T03:33:44Z")

</div>

Hello Folks, With Ansible(2.3.0.0) and python(2.6.6), executing ansible playbook from webadmin user. Using remote\_user = ansible (in ansible.cfg )for passwordless authentication. While creating symlink, getting Error …

---

## [Package module and cache updates](https://forum.ansible.com/t/package-module-and-cache-updates/25006)

<div class="topic-metadata">

**Author:** [@Hans\_Fritz](https://forum.ansible.com/u/Hans_Fritz)\
**Replies:** 1\
**Last updated:** [July 18, 2017, 2:07am UTC](https://forum.ansible.com/t/package-module-and-cache-updates/25006 "2017-07-18T02:07:00Z")

</div>

When using the package module, how can I make sure the cache has been updated? It would seem that state: latest implies a cache refresh; but it doesn’t seem to actually be the case from my testing. Is there a way to ins…

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

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