# Ansible Project

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

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

**Page:** 150

---

## [Ansible - How get status of all users on my Active Directory Windows](https://forum.ansible.com/t/ansible-how-get-status-of-all-users-on-my-active-directory-windows/31979)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 0\
**Last updated:** [January 15, 2020, 10:32am UTC](https://forum.ansible.com/t/ansible-how-get-status-of-all-users-on-my-active-directory-windows/31979 "2020-01-15T10:32:20Z")

</div>

Hello Guy !! :slight\_smile: I want to know how get status of all users on my Active Directory Windows. So i want to know if the user has status enabled or disabled on my Active Directory I know there is this ansible w…

---

## [How to print all matched strings using Ansible regex](https://forum.ansible.com/t/how-to-print-all-matched-strings-using-ansible-regex/31977)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [January 15, 2020, 6:07am UTC](https://forum.ansible.com/t/how-to-print-all-matched-strings-using-ansible-regex/31977 "2020-01-15T06:07:03Z")

</div>

I wish to match all lines that begin with SSLFile or SSLFile in a file httpd.conf on a remote server and store the matched found strings in a variable for use later in the playbook. Below is what i did. \` name: Find…

---

## [parameterized roles which can import 1 or multiple dashboards based on requirements](https://forum.ansible.com/t/parameterized-roles-which-can-import-1-or-multiple-dashboards-based-on-requirements/31976)

<div class="topic-metadata">

**Author:** [@anilkumar\_panditi](https://forum.ansible.com/u/anilkumar_panditi)\
**Replies:** 0\
**Last updated:** [January 15, 2020, 4:22am UTC](https://forum.ansible.com/t/parameterized-roles-which-can-import-1-or-multiple-dashboards-based-on-requirements/31976 "2020-01-15T04:22:44Z")

</div>

I have following ansible playbook ,which will import few dashboards in an iteration, but i am trying to import dashboard based on input parameter(like kafka,kubernetes etc). could anyone help please. -Playbook:

---

## [ansible communication to windows](https://forum.ansible.com/t/ansible-communication-to-windows/31975)

<div class="topic-metadata">

**Author:** [@Olivier\_SECRET](https://forum.ansible.com/u/Olivier_SECRET)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 10:25pm UTC](https://forum.ansible.com/t/ansible-communication-to-windows/31975 "2020-01-14T22:25:06Z")

</div>

Hello, I discovered ansible recently. I would like to use the ansible for the deployment of software on a fleet under Windows 7 and 10. I plan to use CredSSP authentication in order to use a local account on the targe…

---

## [ansible communication to windows](https://forum.ansible.com/t/ansible-communication-to-windows/31974)

<div class="topic-metadata">

**Author:** [@Olivier\_SECRET](https://forum.ansible.com/u/Olivier_SECRET)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 10:02pm UTC](https://forum.ansible.com/t/ansible-communication-to-windows/31974 "2020-01-14T22:02:48Z")

</div>

Hello, I discovered ansible recently. I would like to use the ansible for the deployment of software on a fleet under Windows 7 and 10. I plan to use CredSSP authentication in order to use a local account on the targe…

---

## [debug msg ignore other results.](https://forum.ansible.com/t/debug-msg-ignore-other-results/31963)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 3\
**Last updated:** [January 14, 2020, 8:12pm UTC](https://forum.ansible.com/t/debug-msg-ignore-other-results/31963 "2020-01-14T20:12:24Z")

</div>

Hello Team, I am iterating register result using debug and loop but it prints other variable result as well how to ignore that one while printing value which I want Below is the sample results. Cloud you please help me …

---

## [ansible ignore\_errors: yes](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 2\
**Last updated:** [January 14, 2020, 8:01pm UTC](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969 "2020-01-14T20:01:35Z")

</div>

Hey community Ansible !! :slight\_smile: I would like to know if possible there is a parameter same ignore\_errors but not display on screen message error in red … The problem with ignore\_errors: yes is that when there i…

---

## [Ansible ios\_command: copy tftp: flash: keeps sending IOS file data until timeout](https://forum.ansible.com/t/ansible-ios-command-copy-tftp-flash-keeps-sending-ios-file-data-until-timeout/30579)

<div class="topic-metadata">

**Author:** [@Frankie\_Soto](https://forum.ansible.com/u/Frankie_Soto)\
**Replies:** 3\
**Last updated:** [January 14, 2020, 4:18pm UTC](https://forum.ansible.com/t/ansible-ios-command-copy-tftp-flash-keeps-sending-ios-file-data-until-timeout/30579 "2020-01-14T16:18:19Z")

</div>

Hi! I am trying to automate the process of upgrading IOS on Cisco devices. Everything seems to be working fine until the process of copying the file begins. The issue I am encountering is that ansible keeps sending da…

---

## [Create file who is in my csv file](https://forum.ansible.com/t/create-file-who-is-in-my-csv-file/31957)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 8\
**Last updated:** [January 14, 2020, 4:14pm UTC](https://forum.ansible.com/t/create-file-who-is-in-my-csv-file/31957 "2020-01-14T16:14:43Z")

</div>

Hey all !! :slight\_smile: I have csv file with this content : filename,state,note,temps file1,0,my fisrt note,52 file2,0,my second note,34 file3,0,my thirst note,71 i have this task : set\_fact: csvfile: “{{ look…

---

## [Question: How to use the same host for multiple groups?](https://forum.ansible.com/t/question-how-to-use-the-same-host-for-multiple-groups/31944)

<div class="topic-metadata">

**Author:** [@Konstantinos\_Tzevele](https://forum.ansible.com/u/Konstantinos_Tzevele)\
**Replies:** 11\
**Last updated:** [January 14, 2020, 1:52pm UTC](https://forum.ansible.com/t/question-how-to-use-the-same-host-for-multiple-groups/31944 "2020-01-14T13:52:13Z")

</div>

Hello, I have the following inventory: Test.inventory \[GroupA\] Host1 \[GroupB\] Host1 GroupA and GroupB contain the same variables but with different values (e.g. filename). It seems that every time the playbook run…

---

## [How to configure prompt with 2 inputs](https://forum.ansible.com/t/how-to-configure-prompt-with-2-inputs/31947)

<div class="topic-metadata">

**Author:** [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Replies:** 4\
**Last updated:** [January 14, 2020, 11:18am UTC](https://forum.ansible.com/t/how-to-configure-prompt-with-2-inputs/31947 "2020-01-14T11:18:25Z")

</div>

Hello Gurus I am working on ios\_command module. This modules facilitates in execute commands on Cisco IOS devices. While running ‘reload’ command it is prompting for 2 inputs, “System configuration has been modified. …

---

## [Running a dynamically generated playbook.](https://forum.ansible.com/t/running-a-dynamically-generated-playbook/31965)

<div class="topic-metadata">

**Author:** [@Anurag\_Negi](https://forum.ansible.com/u/Anurag_Negi)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 10:24am UTC](https://forum.ansible.com/t/running-a-dynamically-generated-playbook/31965 "2020-01-14T10:24:04Z")

</div>

Hi, I have a requirement to run a dynamically generated playbook from a main playbook. The idea is to run only a main playbook which would be generating a sub-playbook and it would be run from one of the tasks in the mai…

---

## [specifying both inventory-file & group from that file](https://forum.ansible.com/t/specifying-both-inventory-file-group-from-that-file/31964)

<div class="topic-metadata">

**Author:** [@Sd\_Neil](https://forum.ansible.com/u/Sd_Neil)\
**Replies:** 2\
**Last updated:** [January 14, 2020, 6:40am UTC](https://forum.ansible.com/t/specifying-both-inventory-file-group-from-that-file/31964 "2020-01-14T06:40:37Z")

</div>

I work with a legacy 2.1 Ansible (mid-migration to 2.9). I have had success specifying my own private hosts (ini) file that contains 2 Groups ( ’ -i ’ ). But I cannot find the 2.1 argument to running a playbook (that ha…

---

## [Issue with redhat\_subscription module](https://forum.ansible.com/t/issue-with-redhat-subscription-module/31959)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 10:44pm UTC](https://forum.ansible.com/t/issue-with-redhat-subscription-module/31959 "2020-01-13T22:44:27Z")

</div>

I suspect that nobody else has run across this particular issue yet. The redhat\_subscription module has an error in it. If you are using pool\_ids then you can either provide a list of ids, or a list of ids with quantitie…

---

## [Unable to git clone on Windows host via win\_shell/win\_command](https://forum.ansible.com/t/unable-to-git-clone-on-windows-host-via-win-shell-win-command/31594)

<div class="topic-metadata">

**Author:** [@Benjamin\_Metzler](https://forum.ansible.com/u/Benjamin_Metzler)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 10:41pm UTC](https://forum.ansible.com/t/unable-to-git-clone-on-windows-host-via-win-shell-win-command/31594 "2020-01-13T22:41:27Z")

</div>

Hi All, I’m hitting a wall wrt to win\_shell and a “git clone”. I am trying to use win\_shell to clone a git repo w/o success. I am getting the below error. \` Using module file /home/user/.local/lib/python2.7/site-packa…

---

## [find windows directory name with version number](https://forum.ansible.com/t/find-windows-directory-name-with-version-number/31960)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 7:52pm UTC](https://forum.ansible.com/t/find-windows-directory-name-with-version-number/31960 "2020-01-13T19:52:21Z")

</div>

Paths are taken literally so it’s trying to find the path \`D:\\Program-Files\\nginx-\*'. So first you need to find the nginx folder then do a win\_find in that folder for the nginx.conf file.

---

## [How to run compliance check using ansible playbooks](https://forum.ansible.com/t/how-to-run-compliance-check-using-ansible-playbooks/31958)

<div class="topic-metadata">

**Author:** [@Gefela\_Gefela](https://forum.ansible.com/u/Gefela_Gefela)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 6:34pm UTC](https://forum.ansible.com/t/how-to-run-compliance-check-using-ansible-playbooks/31958 "2020-01-13T18:34:29Z")

</div>

I have a playbook that is designed to run a compliance on a firewall. However my knowledge of ansible does not extend to configuring variables and conditional statements … This is my github site which has a yaml file us…

---

## [Ansible 2.7 hang during shell execution on PL/SQL](https://forum.ansible.com/t/ansible-2-7-hang-during-shell-execution-on-pl-sql/31878)

<div class="topic-metadata">

**Author:** [@Anthony\_Yeong](https://forum.ansible.com/u/Anthony_Yeong)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 3:29pm UTC](https://forum.ansible.com/t/ansible-2-7-hang-during-shell-execution-on-pl-sql/31878 "2020-01-13T15:29:06Z")

</div>

Posted similar in https://stackoverflow.com/questions/59507221/ansible-2-7-hang-during-shell-execution-on-pl-sql I have the following setup: test.sql: show pdbs; sample.yml (playbook): --- - name: Run SQL test hos…

---

## [calling action plugin](https://forum.ansible.com/t/calling-action-plugin/31956)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 3:10pm UTC](https://forum.ansible.com/t/calling-action-plugin/31956 "2020-01-13T15:10:47Z")

</div>

Hi Team, I know module can be executed from action plugin, however is there a way to call action plugin from a module ? Regards, Punit

---

## [How to use multiple filter in setup module](https://forum.ansible.com/t/how-to-use-multiple-filter-in-setup-module/31890)

<div class="topic-metadata">

**Author:** [@Vikrant\_Agarwal](https://forum.ansible.com/u/Vikrant_Agarwal)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 2:50pm UTC](https://forum.ansible.com/t/how-to-use-multiple-filter-in-setup-module/31890 "2020-01-13T14:50:11Z")

</div>

I want to extract only specific information of the systems using Ansible setup module , like ansible\_memtotal\_mb , ansible\_machine and ansible\_distribution\_version . How to do that in single ansible command ? Regards V…

---

## [New Relic Deployment](https://forum.ansible.com/t/new-relic-deployment/31955)

<div class="topic-metadata">

**Author:** [@Garry\_Taylor](https://forum.ansible.com/u/Garry_Taylor)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 12:49pm UTC](https://forum.ansible.com/t/new-relic-deployment/31955 "2020-01-13T12:49:43Z")

</div>

Hello, I have been using this module for several years now, to record a deployment in New Relic https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/monitoring/newrelic\_deployment.py I now see on the New …

---

## [Ansible: Debug and iteration](https://forum.ansible.com/t/ansible-debug-and-iteration/31952)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 8:14am UTC](https://forum.ansible.com/t/ansible-debug-and-iteration/31952 "2020-01-13T08:14:45Z")

</div>

Hello Team, I am trying to iteration register value and print that value using debug but I unable to achieve the result which I want to get it. Below is the register value in that I like to get value of “lifecycle\_state…

---

## [Run multipul powershell commands with ansible vm\_shell](https://forum.ansible.com/t/run-multipul-powershell-commands-with-ansible-vm-shell/31950)

<div class="topic-metadata">

**Author:** [@batchenr](https://forum.ansible.com/u/batchenr)\
**Replies:** 5\
**Last updated:** [January 12, 2020, 9:25pm UTC](https://forum.ansible.com/t/run-multipul-powershell-commands-with-ansible-vm-shell/31950 "2020-01-12T21:25:20Z")

</div>

Im using Ansible 2.9.2, I need to run 3 powershell command one after the other. My playbook : tasks: - name: "User Create" local\_action: module: vmware\_vm\_shell cluster: "{{ cluster }}" …

---

## [module\_defaults not working](https://forum.ansible.com/t/module-defaults-not-working/31949)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 0\
**Last updated:** [January 12, 2020, 1:19pm UTC](https://forum.ansible.com/t/module-defaults-not-working/31949 "2020-01-12T13:19:55Z")

</div>

Hi, I have a playbook which imports custom role and passes required attributes. My requirement is to pass only required attributes and role specify remaining. below is explained in detail. playbook

---

## [Ansible for windows](https://forum.ansible.com/t/ansible-for-windows/31942)

<div class="topic-metadata">

**Author:** [@Arjan\_Goos](https://forum.ansible.com/u/Arjan_Goos)\
**Replies:** 1\
**Last updated:** [January 12, 2020, 11:01am UTC](https://forum.ansible.com/t/ansible-for-windows/31942 "2020-01-12T11:01:25Z")

</div>

Hi, Is it possible to create itemType Junction (symbolic link) . I want something like this: New-Item -ItemType Junction -Path D:\\Program-Files\\website-Name conf -Target D:\\Data\\Website\\conf Groeten, Arjan

---

## [output of list\_vms does not have stdout](https://forum.ansible.com/t/output-of-list-vms-does-not-have-stdout/31948)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 1\
**Last updated:** [January 12, 2020, 6:46am UTC](https://forum.ansible.com/t/output-of-list-vms-does-not-have-stdout/31948 "2020-01-12T06:46:51Z")

</div>

So I have the following tasks name: get running guests virt: command: "list\_vms" register: vms when: test\_kvm |default(False) - name: List running guests debug: msg: "{{ vms }}" when: test\_kvm …

---

## [shell: umask 0022 not working](https://forum.ansible.com/t/shell-umask-0022-not-working/31943)

<div class="topic-metadata">

**Author:** [@Masudur\_Rahman](https://forum.ansible.com/u/Masudur_Rahman)\
**Replies:** 3\
**Last updated:** [January 11, 2020, 7:35am UTC](https://forum.ansible.com/t/shell-umask-0022-not-working/31943 "2020-01-11T07:35:38Z")

</div>

Can anyone help me to set umask 0022. I’m always getting 0027 after executing playbook run. Error: fatal: \[\*\*\*\*\*\*\*\*\]: FAILED! =\> {"changed": true, "cmd": "./installer-binary.run --mode text --disable\_glibcxx\_version\_c…

---

## [equality not consistent](https://forum.ansible.com/t/equality-not-consistent/31752)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 2\
**Last updated:** [January 11, 2020, 6:40am UTC](https://forum.ansible.com/t/equality-not-consistent/31752 "2020-01-11T06:40:56Z")

</div>

I assume I’m making some strange error here, but I cannot figure out what the error is. I have a “changed\_when” clause I’ve constructed that never seems to work. However, if I take out the clause into its own debug stat…

---

## [Dynamic inventory for Ansible Controller on Google Cloud and nodes on AWS.](https://forum.ansible.com/t/dynamic-inventory-for-ansible-controller-on-google-cloud-and-nodes-on-aws/31945)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 8:34pm UTC](https://forum.ansible.com/t/dynamic-inventory-for-ansible-controller-on-google-cloud-and-nodes-on-aws/31945 "2020-01-09T20:34:40Z")

</div>

This should work https://docs.ansible.com/ansible/latest/plugins/inventory/aws\_ec2.html , but im not sure what your issue is.

---

## [ERROR! Unexpected Exception, this is probably a bug: 'module' object has no attribute 'packages'](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-object-has-no-attribute-packages/31901)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 8:30pm UTC](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-object-has-no-attribute-packages/31901 "2020-01-09T20:30:07Z")

</div>

Hello ansible temp -a uptime -vvv ansible 2.9.1 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python module…

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

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