# Ansible Project

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

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

**Page:** 318

---

## [win\_package - missing product id error](https://forum.ansible.com/t/win-package-missing-product-id-error/22329)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 8\
**Last updated:** [August 25, 2017, 10:37pm UTC](https://forum.ansible.com/t/win-package-missing-product-id-error/22329 "2017-08-25T22:37:51Z")

</div>

Trying to install notepad onto a windows 2012 server and getting an error “Missing required arguement: product\_id” Do I have to go lookup a product id for every .exe I want to install? Where do I get this? -notepad.ym…

---

## [if one package fails all other non dependent packages installation fails in ansible](https://forum.ansible.com/t/if-one-package-fails-all-other-non-dependent-packages-installation-fails-in-ansible/25295)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 25, 2017, 8:53pm UTC](https://forum.ansible.com/t/if-one-package-fails-all-other-non-dependent-packages-installation-fails-in-ansible/25295 "2017-08-25T20:53:16Z")

</div>

TASK \[get python-yum and python-curl\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* …ignoring failed: \[192.168.211.131\] (item=\[u’p…

---

## [Filtering on a Template variable](https://forum.ansible.com/t/filtering-on-a-template-variable/25327)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 2\
**Last updated:** [August 25, 2017, 7:50pm UTC](https://forum.ansible.com/t/filtering-on-a-template-variable/25327 "2017-08-25T19:50:38Z")

</div>

How can I filter a variable in a template so that I can extract a fact Trying to get the default ipv4 address from a template template.j2 ipv4 address ((ansible\_default\_ipv4 | grep address}} A similar format will wor…

---

## [add user via adhoc](https://forum.ansible.com/t/add-user-via-adhoc/25318)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 19\
**Last updated:** [August 25, 2017, 6:06pm UTC](https://forum.ansible.com/t/add-user-via-adhoc/25318 "2017-08-25T18:06:48Z")

</div>

Hi all I want to add users via commands all - user -a “name=test password=test” -s -K is not workingplease help. .

---

## [How to get all available inventory options?](https://forum.ansible.com/t/how-to-get-all-available-inventory-options/25335)

<div class="topic-metadata">

**Author:** [@Justin3](https://forum.ansible.com/u/Justin3)\
**Replies:** 1\
**Last updated:** [August 25, 2017, 4:38pm UTC](https://forum.ansible.com/t/how-to-get-all-available-inventory-options/25335 "2017-08-25T16:38:38Z")

</div>

I’ve searched quick a bit, and either I don’t know the right terms or it’s not been answered :-p How can I find all available options when setting a host in inventory? I have some heavily loaded windows guests that take…

---

## [iosxr\_config - config change via template file touching multiple sections](https://forum.ansible.com/t/iosxr-config-config-change-via-template-file-touching-multiple-sections/25334)

<div class="topic-metadata">

**Author:** [@Tim\_Nothnagel](https://forum.ansible.com/u/Tim_Nothnagel)\
**Replies:** 0\
**Last updated:** [August 25, 2017, 3:31pm UTC](https://forum.ansible.com/t/iosxr-config-config-change-via-template-file-touching-multiple-sections/25334 "2017-08-25T15:31:02Z")

</div>

Hi all, I have created a template file, which touches multiple sections, among others includes physical interfaces as well as other protocols like BGP. I tried to apply this via ‘src:’, but it seems to replace the enti…

---

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

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [August 25, 2017, 3:23pm UTC](https://forum.ansible.com/t/parsing-output/25333 "2017-08-25T15:23:14Z")

</div>

I have the following output from my debug (using “find”, and the debug output for “files”) \` { “atime”: 1503588437.3974097, “ctime”: 1503588433.7234097, “dev”: 2051, “gid”: 0, “inode”: 21408, “isblk”: false, “is…

---

## [Vagrant next release will fully support inventory changes introduced by Ansible 2.0](https://forum.ansible.com/t/vagrant-next-release-will-fully-support-inventory-changes-introduced-by-ansible-2-0/25331)

<div class="topic-metadata">

**Author:** [@Gilles\_Cornu](https://forum.ansible.com/u/Gilles_Cornu)\
**Replies:** 0\
**Last updated:** [August 25, 2017, 2:48pm UTC](https://forum.ansible.com/t/vagrant-next-release-will-fully-support-inventory-changes-introduced-by-ansible-2-0/25331 "2017-08-25T14:48:14Z")

</div>

Dear Ansiblers! I’m very happy to announce you that the next Vagrant release will fully support Ansible 2.x inventory variables (e.g. ansible\_host instead of ansible\_ssh\_host) and also allow to get rid of deprecation me…

---

## [No logs being sent to Logstash](https://forum.ansible.com/t/no-logs-being-sent-to-logstash/25330)

<div class="topic-metadata">

**Author:** [@Ash\_Powell](https://forum.ansible.com/u/Ash_Powell)\
**Replies:** 1\
**Last updated:** [August 25, 2017, 1:56pm UTC](https://forum.ansible.com/t/no-logs-being-sent-to-logstash/25330 "2017-08-25T13:56:46Z")

</div>

We’ve recently upgraded to Ansible 2.3.2 and Tower 3.1.4 I wanted to get the logs out of Ansible, using the logging aggregator in Tower (following this: http://docs.ansible.com/ansible-tower/latest/html/administration/l…

---

## [Parsing log files with timestamp Ansible](https://forum.ansible.com/t/parsing-log-files-with-timestamp-ansible/25308)

<div class="topic-metadata">

**Author:** [@SARANYA\_devotional\_R](https://forum.ansible.com/u/SARANYA_devotional_R)\
**Replies:** 3\
**Last updated:** [August 25, 2017, 4:25am UTC](https://forum.ansible.com/t/parsing-log-files-with-timestamp-ansible/25308 "2017-08-25T04:25:51Z")

</div>

I would like to search/wait for a string in a recently created file(test\_build\_201708211712.log) which has timestamp. -rw-rw-r-- 1 test test 579 Aug 21 16:00 test\_build\_201708211559.log -rw-rw-r-- 1 test test 579 Aug 2…

---

## [nesting of inventory file and include mechanisms](https://forum.ansible.com/t/nesting-of-inventory-file-and-include-mechanisms/25310)

<div class="topic-metadata">

**Author:** [@Narahari\_n\_Savitha](https://forum.ansible.com/u/Narahari_n_Savitha)\
**Replies:** 5\
**Last updated:** [August 25, 2017, 3:31am UTC](https://forum.ansible.com/t/nesting-of-inventory-file-and-include-mechanisms/25310 "2017-08-25T03:31:28Z")

</div>

Friends: This is my first post, so kindly excuse me if anything I post is not a correct understanding. Thank your for your time and attention to begin with. Consider this folder and file structure the\_env/ ├── ce │…

---

## [Find files starting with \<string\> -- Frustration](https://forum.ansible.com/t/find-files-starting-with-string-frustration/25324)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [August 24, 2017, 10:57pm UTC](https://forum.ansible.com/t/find-files-starting-with-string-frustration/25324 "2017-08-24T22:57:11Z")

</div>

Although my current playbook doesn’t look for ifcfg files directly, I am just trying to grab a list of files and it is failing. I can’t, for the life of me, figure out why. If I change the find: to a command: and then ru…

---

## [Find files starting with \<string\> -- Frustration](https://forum.ansible.com/t/find-files-starting-with-string-frustration/25325)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [August 24, 2017, 10:48pm UTC](https://forum.ansible.com/t/find-files-starting-with-string-frustration/25325 "2017-08-24T22:48:49Z")

</div>

Side question: Where can I find a list of debug output types for my vars (ie. stdout, stdout\_lines, etc)? Each module return different ting, best is to check documentation or just run - debug: var=\<variable name in…

---

## [Win custom modules don't work after update to 2.3.1/2.3.2. How to proceed?](https://forum.ansible.com/t/win-custom-modules-dont-work-after-update-to-2-3-1-2-3-2-how-to-proceed/25303)

<div class="topic-metadata">

**Author:** [@bernard.landon](https://forum.ansible.com/u/bernard.landon)\
**Replies:** 3\
**Last updated:** [August 24, 2017, 9:55pm UTC](https://forum.ansible.com/t/win-custom-modules-dont-work-after-update-to-2-3-1-2-3-2-how-to-proceed/25303 "2017-08-24T21:55:08Z")

</div>

Hi there! I have a number of custom windows modules for Ansible working fine in 2.2. I updated today from 2.3.2. and none of these are working anymore… I saw the same behavior in 2.3.1. I’m thinking the new “windows p…

---

## [adhoc only in local server](https://forum.ansible.com/t/adhoc-only-in-local-server/25323)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 2\
**Last updated:** [August 24, 2017, 5:30pm UTC](https://forum.ansible.com/t/adhoc-only-in-local-server/25323 "2017-08-24T17:30:52Z")

</div>

Hi all, Im working with adhoc commands but I can see that is only working in my local server not doing the task in the remote server. Any ideas? thanks

---

## [flush\_handlers do not... flush handlers?](https://forum.ansible.com/t/flush-handlers-do-not-flush-handlers/25321)

<div class="topic-metadata">

**Author:** [@Tom\_De\_Blende](https://forum.ansible.com/u/Tom_De_Blende)\
**Replies:** 1\
**Last updated:** [August 24, 2017, 1:44pm UTC](https://forum.ansible.com/t/flush-handlers-do-not-flush-handlers/25321 "2017-08-24T13:44:50Z")

</div>

Hi all, I have a playbook with different role sections. Each section runs the same role, but with different variables. Now if one role signals a handler to restart a service with a variable name, only the first service …

---

## [Ansible-container build is failing with Permissions error](https://forum.ansible.com/t/ansible-container-build-is-failing-with-permissions-error/25320)

<div class="topic-metadata">

**Author:** [@ManiGandan\_T](https://forum.ansible.com/u/ManiGandan_T)\
**Replies:** 1\
**Last updated:** [August 24, 2017, 12:49pm UTC](https://forum.ansible.com/t/ansible-container-build-is-failing-with-permissions-error/25320 "2017-08-24T12:49:56Z")

</div>

Hi Team, I have been working on nodejs application installation through ansible-container. I have configured all the code in container and main.yml. While i test run the ansible-container --debug build command , i am fa…

---

## [Install and use Ansible with a non-root account](https://forum.ansible.com/t/install-and-use-ansible-with-a-non-root-account/25316)

<div class="topic-metadata">

**Author:** [@Joaquin\_Tejada](https://forum.ansible.com/u/Joaquin_Tejada)\
**Replies:** 2\
**Last updated:** [August 24, 2017, 9:59am UTC](https://forum.ansible.com/t/install-and-use-ansible-with-a-non-root-account/25316 "2017-08-24T09:59:23Z")

</div>

Hello everyone. I need a little help. I’ve been looking for a document that states or indicates what type of user access is required to install and use Ansible. Can anyone point me to that direction? Bottom line, I want…

---

## [debugging nested list](https://forum.ansible.com/t/debugging-nested-list/25317)

<div class="topic-metadata">

**Author:** [@Henry\_Medina](https://forum.ansible.com/u/Henry_Medina)\
**Replies:** 1\
**Last updated:** [August 24, 2017, 8:04am UTC](https://forum.ansible.com/t/debugging-nested-list/25317 "2017-08-24T08:04:41Z")

</div>

Hello Folks, I have a debugging question that has left me scratching my head. I have a vars file with the following vars (using ansible 2.3.2.0): packages1: one: version: “one-ish” two: version: “two-ish”

---

## [sudoers.d file with template and validate is failing](https://forum.ansible.com/t/sudoers-d-file-with-template-and-validate-is-failing/25319)

<div class="topic-metadata">

**Author:** [@Tyler\_K](https://forum.ansible.com/u/Tyler_K)\
**Replies:** 1\
**Last updated:** [August 24, 2017, 6:33am UTC](https://forum.ansible.com/t/sudoers-d-file-with-template-and-validate-is-failing/25319 "2017-08-24T06:33:37Z")

</div>

I have a task that is supposed to use a template to create a sudoers.d file and validate it. When the play runs it fails because of the validation. But when I create the file without validation and then validate the file…

---

## [Ansible facts from command line - drill down](https://forum.ansible.com/t/ansible-facts-from-command-line-drill-down/25315)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 7:34pm UTC](https://forum.ansible.com/t/ansible-facts-from-command-line-drill-down/25315 "2017-08-23T19:34:44Z")

</div>

Running this from command link - ansible all -m setup -a ‘filter=ansible\_default\_ipv4\*’ The output is 127.0.0.1 | SUCCESS =\> { “ansible\_facts”: { “ansible\_default\_ipv4”: { “address”: “192.168.150.129”, “alias”: “e…

---

## [Referencing roles within a module?](https://forum.ansible.com/t/referencing-roles-within-a-module/25314)

<div class="topic-metadata">

**Author:** [@josphill](https://forum.ansible.com/u/josphill)\
**Replies:** 2\
**Last updated:** [August 23, 2017, 6:26pm UTC](https://forum.ansible.com/t/referencing-roles-within-a-module/25314 "2017-08-23T18:26:46Z")

</div>

First off, I am pretty new to Ansible roles, so please bear with me. There is a set of roles in a module (GitHub - redhat-cop/casl-ansible: Ansible automation for Managing OpenShift Container Platform clusters), and I wa…

---

## [Inconsistency in variable interpretation in ignore\_errors when combined with with\_items ...](https://forum.ansible.com/t/inconsistency-in-variable-interpretation-in-ignore-errors-when-combined-with-with-items/25282)

<div class="topic-metadata">

**Author:** [@G\_Sudduth](https://forum.ansible.com/u/G_Sudduth)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 4:10pm UTC](https://forum.ansible.com/t/inconsistency-in-variable-interpretation-in-ignore-errors-when-combined-with-with-items/25282 "2017-08-23T16:10:30Z")

</div>

Hi, So, I have a task …

---

## [win\_get\_url terrible performance, help on metric gathering and troubleshooting?](https://forum.ansible.com/t/win-get-url-terrible-performance-help-on-metric-gathering-and-troubleshooting/25312)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 1:36pm UTC](https://forum.ansible.com/t/win-get-url-terrible-performance-help-on-metric-gathering-and-troubleshooting/25312 "2017-08-23T13:36:12Z")

</div>

I have an IIS web server and 13 Windows 7 computers on the same VLAN. On each Windows 7 computer I want to win\_get\_url a 182M file from the IIS server. Here is the ansible play name: download installer files win\_get…

---

## [Ansible on Windows (with credssp) running into issues.](https://forum.ansible.com/t/ansible-on-windows-with-credssp-running-into-issues/25311)

<div class="topic-metadata">

**Author:** [@Vishnu\_V\_Potti](https://forum.ansible.com/u/Vishnu_V_Potti)\
**Replies:** 1\
**Last updated:** [August 23, 2017, 1:26pm UTC](https://forum.ansible.com/t/ansible-on-windows-with-credssp-running-into-issues/25311 "2017-08-23T13:26:30Z")

</div>

Hi, I am trying to control a windows 2016 server host using Ansible control machine( CentOS) I followed the steps mentioned in http://docs.ansible.com/ansible/latest/intro\_windows.html#id18 But I ran into issues and n…

---

## [Ansible role dependcies/requirements.yml](https://forum.ansible.com/t/ansible-role-dependcies-requirements-yml/25306)

<div class="topic-metadata">

**Author:** [@smitconsultant2017](https://forum.ansible.com/u/smitconsultant2017)\
**Replies:** 3\
**Last updated:** [August 23, 2017, 10:04am UTC](https://forum.ansible.com/t/ansible-role-dependcies-requirements-yml/25306 "2017-08-23T10:04:30Z")

</div>

Hi How can I use/configure requirements.yml? I have configured roles for all 3 groups , one role for each group. Inside every role/tasks/main.yml I have include file include: status check playbook.yml Master playbook…

---

## [Non Standard SSH Login](https://forum.ansible.com/t/non-standard-ssh-login/25225)

<div class="topic-metadata">

**Author:** [@Lupe\_Silva](https://forum.ansible.com/u/Lupe_Silva)\
**Replies:** 5\
**Last updated:** [August 23, 2017, 3:24am UTC](https://forum.ansible.com/t/non-standard-ssh-login/25225 "2017-08-23T03:24:09Z")

</div>

I am looking to use ansible with my Dell X1000 series switches. There is no network modules for these switches which is fine for me. I plan to use the raw module. My issue is that when you connect to these switches via …

---

## [Plugins and roles](https://forum.ansible.com/t/plugins-and-roles/25299)

<div class="topic-metadata">

**Author:** [@Stiv\_Ostenberg](https://forum.ansible.com/u/Stiv_Ostenberg)\
**Replies:** 5\
**Last updated:** [August 22, 2017, 11:22pm UTC](https://forum.ansible.com/t/plugins-and-roles/25299 "2017-08-22T23:22:34Z")

</div>

Having a devil of a time writing my first plugin. The idea is simple, but the examples I find are not helping as much as I had hoped. First off, to make life more interesting, the plugin is one that is needed for a role…

---

## [ERROR! Unexpected Exception: No module named jinja2.exceptions](https://forum.ansible.com/t/error-unexpected-exception-no-module-named-jinja2-exceptions/25309)

<div class="topic-metadata">

**Author:** [@Colin\_L](https://forum.ansible.com/u/Colin_L)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 10:08pm UTC](https://forum.ansible.com/t/error-unexpected-exception-no-module-named-jinja2-exceptions/25309 "2017-08-22T22:08:34Z")

</div>

Hello, I am pretty new to the linux world and have been tasked with learning ansible and setting it up in our environment. Version info: RHEL: 6.9 Python: 2.6.6 Ansible: 2.3.1 I have intalled it via YUM, and confir…

---

## [How to call roles & specify tags for those roles](https://forum.ansible.com/t/how-to-call-roles-specify-tags-for-those-roles/25274)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 7\
**Last updated:** [August 22, 2017, 3:45pm UTC](https://forum.ansible.com/t/how-to-call-roles-specify-tags-for-those-roles/25274 "2017-08-22T15:45:44Z")

</div>

Trying to run an example from the ansible docs, and it seems to always run both the tagged portions of the playbook… Am I missing how calling a role with tags is supposed to be used? Ansible docs - http://docs.ansible…

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

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