# Ansible Project

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

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

**Page:** 74

---

## [How to run ansible roles in parallel](https://forum.ansible.com/t/how-to-run-ansible-roles-in-parallel/35333)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 9:33am UTC](https://forum.ansible.com/t/how-to-run-ansible-roles-in-parallel/35333 "2021-06-11T09:33:19Z")

</div>

I’m on the latest version of ansible and python I wrote a testcase depicting the issue I m facing. I run the below shell-script and pass three application names each of which is an ansible role that executes task on th…

---

## [Setup config](https://forum.ansible.com/t/setup-config/35307)

<div class="topic-metadata">

**Author:** [@pushpa\_Vincent](https://forum.ansible.com/u/pushpa_Vincent)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 8:07am UTC](https://forum.ansible.com/t/setup-config/35307 "2021-06-11T08:07:55Z")

</div>

Hi… I have tested the ansible script from virtual machine…Installing have done.but I am having doubt in setup configuration.can you help me for the setup config. thanks, pushpa (attachments)

---

## [strange thing about vmware\_gueest module](https://forum.ansible.com/t/strange-thing-about-vmware-gueest-module/35330)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 7:18am UTC](https://forum.ansible.com/t/strange-thing-about-vmware-gueest-module/35330 "2021-06-11T07:18:37Z")

</div>

hello, list! ansible 2.9 I have this in my playbook: name: Create a virtual machine on given ESXi hostname vmware\_guest: hostname: “some” username: “someone” password: “somepass” template: “{{ vmtemplate }}” va…

---

## [Ansible-4.1.0 release](https://forum.ansible.com/t/ansible-4-1-0-release/35327)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 8:40pm UTC](https://forum.ansible.com/t/ansible-4-1-0-release/35327 "2021-06-10T20:40:54Z")

</div>

Hi all, We're happy to announce that the ansible-4.1.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. How to get it

---

## [Execute playbook on multiple users in the same host](https://forum.ansible.com/t/execute-playbook-on-multiple-users-in-the-same-host/35320)

<div class="topic-metadata">

**Author:** [@Krishna\_P](https://forum.ansible.com/u/Krishna_P)\
**Replies:** 6\
**Last updated:** [June 10, 2021, 4:45pm UTC](https://forum.ansible.com/t/execute-playbook-on-multiple-users-in-the-same-host/35320 "2021-06-10T16:45:55Z")

</div>

Hi, can anyone help me, how to execute ansible playbook on multiple users in the same host. fine the below my inventory file and playbook: Note: it will execute only app2 if i execute the below playbook but i want to …

---

## [Run task if other has not been run](https://forum.ansible.com/t/run-task-if-other-has-not-been-run/35325)

<div class="topic-metadata">

**Author:** [@Robert\_Polenius\_Ande](https://forum.ansible.com/u/Robert_Polenius_Ande)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 11:28am UTC](https://forum.ansible.com/t/run-task-if-other-has-not-been-run/35325 "2021-06-10T11:28:17Z")

</div>

Hi! I got a problem that I can’t seem to find a solution to on Google. I am by the way very new to using Ansible. My task looks like below: name: Copy file if server in GROUP1. Register output to config\_copied win…

---

## [Group module defaults for community.kubernetes collection modules](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318)

<div class="topic-metadata">

**Author:** [@Erik\_Godding\_Boye](https://forum.ansible.com/u/Erik_Godding_Boye)\
**Replies:** 2\
**Last updated:** [June 9, 2021, 6:12pm UTC](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318 "2021-06-09T18:12:58Z")

</div>

Hi, We have been using group module defaults on k8s Ansible modules. Trying to migrate to FQN on module names (and community.kubernetes collection), I am struggling to make this work. https://docs.ansible.com/ansible/l…

---

## [Start service clarification](https://forum.ansible.com/t/start-service-clarification/35321)

<div class="topic-metadata">

**Author:** [@pushpa\_Vincent](https://forum.ansible.com/u/pushpa_Vincent)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 2:04pm UTC](https://forum.ansible.com/t/start-service-clarification/35321 "2021-06-09T14:04:44Z")

</div>

Hi …this is my doubt about ansible content file…where to use content file in ansible script.let me know please. Thanks, Pushpa.

---

## [Execute python module from ansible?](https://forum.ansible.com/t/execute-python-module-from-ansible/35315)

<div class="topic-metadata">

**Author:** [@John\_Menke](https://forum.ansible.com/u/John_Menke)\
**Replies:** 2\
**Last updated:** [June 9, 2021, 4:16am UTC](https://forum.ansible.com/t/execute-python-module-from-ansible/35315 "2021-06-09T04:16:24Z")

</div>

in python i can do python -m packagename.modulename I am trying this from ansible script and its not finding python

---

## [Vizualizing execution of "include\_tasks" tasks](https://forum.ansible.com/t/vizualizing-execution-of-include-tasks-tasks/35302)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 4\
**Last updated:** [June 8, 2021, 6:12pm UTC](https://forum.ansible.com/t/vizualizing-execution-of-include-tasks-tasks/35302 "2021-06-08T18:12:15Z")

</div>

Hello, When executing a playbook which has “include\_tasks”, I can see the message about the tasks file that’s being included. For example: TASK \[Expand disks and file systems\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* included: /ansible/play…

---

## [How can we host our own Ansible Galaxy server?](https://forum.ansible.com/t/how-can-we-host-our-own-ansible-galaxy-server/24470)

<div class="topic-metadata">

**Author:** [@Daniel\_Andrei\_Minca](https://forum.ansible.com/u/Daniel_Andrei_Minca)\
**Replies:** 8\
**Last updated:** [June 8, 2021, 5:04pm UTC](https://forum.ansible.com/t/how-can-we-host-our-own-ansible-galaxy-server/24470 "2021-06-08T17:04:38Z")

</div>

Hi there, In our company X we have many Ansible roles & playbooks spread among different repositories, all the playbooks follow the Ansible playbook best-practices guide. I’m looking for a way to modularize all those p…

---

## [Using AWS iam\_role with permission boundary](https://forum.ansible.com/t/using-aws-iam-role-with-permission-boundary/35311)

<div class="topic-metadata">

**Author:** [@Alan\_Sparks](https://forum.ansible.com/u/Alan_Sparks)\
**Replies:** 0\
**Last updated:** [June 8, 2021, 4:57pm UTC](https://forum.ansible.com/t/using-aws-iam-role-with-permission-boundary/35311 "2021-06-08T16:57:39Z")

</div>

I’m currently using Ansible 2.9 with the aws cloud module iam\_role to manage roles. I recently pushed a role with a ‘permission boundary’ (module “boundary” attribute). Having needing to delete it, I found that just rem…

---

## [Running python3 script from ansible](https://forum.ansible.com/t/running-python3-script-from-ansible/35299)

<div class="topic-metadata">

**Author:** [@John\_Menke](https://forum.ansible.com/u/John_Menke)\
**Replies:** 2\
**Last updated:** [June 8, 2021, 3:06pm UTC](https://forum.ansible.com/t/running-python3-script-from-ansible/35299 "2021-06-08T15:06:10Z")

</div>

I have a python3 script that i want to run from a playbook that is using the python2 interpreter. Is this possible? -john

---

## ['ansible\_system\_vendor' is undefined](https://forum.ansible.com/t/ansible-system-vendor-is-undefined/35035)

<div class="topic-metadata">

**Author:** [@cloos](https://forum.ansible.com/u/cloos)\
**Replies:** 14\
**Last updated:** [June 8, 2021, 8:33am UTC](https://forum.ansible.com/t/ansible-system-vendor-is-undefined/35035 "2021-06-08T08:33:48Z")

</div>

Hi, we have a playbook that runs once a day on all our Linux hosts. On each day, the same task fails on a different host with “‘ansible\_system\_vendor’ is undefined”. I know that facts are gathered because previous tas…

---

## [Create Oracle Wallet with expect module](https://forum.ansible.com/t/create-oracle-wallet-with-expect-module/35297)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 1\
**Last updated:** [June 8, 2021, 7:59am UTC](https://forum.ansible.com/t/create-oracle-wallet-with-expect-module/35297 "2021-06-08T07:59:49Z")

</div>

Hi, I try to create an Oracle Wallet with expect module. I pass the question and the answer to expect module : Création du Wallet name : “{{ titre\_post\_provision\_oracle\_wallet }} - Création du Wallet” expect: comma…

---

## [Unable to do ssh](https://forum.ansible.com/t/unable-to-do-ssh/35306)

<div class="topic-metadata">

**Author:** [@subrat\_mangaraj](https://forum.ansible.com/u/subrat_mangaraj)\
**Replies:** 0\
**Last updated:** [June 8, 2021, 6:54am UTC](https://forum.ansible.com/t/unable-to-do-ssh/35306 "2021-06-08T06:54:49Z")

</div>

Hello Team, I am trying to connect and run few commands in destination hosts . In between destinatino hosts jump server there. Can you help on this. Ansible.cfg config \[defaults\]: inventory = /etc/ansible/hosts ans…

---

## [help with yaml file](https://forum.ansible.com/t/help-with-yaml-file/35303)

<div class="topic-metadata">

**Author:** [@Vinod\_P](https://forum.ansible.com/u/Vinod_P)\
**Replies:** 1\
**Last updated:** [June 8, 2021, 6:45am UTC](https://forum.ansible.com/t/help-with-yaml-file/35303 "2021-06-08T06:45:32Z")

</div>

Hello All, Need some help with yaml file I am trying to run find command to fetch old IP address from multiple files in /etc directory and replace them with new IP address as follows sudo find /etc -type f -exec sed -…

---

## [Cisco command to clean the switch 'request platform software package clean switch all'](https://forum.ansible.com/t/cisco-command-to-clean-the-switch-request-platform-software-package-clean-switch-all/35301)

<div class="topic-metadata">

**Author:** [@Suneel\_Hegde](https://forum.ansible.com/u/Suneel_Hegde)\
**Replies:** 1\
**Last updated:** [June 8, 2021, 5:13am UTC](https://forum.ansible.com/t/cisco-command-to-clean-the-switch-request-platform-software-package-clean-switch-all/35301 "2021-06-08T05:13:46Z")

</div>

I am trying to execute the command from ansible to clean the cisco switch after the upgrade, everything worked and switch got upgrade. but this command is not working to clean the switch test-switch#request platform so…

---

## [Passing IP address from one playbook to another playbook](https://forum.ansible.com/t/passing-ip-address-from-one-playbook-to-another-playbook/35288)

<div class="topic-metadata">

**Author:** [@Rajaniesh\_Kaushikk](https://forum.ansible.com/u/Rajaniesh_Kaushikk)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 3:56pm UTC](https://forum.ansible.com/t/passing-ip-address-from-one-playbook-to-another-playbook/35288 "2021-06-07T15:56:45Z")

</div>

I have developed the playbook which created a vm in azure(playbook name is CreateAzureVM.yml) and I have another playbooks which Installs softwares on the VM(install\_software.yml). I have imported install\_software.yml i…

---

## [Opportunity to use signed playbook.](https://forum.ansible.com/t/opportunity-to-use-signed-playbook/35295)

<div class="topic-metadata">

**Author:** [@Elkmar](https://forum.ansible.com/u/Elkmar)\
**Replies:** 5\
**Last updated:** [June 7, 2021, 11:42am UTC](https://forum.ansible.com/t/opportunity-to-use-signed-playbook/35295 "2021-06-07T11:42:05Z")

</div>

Hi all. I need to check a playbook authenticity before execution. Is it possible? If yes how can I sign a playbook and check it in ansible before execution (and also prohibit any execution of non signed playbooks)? Sor…

---

## [Getting failed to execute: ansible.legacy.setup](https://forum.ansible.com/t/getting-failed-to-execute-ansible-legacy-setup/35291)

<div class="topic-metadata">

**Author:** [@foramgoram123](https://forum.ansible.com/u/foramgoram123)\
**Replies:** 1\
**Last updated:** [June 6, 2021, 2:34pm UTC](https://forum.ansible.com/t/getting-failed-to-execute-ansible-legacy-setup/35291 "2021-06-06T14:34:12Z")

</div>

Running ansible version 2.10.4 with Python 3.6.8 gives the following error: fatal: \[server001.example.ca\]: FAILED! =\> {“ansible\_facts”: {}, “changed”: false, “failed\_modules”: {“ansible.legacy.setup”: {“ansible\_facts”: …

---

## [Regarding https://github.com/ansible/ansible/issues/52724](https://forum.ansible.com/t/regarding-https-github-com-ansible-ansible-issues-52724/35292)

<div class="topic-metadata">

**Author:** [@Dhiwakar\_Ravikumar](https://forum.ansible.com/u/Dhiwakar_Ravikumar)\
**Replies:** 0\
**Last updated:** [June 6, 2021, 1:13am UTC](https://forum.ansible.com/t/regarding-https-github-com-ansible-ansible-issues-52724/35292 "2021-06-06T01:13:14Z")

</div>

Is there a way to just use the same name for the variable in the playbook as well as the role that the playbook is calling ?

---

## [Issue | sudo su -  | ansible](https://forum.ansible.com/t/issue-sudo-su-ansible/35290)

<div class="topic-metadata">

**Author:** [@Jatinder\_Jawanda](https://forum.ansible.com/u/Jatinder_Jawanda)\
**Replies:** 7\
**Last updated:** [June 5, 2021, 4:40pm UTC](https://forum.ansible.com/t/issue-sudo-su-ansible/35290 "2021-06-05T16:40:59Z")

</div>

Is it possible to run “sudo su -” in ansible with non-root user - name: test hosts: example.com gather\_facts: false any\_errors\_fatal: true become: true become\_exe: "sudo su - " become\_method: su remote\_user: test\_user t…

---

## [ansible-project@googlegroups.com](https://forum.ansible.com/t/ansible-project-googlegroups-com/35289)

<div class="topic-metadata">

**Author:** [@pushpa\_Vincent](https://forum.ansible.com/u/pushpa_Vincent)\
**Replies:** 0\
**Last updated:** [June 5, 2021, 5:19am UTC](https://forum.ansible.com/t/ansible-project-googlegroups-com/35289 "2021-06-05T05:19:30Z")

</div>

ansible script for alertmanager deployment and configiuration managememt. How to deploy my ansible script?.. I have created ansible script for alertmanager and I faced issue while testing the script.I checked with more…

---

## [ansible-project@googlegroups.com](https://forum.ansible.com/t/ansible-project-googlegroups-com/35283)

<div class="topic-metadata">

**Author:** [@pushpa\_Vincent](https://forum.ansible.com/u/pushpa_Vincent)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 3:24pm UTC](https://forum.ansible.com/t/ansible-project-googlegroups-com/35283 "2021-06-04T15:24:51Z")

</div>

---

## [Trying To Get Certain Package Information In A List Format For All Host](https://forum.ansible.com/t/trying-to-get-certain-package-information-in-a-list-format-for-all-host/35281)

<div class="topic-metadata">

**Author:** [@Marcus\_Hayhurst](https://forum.ansible.com/u/Marcus_Hayhurst)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 2:17am UTC](https://forum.ansible.com/t/trying-to-get-certain-package-information-in-a-list-format-for-all-host/35281 "2021-06-04T02:17:06Z")

</div>

Hello everyone, I was trying to loop through all my hosts and if a certain package (xauth in this case) was present it would create a list and email that list with this information: If package was found: HOSTNAME - PA…

---

## [Need assistance in using 'AND' and 'OR' condition together](https://forum.ansible.com/t/need-assistance-in-using-and-and-or-condition-together/35273)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 3\
**Last updated:** [June 3, 2021, 6:57pm UTC](https://forum.ansible.com/t/need-assistance-in-using-and-and-or-condition-together/35273 "2021-06-03T18:57:07Z")

</div>

I have written below script that will end the playbook if IOS version running on router satisfies below conditions: Version is greater than or is 16.12.02 AND Version is NOT certain versions like 16.12.05 OR 16.09.…

---

## [How to move an ansible task (to install R packages) from a playbook to a role?](https://forum.ansible.com/t/how-to-move-an-ansible-task-to-install-r-packages-from-a-playbook-to-a-role/35270)

<div class="topic-metadata">

**Author:** [@maspotts](https://forum.ansible.com/u/maspotts)\
**Replies:** 1\
**Last updated:** [June 3, 2021, 3:43pm UTC](https://forum.ansible.com/t/how-to-move-an-ansible-task-to-install-r-packages-from-a-playbook-to-a-role/35270 "2021-06-03T15:43:35Z")

</div>

I’m automating my mac setup using ansible, having great success. I just can’t figure out how to move one particular task from my playbook (where it succeeds) to a role. The task relies on a module (or possibly a role: it…

---

## [Print output of multiple host in a single file](https://forum.ansible.com/t/print-output-of-multiple-host-in-a-single-file/35272)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 4\
**Last updated:** [June 3, 2021, 1:53pm UTC](https://forum.ansible.com/t/print-output-of-multiple-host-in-a-single-file/35272 "2021-06-03T13:53:37Z")

</div>

Hello All - Some basics. I have 50+ Cisco Routers. I am running a ansible script to execute “show version” command. The script works well. I am copying the output to a file But every host creates one file so, i end up h…

---

## [Network Scan in Ansible](https://forum.ansible.com/t/network-scan-in-ansible/35227)

<div class="topic-metadata">

**Author:** [@Dheeraj\_W](https://forum.ansible.com/u/Dheeraj_W)\
**Replies:** 3\
**Last updated:** [June 3, 2021, 1:02pm UTC](https://forum.ansible.com/t/network-scan-in-ansible/35227 "2021-06-03T13:02:46Z")

</div>

HI Guys , I have been assigned a task to find all the routers in the management range lets say 10.250.0.0/20 and script is expected to to start from first ip and run an interation til the last ip and ruunning show comman…

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

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