# Ansible Project

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

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

**Page:** 29

---

## [ansible-lint : How to prevent 'no-same-owner' for ansible.posix.synchronize ?](https://forum.ansible.com/t/ansible-lint-how-to-prevent-no-same-owner-for-ansible-posix-synchronize/37542)

<div class="topic-metadata">

**Author:** [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Replies:** 1\
**Last updated:** [January 12, 2023, 10:26am UTC](https://forum.ansible.com/t/ansible-lint-how-to-prevent-no-same-owner-for-ansible-posix-synchronize/37542 "2023-01-12T10:26:26Z")

</div>

Hello all, I have the following task --- - name: Copy static webfiles to document root /var/www/{{ sitename }} # become: true become\_user: www-data ansible.posix.synchronize: dest: "/var/www/" src: var/www/{{ sitename…

---

## [pip installs old version of ansible-core (2.12) & ansible-galaxy install is broken OOB](https://forum.ansible.com/t/pip-installs-old-version-of-ansible-core-2-12-ansible-galaxy-install-is-broken-oob/37537)

<div class="topic-metadata">

**Author:** [@Dan\_Van\_Atta](https://forum.ansible.com/u/Dan_Van_Atta)\
**Replies:** 1\
**Last updated:** [January 10, 2023, 5:06pm UTC](https://forum.ansible.com/t/pip-installs-old-version-of-ansible-core-2-12-ansible-galaxy-install-is-broken-oob/37537 "2023-01-10T17:06:00Z")

</div>

Following up to: https://github.com/ansible/ansible/issues/79697 Is there any plan to update the version of ansible installed by pip? The priority of that I think should be elevated. 2.12 is the current version that is …

---

## [Do task on one hosts with skipping other ones](https://forum.ansible.com/t/do-task-on-one-hosts-with-skipping-other-ones/37533)

<div class="topic-metadata">

**Author:** [@Newbie1](https://forum.ansible.com/u/Newbie1)\
**Replies:** 5\
**Last updated:** [January 10, 2023, 3:09pm UTC](https://forum.ansible.com/t/do-task-on-one-hosts-with-skipping-other-ones/37533 "2023-01-10T15:09:29Z")

</div>

Hi Maybe idiotic problem but I don’t have clue how to bite it :confused: I have example list of 3 hosts all are needed in inventory. I need to run one task to stop application Host 1 Host 2 Host 3 app can be stoppe…

---

## [Ansible version \> 2.9 Slow](https://forum.ansible.com/t/ansible-version-2-9-slow/37528)

<div class="topic-metadata">

**Author:** [@Zied\_Kharrat](https://forum.ansible.com/u/Zied_Kharrat)\
**Replies:** 3\
**Last updated:** [January 10, 2023, 12:39am UTC](https://forum.ansible.com/t/ansible-version-2-9-slow/37528 "2023-01-10T00:39:46Z")

</div>

Hi everyone, I used to run for my playbooks ansible v2.9 and now I’m testing ansible 2.13. Playbooks are the same but when executing using 2.13, it tooks randomly for some tasks long time (like freeze status for a long…

---

## [firewalld module](https://forum.ansible.com/t/firewalld-module/37534)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 3\
**Last updated:** [January 9, 2023, 5:13pm UTC](https://forum.ansible.com/t/firewalld-module/37534 "2023-01-09T17:13:27Z")

</div>

this probably a question for redhat, but i'm hoping someone already asked and answered this. according to this blog post https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90 redhat switched from ansibl…

---

## [ZFS Snapshots with Recursive flag](https://forum.ansible.com/t/zfs-snapshots-with-recursive-flag/37530)

<div class="topic-metadata">

**Author:** [@Jay\_Lepore](https://forum.ansible.com/u/Jay_Lepore)\
**Replies:** 1\
**Last updated:** [January 9, 2023, 3:55pm UTC](https://forum.ansible.com/t/zfs-snapshots-with-recursive-flag/37530 "2023-01-09T15:55:26Z")

</div>

I am trying to create a zfs recursive snapshot at the end of a playbook run. This is done with the -r flag ordinarily. I have not found any docs in Ansible that indicate support for this. Does anyone know better on this…

---

## [use ansible to check if application is installed](https://forum.ansible.com/t/use-ansible-to-check-if-application-is-installed/37521)

<div class="topic-metadata">

**Author:** [@Nestor](https://forum.ansible.com/u/Nestor)\
**Replies:** 2\
**Last updated:** [January 6, 2023, 6:14am UTC](https://forum.ansible.com/t/use-ansible-to-check-if-application-is-installed/37521 "2023-01-06T06:14:15Z")

</div>

Hey everyone, writing a playbook to check if a package is installed on my windows system. if not run the installer from \\Temp\\software. and if already there, ignore. i have the command to run the installer but need to k…

---

## [rhel-system-roles.selinux Fatal error](https://forum.ansible.com/t/rhel-system-roles-selinux-fatal-error/37525)

<div class="topic-metadata">

**Author:** [@Kannan1](https://forum.ansible.com/u/Kannan1)\
**Replies:** 3\
**Last updated:** [January 6, 2023, 12:40am UTC](https://forum.ansible.com/t/rhel-system-roles-selinux-fatal-error/37525 "2023-01-06T00:40:16Z")

</div>

Dear Team, I am new to Ansible and i am getting the following erro while running " rhel-system-roles.selinux". Could you please help to resolve this error. Environment: RHEL- 9 Ansible core - 2.12.2 python version =…

---

## [slow inventory build](https://forum.ansible.com/t/slow-inventory-build/37505)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 6\
**Last updated:** [January 5, 2023, 6:55pm UTC](https://forum.ansible.com/t/slow-inventory-build/37505 "2023-01-05T18:55:12Z")

</div>

i have a flat list of hosts, no groups, no variables, total is over 15k. when i run $ head inv-expanded.yml all: hosts: admin: admin1: admin2: admin3: admin4: admin5: admin6: ..…

---

## [Help with connecting to pi running older embedded os -- possible to specify temp directory in inventory?](https://forum.ansible.com/t/help-with-connecting-to-pi-running-older-embedded-os-possible-to-specify-temp-directory-in-inventory/37515)

<div class="topic-metadata">

**Author:** [@Tom\_Stewart](https://forum.ansible.com/u/Tom_Stewart)\
**Replies:** 6\
**Last updated:** [January 5, 2023, 6:41pm UTC](https://forum.ansible.com/t/help-with-connecting-to-pi-running-older-embedded-os-possible-to-specify-temp-directory-in-inventory/37515 "2023-01-05T18:41:26Z")

</div>

Using ansible to help manage my collection of raspberry pi’s. One in particular is running an “embedded” version of the OS that doesn’t have the normal temp directory. Is there any way in my inventory file to specify whe…

---

## [Get all key from output](https://forum.ansible.com/t/get-all-key-from-output/37517)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 19\
**Last updated:** [January 5, 2023, 5:46pm UTC](https://forum.ansible.com/t/get-all-key-from-output/37517 "2023-01-05T17:46:19Z")

</div>

Hi all, I need to get the id of all available volumes in amazon aws, to make it I have created the following

---

## [General advice/questions using ansible with RasPi's around the house](https://forum.ansible.com/t/general-advice-questions-using-ansible-with-raspis-around-the-house/37508)

<div class="topic-metadata">

**Author:** [@Tom\_Stewart](https://forum.ansible.com/u/Tom_Stewart)\
**Replies:** 3\
**Last updated:** [January 5, 2023, 4:58pm UTC](https://forum.ansible.com/t/general-advice-questions-using-ansible-with-raspis-around-the-house/37508 "2023-01-05T16:58:13Z")

</div>

So, I’ve been hearing good things about ansible for years, and finally decided to take the plunge, figuring it might help me manage the collection of Raspberry Pi’s I’ve accumulated around the house doing various things. …

---

## [Need help in appending multiple values in excel cell - ansible](https://forum.ansible.com/t/need-help-in-appending-multiple-values-in-excel-cell-ansible/37506)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 2\
**Last updated:** [January 5, 2023, 4:49pm UTC](https://forum.ansible.com/t/need-help-in-appending-multiple-values-in-excel-cell-ansible/37506 "2023-01-05T16:49:44Z")

</div>

Hi All, We are registering output of some commands and need to store output in excel format.The challenge is to append multiple values in excel cell.Could someone help here? Regards Kumar

---

## [amazon.aws.ec2\_snapshot Waiter error](https://forum.ansible.com/t/amazon-aws-ec2-snapshot-waiter-error/37520)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 2\
**Last updated:** [January 5, 2023, 10:31am UTC](https://forum.ansible.com/t/amazon-aws-ec2-snapshot-waiter-error/37520 "2023-01-05T10:31:56Z")

</div>

hi all, i see this error when use the module amazon.aws.ec2\_snapshot changed: \[localhost\] =\> (item=vol-09a371c47c26c496b) An exception occurred during task execution. To see the full traceback, use -vvv. The error was:…

---

## [Stopping and starting of services on RHES servers](https://forum.ansible.com/t/stopping-and-starting-of-services-on-rhes-servers/37519)

<div class="topic-metadata">

**Author:** [@Andrew\_Robert](https://forum.ansible.com/u/Andrew_Robert)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 6:16pm UTC](https://forum.ansible.com/t/stopping-and-starting-of-services-on-rhes-servers/37519 "2023-01-04T18:16:37Z")

</div>

Good afternoon, I am able to stop/start services on a server with ansible using ssh keys if I specify the services as items. Is there a way to modify the hosts file to supply the service names by server and pick up as …

---

## [How to handle later configuration changes of installed software ?](https://forum.ansible.com/t/how-to-handle-later-configuration-changes-of-installed-software/37516)

<div class="topic-metadata">

**Author:** [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 12:19pm UTC](https://forum.ansible.com/t/how-to-handle-later-configuration-changes-of-installed-software/37516 "2023-01-04T12:19:39Z")

</div>

Hello all, I use ansible to install software and do the first configuration and i like this very much. But I want to achieve that I can recreate the running systems as detailled as posible from the outside with scripts…

---

## [backup latest two war files and delete old war in jenkins](https://forum.ansible.com/t/backup-latest-two-war-files-and-delete-old-war-in-jenkins/37514)

<div class="topic-metadata">

**Author:** [@mahesh\_kumar](https://forum.ansible.com/u/mahesh_kumar)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 2:18am UTC](https://forum.ansible.com/t/backup-latest-two-war-files-and-delete-old-war-in-jenkins/37514 "2023-01-04T02:18:15Z")

</div>

Hi team, How to backup only latest two war files in jenkins and delete old war files how can we achieve using ansible playbook. can u someone share playbook for that please Regards Mahesh Kumar

---

## [Ansible inaccessible due to Cisco Secure Endpoint antivirus](https://forum.ansible.com/t/ansible-inaccessible-due-to-cisco-secure-endpoint-antivirus/37513)

<div class="topic-metadata">

**Author:** [@Joelle\_Boillat](https://forum.ansible.com/u/Joelle_Boillat)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 3:39pm UTC](https://forum.ansible.com/t/ansible-inaccessible-due-to-cisco-secure-endpoint-antivirus/37513 "2023-01-03T15:39:56Z")

</div>

Good Morning, At the beginning of December I can’t reach a server from a client. This is due to Cisco Secure Endpoint. So I want to create an exclusion for this specific server. Can anyone help me on what to exclude f…

---

## [Can we selectively install Windows Updates with Ansible](https://forum.ansible.com/t/can-we-selectively-install-windows-updates-with-ansible/27245)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 3:06pm UTC](https://forum.ansible.com/t/can-we-selectively-install-windows-updates-with-ansible/27245 "2023-01-03T15:06:57Z")

</div>

Hello Team, I am using win\_updates module in playbook with Ansible Version 2.4.2.0. Have a requirement for Automation of Windows Security and Roll-up updates patching, therefore categories selected are: SecurityUpdates,…

---

## [tasks ordering:: is it guaranteed by register/when usage?](https://forum.ansible.com/t/tasks-ordering-is-it-guaranteed-by-register-when-usage/37472)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 3\
**Last updated:** [December 31, 2022, 11:44pm UTC](https://forum.ansible.com/t/tasks-ordering-is-it-guaranteed-by-register-when-usage/37472 "2022-12-31T23:44:31Z")

</div>

Hi! Would the tasks be automatically ordered when i register a task1\_status and then i require task2 a when: task1\_status is succeeded ? Is there any chance even if the ordering in file is "task1 -\> task2" that task2…

---

## [Exit role without failure (stop processing role on condition) without ending play or stoping execution of other roles in a stack/ Ensure all roles in a stack get run even if one ends with failure](https://forum.ansible.com/t/exit-role-without-failure-stop-processing-role-on-condition-without-ending-play-or-stoping-execution-of-other-roles-in-a-stack-ensure-all-roles-in-a-stack-get-run-even-if-one-ends-with-failure/37512)

<div class="topic-metadata">

**Author:** [@sinnl](https://forum.ansible.com/u/sinnl)\
**Replies:** 0\
**Last updated:** [December 30, 2022, 12:58pm UTC](https://forum.ansible.com/t/exit-role-without-failure-stop-processing-role-on-condition-without-ending-play-or-stoping-execution-of-other-roles-in-a-stack-ensure-all-roles-in-a-stack-get-run-even-if-one-ends-with-failure/37512 "2022-12-30T12:58:34Z")

</div>

Hi, Trying what I believe to be common use case where a playbook has set of roles to configure system. this looks something like name: Do X, Y and Z hosts: all roles: role: roleA var1: value1 var2: value2 role:…

---

## [Ansible version upgrade to 3.0.0 error](https://forum.ansible.com/t/ansible-version-upgrade-to-3-0-0-error/37510)

<div class="topic-metadata">

**Author:** [@Sivaraman](https://forum.ansible.com/u/Sivaraman)\
**Replies:** 1\
**Last updated:** [December 30, 2022, 5:51am UTC](https://forum.ansible.com/t/ansible-version-upgrade-to-3-0-0-error/37510 "2022-12-30T05:51:12Z")

</div>

Hi Team, I am getting below error while installing the ansible version 3.0.0. Trackback (most recent call last): File “/usr/bin/ansible”. line 47, in from ansible.utils.unicode import to\_unicode ImportError: cannot…

---

## [General question about ansible CI/CD strategy](https://forum.ansible.com/t/general-question-about-ansible-ci-cd-strategy/37484)

<div class="topic-metadata">

**Author:** [@lordofire](https://forum.ansible.com/u/lordofire)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 6:52pm UTC](https://forum.ansible.com/t/general-question-about-ansible-ci-cd-strategy/37484 "2022-12-29T18:52:51Z")

</div>

Hi team, I’m having a question about the CI/CD strategy for ansible managed resources. From my understanding, there are basically two ways: Having a periodic deployment triggered per playbook with customized running f…

---

## [To extract information from all hosts.](https://forum.ansible.com/t/to-extract-information-from-all-hosts/37494)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 3\
**Last updated:** [December 29, 2022, 6:35pm UTC](https://forum.ansible.com/t/to-extract-information-from-all-hosts/37494 "2022-12-29T18:35:49Z")

</div>

Hi All, I’m looking for extract information like Load, memory usage, uptime,swap space from all linux servers in csv farmat. could please anyone suggest playbook for the same. Regards, Shivu

---

## [Add Servers to Server Manager using PowerShell](https://forum.ansible.com/t/add-servers-to-server-manager-using-powershell/37488)

<div class="topic-metadata">

**Author:** [@Sabrthor](https://forum.ansible.com/u/Sabrthor)\
**Replies:** 5\
**Last updated:** [December 28, 2022, 10:12am UTC](https://forum.ansible.com/t/add-servers-to-server-manager-using-powershell/37488 "2022-12-28T10:12:19Z")

</div>

Hi All, I am trying to run a PowerShell code as ansible task and it isn’t working. The same script when run locally from the remote server works fine. Code: name: Session Based Desktop Deployment - Add Servers to Ser…

---

## [How to split string twice in ansible playbook hosts section.](https://forum.ansible.com/t/how-to-split-string-twice-in-ansible-playbook-hosts-section/37499)

<div class="topic-metadata">

**Author:** [@Know\_Your\_Tech](https://forum.ansible.com/u/Know_Your_Tech)\
**Replies:** 4\
**Last updated:** [December 28, 2022, 3:19am UTC](https://forum.ansible.com/t/how-to-split-string-twice-in-ansible-playbook-hosts-section/37499 "2022-12-28T03:19:26Z")

</div>

Below is how i call my ansible-playbook and pass application names as parameters APP1 & APP2 ansible-playbook -i /web/aes/admin/playbooks/updated.hosts /web/aes/admin/playbooks/split.yml -e ENV=qa -e NODE=cluster -e ins…

---

## [Ansible - combine output](https://forum.ansible.com/t/ansible-combine-output/37276)

<div class="topic-metadata">

**Author:** [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Replies:** 2\
**Last updated:** [December 27, 2022, 8:39pm UTC](https://forum.ansible.com/t/ansible-combine-output/37276 "2022-12-27T20:39:30Z")

</div>

We need to see the playbook. We can’t help by seeing only out. Walter

---

## [Add Ansible Template as RPC dependancy for Privilege Vault/Secret Server](https://forum.ansible.com/t/add-ansible-template-as-rpc-dependancy-for-privilege-vault-secret-server/37500)

<div class="topic-metadata">

**Author:** [@Tim2](https://forum.ansible.com/u/Tim2)\
**Replies:** 0\
**Last updated:** [December 27, 2022, 7:57pm UTC](https://forum.ansible.com/t/add-ansible-template-as-rpc-dependancy-for-privilege-vault-secret-server/37500 "2022-12-27T19:57:41Z")

</div>

We’re running Delinea/Thycotic Privilege Vault in our environment. We’re trying to onboard all credentials into Privilege Vault as much as possible to leverage Auto-Change, where the password is rotated by Privilege Vau…

---

## [Cannot load env file](https://forum.ansible.com/t/cannot-load-env-file/37498)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [December 26, 2022, 5:00pm UTC](https://forum.ansible.com/t/cannot-load-env-file/37498 "2022-12-26T17:00:59Z")

</div>

include\_vars expects a yaml formatted file, so that won't understand your shell environment variables file. You could write an ansible task that parses that .env file. But I would just source that .env file from the s…

---

## [Overriding detected file kind 'yaml' with 'playbook' for given positional argument](https://forum.ansible.com/t/overriding-detected-file-kind-yaml-with-playbook-for-given-positional-argument/37489)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 5\
**Last updated:** [December 26, 2022, 7:11am UTC](https://forum.ansible.com/t/overriding-detected-file-kind-yaml-with-playbook-for-given-positional-argument/37489 "2022-12-26T07:11:41Z")

</div>

Hi Team, I am facing below error while doing ansible-lint, Any help would be appreciated command: ansible-lint test.yaml Overriding detected file kind ‘yaml’ with ‘playbook’ for given positional argument Thanks, Raj …

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

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