# Ansible Project

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

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

**Page:** 110

---

## [How can I roll out files to multiple remote /home/\* directories?](https://forum.ansible.com/t/how-can-i-roll-out-files-to-multiple-remote-home-directories/31296)

<div class="topic-metadata">

**Author:** [@scorp123](https://forum.ansible.com/u/scorp123)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 8:21pm UTC](https://forum.ansible.com/t/how-can-i-roll-out-files-to-multiple-remote-home-directories/31296 "2020-08-14T20:21:40Z")

</div>

I have this playbook to roll out “dot” config files: — - hosts: linuxboxes tasks: - name: Update .\* config files in $HOME copy: src: “{{ item }}” dest: /home/user1/ owner: user1 group: user1 with\_fileglob: - /home/maste…

---

## [Failed to import the required Python library (pexpect)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect/33618)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 7:25pm UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect/33618 "2020-08-14T19:25:07Z")

</div>

Hi team, i am getting below error, pexpect already installed he full traceback is: Traceback (most recent call last): File “/tmp/ansible\_expect\_payload\_0bz7tQ/main.py”, line 108, in import pexpect ImportError: No …

---

## [how to fetch substring from vairbale or ansible vriable or facts](https://forum.ansible.com/t/how-to-fetch-substring-from-vairbale-or-ansible-vriable-or-facts/33617)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 5:50pm UTC](https://forum.ansible.com/t/how-to-fetch-substring-from-vairbale-or-ansible-vriable-or-facts/33617 "2020-08-14T17:50:38Z")

</div>

Hello Team, How can we check if variable demo01 has 01 in it in ansible. i have server with hostanme server01 and server02 i want some task to be applied to only 01 machines how can i do it.

---

## [run cmd using password](https://forum.ansible.com/t/run-cmd-using-password/33610)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 5:40pm UTC](https://forum.ansible.com/t/run-cmd-using-password/33610 "2020-08-14T17:40:45Z")

</div>

Hi Team, i would like to run this cmd with sudo with vcf password how i can run the cmd with vcf user and password ? how i can achieve this ? i am not getting proper answer from the google Playbook:

---

## [Decryption fails: Error: HMAC verification failed: Signature did not match digest.](https://forum.ansible.com/t/decryption-fails-error-hmac-verification-failed-signature-did-not-match-digest/33601)

<div class="topic-metadata">

**Author:** [@papanito](https://forum.ansible.com/u/papanito)\
**Replies:** 11\
**Last updated:** [August 14, 2020, 4:48pm UTC](https://forum.ansible.com/t/decryption-fails-error-hmac-verification-failed-signature-did-not-match-digest/33601 "2020-08-14T16:48:02Z")

</div>

I am using ansible 2.9.11 on my dev machine (arch linux) where I encrypted ./resources/cloudflare/cert.pem. using ansible-vault with a password file. I have commited the file to source control. I can run the playbook wi…

---

## [Running Sync using ansible](https://forum.ansible.com/t/running-sync-using-ansible/33607)

<div class="topic-metadata">

**Author:** [@Jay\_Amin](https://forum.ansible.com/u/Jay_Amin)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 1:40pm UTC](https://forum.ansible.com/t/running-sync-using-ansible/33607 "2020-08-14T13:40:12Z")

</div>

Hello Everyone, I am trying to run sync for /home directory and everything within this directory (including permissions) between Ansible Controller Node and Remote Node. I would like to run this sync on Controller Node…

---

## [Help on ec2 creation using ansible](https://forum.ansible.com/t/help-on-ec2-creation-using-ansible/33611)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 9:44pm UTC](https://forum.ansible.com/t/help-on-ec2-creation-using-ansible/33611 "2020-08-13T21:44:40Z")

</div>

Your code uses a templates variable as the image, which fails. Then you supply a list, which also fails. This is correct as the image parameter requires a simple string: https://docs.ansible.com/ansible/latest/modules…

---

## [New release: ansible-base 2.10.0](https://forum.ansible.com/t/new-release-ansible-base-2-10-0/33609)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 8:30pm UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-0/33609 "2020-08-13T20:30:48Z")

</div>

Hi all- we're happy to announce that the new ansible-base 2.10 package is now available! The ansible-base package consists of only the Ansible execution engine, related tools (e.g. ansible-galaxy, ansible-test), and a…

---

## [scan servers if package is installed and send email](https://forum.ansible.com/t/scan-servers-if-package-is-installed-and-send-email/33605)

<div class="topic-metadata">

**Author:** [@Laci](https://forum.ansible.com/u/Laci)\
**Replies:** 4\
**Last updated:** [August 13, 2020, 6:09pm UTC](https://forum.ansible.com/t/scan-servers-if-package-is-installed-and-send-email/33605 "2020-08-13T18:09:56Z")

</div>

I’m looking for a playbook which would scan all servers and if a particular package (ex: kernel-3.10.0-1062 or nginx-1.12.2-2) is installed would send an email with the hostname. Did anyone do something alike?

---

## [What privilege required for an ansible user able to configure a server](https://forum.ansible.com/t/what-privilege-required-for-an-ansible-user-able-to-configure-a-server/33604)

<div class="topic-metadata">

**Author:** [@Edison\_Wang](https://forum.ansible.com/u/Edison_Wang)\
**Replies:** 4\
**Last updated:** [August 13, 2020, 5:37pm UTC](https://forum.ansible.com/t/what-privilege-required-for-an-ansible-user-able-to-configure-a-server/33604 "2020-08-13T17:37:26Z")

</div>

Hi There, I am pretty new in this domain and got a question to ask. My goal is to create a new user “edison” on a Ubuntu server. Now I’ve already had a user “manager” which is able to ssh to this Ubuntu server. This pro…

---

## [Upgrade Ansible from 2.9.10 to 2.9.11 on RHEL8](https://forum.ansible.com/t/upgrade-ansible-from-2-9-10-to-2-9-11-on-rhel8/33589)

<div class="topic-metadata">

**Author:** [@Jay\_Amin](https://forum.ansible.com/u/Jay_Amin)\
**Replies:** 5\
**Last updated:** [August 13, 2020, 5:05pm UTC](https://forum.ansible.com/t/upgrade-ansible-from-2-9-10-to-2-9-11-on-rhel8/33589 "2020-08-13T17:05:00Z")

</div>

Hello, Can anyone tell me how do I upgrade Ansible v2.9.10 to 2.9.11 or 2.9.12 on RHEL 8? I cannot use since system is not connected to any subscription manager or repo. I use local repo. I cannot use PIP either. I do…

---

## [files from .gitignore not found](https://forum.ansible.com/t/files-from-gitignore-not-found/33606)

<div class="topic-metadata">

**Author:** [@user59](https://forum.ansible.com/u/user59)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 3:24pm UTC](https://forum.ansible.com/t/files-from-gitignore-not-found/33606 "2020-08-13T15:24:50Z")

</div>

Hi there! I want to use git-project in Ansible tower. I successfully created Git Project and template based on role /roles/mytest/. However I dont want to store /roles/mytest/files in the github, so I created /roles/myte…

---

## [how to share variables between hosts](https://forum.ansible.com/t/how-to-share-variables-between-hosts/33602)

<div class="topic-metadata">

**Author:** [@Gabriel\_Sousa](https://forum.ansible.com/u/Gabriel_Sousa)\
**Replies:** 1\
**Last updated:** [August 13, 2020, 12:05pm UTC](https://forum.ansible.com/t/how-to-share-variables-between-hosts/33602 "2020-08-13T12:05:12Z")

</div>

i have this:

---

## [wild card is not working for adapter\_names in win\_dns\_client](https://forum.ansible.com/t/wild-card-is-not-working-for-adapter-names-in-win-dns-client/33593)

<div class="topic-metadata">

**Author:** [@Prakash\_PMS](https://forum.ansible.com/u/Prakash_PMS)\
**Replies:** 4\
**Last updated:** [August 13, 2020, 9:26am UTC](https://forum.ansible.com/t/wild-card-is-not-working-for-adapter-names-in-win-dns-client/33593 "2020-08-13T09:26:37Z")

</div>

Hi, when wild card is used for adapter\_names in win\_dns\_client to set DNS in windows machines, it is not recognizing the interface. tasks: name: Set DNS to Primary Domain Controller win\_dns\_client: adapter\_names: ‘…

---

## [how can I config fortigate device with os version below 5.6](https://forum.ansible.com/t/how-can-i-config-fortigate-device-with-os-version-below-5-6/33599)

<div class="topic-metadata">

**Author:** [@user105](https://forum.ansible.com/u/user105)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 12:51am UTC](https://forum.ansible.com/t/how-can-i-config-fortigate-device-with-os-version-below-5-6/33599 "2020-08-13T00:51:53Z")

</div>

Hello everyone, I want to use ansibl to config fortigate device，but the device fireware version is below 5.6 I found ansible module that can deploy fortigate are all using fortiapi to do it,so FortiGate versions are su…

---

## [unable to install .exe files using win package module on a windows sever](https://forum.ansible.com/t/unable-to-install-exe-files-using-win-package-module-on-a-windows-sever/33582)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 8:08pm UTC](https://forum.ansible.com/t/unable-to-install-exe-files-using-win-package-module-on-a-windows-sever/33582 "2020-08-12T20:08:33Z")

</div>

---

## [Providing Progress for Long running tasks which do not support Async](https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594)

<div class="topic-metadata">

**Author:** [@ASHWIN\_KUMAR\_NAIK](https://forum.ansible.com/u/ASHWIN_KUMAR_NAIK)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 6:59pm UTC](https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594 "2020-08-12T18:59:35Z")

</div>

Hi, I am running playbooks via an ssh command. The issue is when a long-running task is run in the playbook the ssh client gives a broken pipe error and quits. Tweaking SSH client by adding ServerAliveInterval 30 & Ser…

---

## [Setting Conditionals with Output](https://forum.ansible.com/t/setting-conditionals-with-output/33586)

<div class="topic-metadata">

**Author:** [@James\_Hixon](https://forum.ansible.com/u/James_Hixon)\
**Replies:** 2\
**Last updated:** [August 12, 2020, 12:12pm UTC](https://forum.ansible.com/t/setting-conditionals-with-output/33586 "2020-08-12T12:12:08Z")

</div>

New at Ansible and still trying to get the hang of setting conditional based upon output. I am setting Windows file shares with the below task. The initial run works fine; however, when you repeat the task, it fails sta…

---

## [ignore\_unreachable statement does not work with block/rescue?](https://forum.ansible.com/t/ignore-unreachable-statement-does-not-work-with-block-rescue/33588)

<div class="topic-metadata">

**Author:** [@Peter\_Gebirgslok](https://forum.ansible.com/u/Peter_Gebirgslok)\
**Replies:** 2\
**Last updated:** [August 12, 2020, 11:01am UTC](https://forum.ansible.com/t/ignore-unreachable-statement-does-not-work-with-block-rescue/33588 "2020-08-12T11:01:27Z")

</div>

Hello guys, I’m trying to check if the server is still reachable with a block -rescue statement. If the server is no longer available, the rescue statement should do something. This is basically the simple playbook:

---

## [how to compare lists whose elements are regular expressions in Ansible?](https://forum.ansible.com/t/how-to-compare-lists-whose-elements-are-regular-expressions-in-ansible/33591)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [August 12, 2020, 9:52am UTC](https://forum.ansible.com/t/how-to-compare-lists-whose-elements-are-regular-expressions-in-ansible/33591 "2020-08-12T09:52:43Z")

</div>

Hi Team I wish to compare two lists, one list has regex expression and the second has ordinary data and return a match. Please help e.g. list1: - linux.\* - 6.\* - mysql|python|gvim list2: - linux - 6.0…

---

## [fortigate / fortinet](https://forum.ansible.com/t/fortigate-fortinet/32866)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 5\
**Last updated:** [August 12, 2020, 9:26am UTC](https://forum.ansible.com/t/fortigate-fortinet/32866 "2020-08-12T09:26:14Z")

</div>

Has anyone gotten a fortinet/fortigate playbook to work? I have a Fortigate 100D running 6.2.2 and I can’t get it to pass an ansible ping.

---

## [Find VLAN in a range of VLAN (930-932)](https://forum.ansible.com/t/find-vlan-in-a-range-of-vlan-930-932/33590)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 3\
**Last updated:** [August 12, 2020, 9:03am UTC](https://forum.ansible.com/t/find-vlan-in-a-range-of-vlan-930-932/33590 "2020-08-12T09:03:33Z")

</div>

Using various methods, I can get a list of VLAN on a switch port. The list looks like the following: “vlans”: “1,134,170,175,540,605,819-820,911-912,930-932,945,952,955,959-960,1200-1201,1400” I would like to check to …

---

## [ansibot starts auto-closing collection issues and pull requests in ansible/ansible](https://forum.ansible.com/t/ansibot-starts-auto-closing-collection-issues-and-pull-requests-in-ansible-ansible/33592)

<div class="topic-metadata">

**Author:** [@Martin\_Krizek](https://forum.ansible.com/u/Martin_Krizek)\
**Replies:** 0\
**Last updated:** [August 12, 2020, 7:02am UTC](https://forum.ansible.com/t/ansibot-starts-auto-closing-collection-issues-and-pull-requests-in-ansible-ansible/33592 "2020-08-12T07:02:05Z")

</div>

Greetings Ansible Community, The change \[0\] to enable ansibot \[1\] to auto-close issues and PRs that have the \`needs\_collection\_redirect\` label \[2\] in ansible/ansible repository was just merged. In addition to closing,…

---

## [Ansible failing to manage influxdb](https://forum.ansible.com/t/ansible-failing-to-manage-influxdb/33585)

<div class="topic-metadata">

**Author:** [@Miroslav\_Todorovic](https://forum.ansible.com/u/Miroslav_Todorovic)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 8:07pm UTC](https://forum.ansible.com/t/ansible-failing-to-manage-influxdb/33585 "2020-08-11T20:07:20Z")

</div>

I am facing issue with managing inflluxdb on remote host using influxdb\_database module. name: Create database influxdb\_database: hostname: localhost database\_name: miroslav It is failing with following error: “Im…

---

## [AWS EFS](https://forum.ansible.com/t/aws-efs/33581)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 2\
**Last updated:** [August 11, 2020, 7:46am UTC](https://forum.ansible.com/t/aws-efs/33581 "2020-08-11T07:46:01Z")

</div>

Hi all, I run efs playbook ,but show error message, I don’t what happen I run other machine is ok , it’s python version problem? The full traceback is: Traceback (most recent call last): File “/root/.ansible/tmp/ans…

---

## [\[Ansible Beginner Question\]: Using Ansible to Provision VMs on AWS, Anyone?](https://forum.ansible.com/t/ansible-beginner-question-using-ansible-to-provision-vms-on-aws-anyone/33579)

<div class="topic-metadata">

**Author:** [@Kenny](https://forum.ansible.com/u/Kenny)\
**Replies:** 1\
**Last updated:** [August 11, 2020, 5:06am UTC](https://forum.ansible.com/t/ansible-beginner-question-using-ansible-to-provision-vms-on-aws-anyone/33579 "2020-08-11T05:06:48Z")

</div>

Hello Everyone, I would appreciate any pointer to a project/s that deals with the above topic , please. Much Appreciated Kenny +1 240 714-2372

---

## [copy module failing  path has wildcard ?????](https://forum.ansible.com/t/copy-module-failing-path-has-wildcard/33557)

<div class="topic-metadata">

**Author:** [@sai\_kumar](https://forum.ansible.com/u/sai_kumar)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 10:32pm UTC](https://forum.ansible.com/t/copy-module-failing-path-has-wildcard/33557 "2020-08-10T22:32:08Z")

</div>

Hi, I am trying to copy a file from one location to other with copy module, on remote server /puppeteer/.local-chromium/linux-782078/chrome-linux to /usr/local/sbin linux.chrom\_dir = /puppeteer/.local-chromium/linux-7…

---

## [nice/ionice a module on target server](https://forum.ansible.com/t/nice-ionice-a-module-on-target-server/33577)

<div class="topic-metadata">

**Author:** [@WK1](https://forum.ansible.com/u/WK1)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 5:51pm UTC](https://forum.ansible.com/t/nice-ionice-a-module-on-target-server/33577 "2020-08-10T17:51:26Z")

</div>

I have tried googling but have failed. We use ansible to upgrade a fleet of VMs. Some of them are fairly small and apt in particular seems to really bog them down (yum/dnf isn’t that bad) if we ssh in to the target we …

---

## [play book execution error](https://forum.ansible.com/t/play-book-execution-error/33576)

<div class="topic-metadata">

**Author:** [@A11](https://forum.ansible.com/u/A11)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 4:23pm UTC](https://forum.ansible.com/t/play-book-execution-error/33576 "2020-08-10T16:23:46Z")

</div>

Hi Mates, I am getting below error while executing playbook for a new server that needs to be added . TASK \[krb5\_workstation : install krb5\_workstation package from rhel-x86\_64-server-7-datacenter\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Installing ansible on Windows 10](https://forum.ansible.com/t/installing-ansible-on-windows-10/33565)

<div class="topic-metadata">

**Author:** [@Charles\_Leviton](https://forum.ansible.com/u/Charles_Leviton)\
**Replies:** 4\
**Last updated:** [August 10, 2020, 2:24pm UTC](https://forum.ansible.com/t/installing-ansible-on-windows-10/33565 "2020-08-10T14:24:26Z")

</div>

Hi I watched the Ansible for dev ops Youtube video and following instructions therein tried to install ansible on windows 10 machine using pip install ansible I am running python 3.8.5 after I got this message “A requ…

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

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