# Ansible Project

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

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

**Page:** 27

---

## [failed install AAP](https://forum.ansible.com/t/failed-install-aap/37659)

<div class="topic-metadata">

**Author:** [@Issam\_Naouali](https://forum.ansible.com/u/Issam_Naouali)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 10:37am UTC](https://forum.ansible.com/t/failed-install-aap/37659 "2023-02-14T10:37:51Z")

</div>

hi , iam trying to install AAP even i disabled the repo the problem still persists any help please

---

## [Request failed: \<urlopen error \[SSL: TLSV1\_ALERT\_PROTOCOL\_VERSION\] tlsv1 alert protocol version (\_ssl.c:579)\>](https://forum.ansible.com/t/request-failed-urlopen-error-ssl-tlsv1-alert-protocol-version-tlsv1-alert-protocol-version-ssl-c-579/37642)

<div class="topic-metadata">

**Author:** [@sowmithri\_d](https://forum.ansible.com/u/sowmithri_d)\
**Replies:** 8\
**Last updated:** [February 14, 2023, 9:36am UTC](https://forum.ansible.com/t/request-failed-urlopen-error-ssl-tlsv1-alert-protocol-version-tlsv1-alert-protocol-version-ssl-c-579/37642 "2023-02-14T09:36:21Z")

</div>

Hi All, I am getting below error while running ansible script can anyone help me to fix this. ERROR: TASK \[dse : install the dateutils rpm from a remote repo\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible long running task status](https://forum.ansible.com/t/ansible-long-running-task-status/37653)

<div class="topic-metadata">

**Author:** [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 9:34am UTC](https://forum.ansible.com/t/ansible-long-running-task-status/37653 "2023-02-14T09:34:35Z")

</div>

Hi Team, Below is the two ansible task, one is for running patch installer and other task is to tracking the status of the completion of patch - name: Apply patch shell: nohup /media/updates/installer --no-screen --no…

---

## [Resizing the Vmware VMDK Through Ansible script](https://forum.ansible.com/t/resizing-the-vmware-vmdk-through-ansible-script/33124)

<div class="topic-metadata">

**Author:** [@JC\_JC](https://forum.ansible.com/u/JC_JC)\
**Replies:** 6\
**Last updated:** [February 14, 2023, 8:50am UTC](https://forum.ansible.com/t/resizing-the-vmware-vmdk-through-ansible-script/33124 "2023-02-14T08:50:31Z")

</div>

Hi Team, I’m looking for ansible script to resize my Existing Virtual machine Primary Hard disk (VMDK). Cheers Shiva Shankar S

---

## [error](https://forum.ansible.com/t/error/37649)

<div class="topic-metadata">

**Author:** [@trupti\_kokare](https://forum.ansible.com/u/trupti_kokare)\
**Replies:** 4\
**Last updated:** [February 11, 2023, 8:33pm UTC](https://forum.ansible.com/t/error/37649 "2023-02-11T20:33:35Z")

</div>

ansible master failed to connect to the ansible node showing error “changed”: false, “msg”: “Failed to connect to the host via ssh: Warning: Permanently added ‘xx.xx.xx.xx’ (ECDSA) to the list of known hosts.\\r\\nPermi…

---

## [Copy file from src and dest (remote server) fails](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635)

<div class="topic-metadata">

**Author:** [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Replies:** 2\
**Last updated:** [February 10, 2023, 6:19pm UTC](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635 "2023-02-10T18:19:29Z")

</div>

Hi, I have installed AWX 17.0.1 on Ubuntu OS. I am trying to run a simple playbook which would copy a zip file from the controller machine (source machine) to a remote SUSE linux host (/tmp/) location. When i launch the…

---

## [Error ansible modules pfSense](https://forum.ansible.com/t/error-ansible-modules-pfsense/37634)

<div class="topic-metadata">

**Author:** [@Ala\_Karmous](https://forum.ansible.com/u/Ala_Karmous)\
**Replies:** 2\
**Last updated:** [February 10, 2023, 2:30pm UTC](https://forum.ansible.com/t/error-ansible-modules-pfsense/37634 "2023-02-10T14:30:25Z")

</div>

i have installed the modules and i run this playbook : (create a new alias)

---

## [Im getting a return code error but command runs but it shows up as failed please help!](https://forum.ansible.com/t/im-getting-a-return-code-error-but-command-runs-but-it-shows-up-as-failed-please-help/37637)

<div class="topic-metadata">

**Author:** [@Jay\_Kumar](https://forum.ansible.com/u/Jay_Kumar)\
**Replies:** 3\
**Last updated:** [February 9, 2023, 9:51pm UTC](https://forum.ansible.com/t/im-getting-a-return-code-error-but-command-runs-but-it-shows-up-as-failed-please-help/37637 "2023-02-09T21:51:13Z")

</div>

I’m getting a return code of 3, my shell module runs and the output is what im expecting but it still shows up as failed, here is an image of it. I also do not want to use ignore\_error for this. Thank you in advance, …

---

## [How to Gather facts for Aruba network devices in ansible](https://forum.ansible.com/t/how-to-gather-facts-for-aruba-network-devices-in-ansible/37639)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 0\
**Last updated:** [February 9, 2023, 12:04pm UTC](https://forum.ansible.com/t/how-to-gather-facts-for-aruba-network-devices-in-ansible/37639 "2023-02-09T12:04:14Z")

</div>

Hi, Please help me to gather\_facts for Aruba switches for cisco I am able collect facts but its not working for aruba. So please guide me for collection of aruba devices facts using ansible. Thanks

---

## [Comparing command line variable in import\_playbook](https://forum.ansible.com/t/comparing-command-line-variable-in-import-playbook/37631)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 8\
**Last updated:** [February 8, 2023, 1:34pm UTC](https://forum.ansible.com/t/comparing-command-line-variable-in-import-playbook/37631 "2023-02-08T13:34:41Z")

</div>

I again, thank you all for your help, I’m really learning a lot. I have a new query. I am passing via “extra-vars” a variable called wc2env and I need to compare it with a string (stage or prod). Here is my playbook: h…

---

## [Dynamically building an email template, with tables, using ansible](https://forum.ansible.com/t/dynamically-building-an-email-template-with-tables-using-ansible/37632)

<div class="topic-metadata">

**Author:** [@kyle\_jones](https://forum.ansible.com/u/kyle_jones)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 1:21am UTC](https://forum.ansible.com/t/dynamically-building-an-email-template-with-tables-using-ansible/37632 "2023-02-08T01:21:12Z")

</div>

Hello, Has anyone ever attempted to dynamically build an email, in html, which populates a table with server details from anisble facts and registered variables? I am trying to solve this and I am having issues with th…

---

## [Pass user inputs to bash script via ansible](https://forum.ansible.com/t/pass-user-inputs-to-bash-script-via-ansible/37627)

<div class="topic-metadata">

**Author:** [@Abhiroxxx](https://forum.ansible.com/u/Abhiroxxx)\
**Replies:** 9\
**Last updated:** [February 7, 2023, 6:17pm UTC](https://forum.ansible.com/t/pass-user-inputs-to-bash-script-via-ansible/37627 "2023-02-07T18:17:25Z")

</div>

Hi All, Is there way to pass user inputs to bash script via ansible? Regards, Abhi

---

## [how to activate virtualenv on remote host](https://forum.ansible.com/t/how-to-activate-virtualenv-on-remote-host/37628)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 9:29pm UTC](https://forum.ansible.com/t/how-to-activate-virtualenv-on-remote-host/37628 "2023-02-06T21:29:52Z")

</div>

Hi all, i try activate an virtualenv on remote host but not work. I see this error: fatal: \[wc2-prod\]: FAILED! =\> { “ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin/python” }, “changed”: true, “cmd”: …

---

## [ERROR! Problem running vault password script /space/build/ansible-vault-password.txt (\[Errno 8\] Exec format error: '/space/build/ansible-vault-password.txt'). If this is not a script, remove the executable bit from the file.](https://forum.ansible.com/t/error-problem-running-vault-password-script-space-build-ansible-vault-password-txt-errno-8-exec-format-error-space-build-ansible-vault-password-txt-if-this-is-not-a-script-remove-the-executable-bit-from-the-file/37626)

<div class="topic-metadata">

**Author:** [@sowmithri\_d](https://forum.ansible.com/u/sowmithri_d)\
**Replies:** 2\
**Last updated:** [February 6, 2023, 6:48pm UTC](https://forum.ansible.com/t/error-problem-running-vault-password-script-space-build-ansible-vault-password-txt-errno-8-exec-format-error-space-build-ansible-vault-password-txt-if-this-is-not-a-script-remove-the-executable-bit-from-the-file/37626 "2023-02-06T18:48:08Z")

</div>

Hello, Can any help me to fix this issue. I am facing an below error while executing ansible script ERROR! Problem running vault password script /space/build/ansible-vault-password.txt (\[Errno 8\] Exec format error: ‘/…

---

## [error command not found in RHEL server and few are working](https://forum.ansible.com/t/error-command-not-found-in-rhel-server-and-few-are-working/37620)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 5\
**Last updated:** [February 6, 2023, 6:04pm UTC](https://forum.ansible.com/t/error-command-not-found-in-rhel-server-and-few-are-working/37620 "2023-02-06T18:04:10Z")

</div>

am running the ansible playbook through AWX and its getting failed with the subjected error. I am able to run shell command on RHEL 7 from putty and its executed successfully. Few of the command from shell module i am ab…

---

## [Digest for ansible-project@googlegroups.com - 2 updates in 1 topic](https://forum.ansible.com/t/digest-for-ansible-project-googlegroups-com-2-updates-in-1-topic/37621)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 0\
**Last updated:** [February 5, 2023, 4:05pm UTC](https://forum.ansible.com/t/digest-for-ansible-project-googlegroups-com-2-updates-in-1-topic/37621 "2023-02-05T16:05:15Z")

</div>

I have tried with groupinfo issue is same

---

## [error command not found in RHEL server  and few are working](https://forum.ansible.com/t/error-command-not-found-in-rhel-server-and-few-are-working/37619)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 3\
**Last updated:** [February 5, 2023, 1:25pm UTC](https://forum.ansible.com/t/error-command-not-found-in-rhel-server-and-few-are-working/37619 "2023-02-05T13:25:42Z")

</div>

I am running the ansible playbook through AWX and its getting failed with the subjected error. I am able to run shell command on RHEL 7 from putty and its executed successfully. Few of the command from shell module i am …

---

## [Ansible command not found error for user other than root user](https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 12:56pm UTC](https://forum.ansible.com/t/ansible-command-not-found-error-for-user-other-than-root-user/37616 "2023-02-03T12:56:35Z")

</div>

Hi, we are getting “Ansible command not found error” for user other than root user. Already sudo access is granted for that user still getting “-bash: ansible: command not found”. Please help to troubleshoot this. Thank…

---

## [ansible connection issue on remote RHE5 linux server](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37608)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 6\
**Last updated:** [February 2, 2023, 10:39pm UTC](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37608 "2023-02-02T22:39:56Z")

</div>

I am running the ansible playbook through AWX and its getting failed with the subjected error. But same playbook is running on another server successfully. Kindly help to resolve the issue. Successful login on sever :- …

---

## [ansible connection issue on remote RHE5 linux server](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37604)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 3\
**Last updated:** [February 2, 2023, 1:33pm UTC](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37604 "2023-02-02T13:33:40Z")

</div>

I am able to connect on other linux server from ansible but getting error on below server atal localhost-\>192.168.101.12\]: FAILED! =\> changed": false, “module\_stderr”: “Shared connection to 192.168.101.12\]closed in”, “m…

---

## [JOB | Champion, Leader, Mentor (United Kingdom)](https://forum.ansible.com/t/job-champion-leader-mentor-united-kingdom/37611)

<div class="topic-metadata">

**Author:** [@ghost\_advocate](https://forum.ansible.com/u/ghost_advocate)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 1:33pm UTC](https://forum.ansible.com/t/job-champion-leader-mentor-united-kingdom/37611 "2023-02-02T13:33:40Z")

</div>

Hello, I'm working with a low latency critical platform that is looking to hire someone anywhere in the UK to confidently run a team of on-premises Linux and automation engineers. You must be a champion, leader and me…

---

## [ansible-core 2.14 and determining if top level variables exist in source](https://forum.ansible.com/t/ansible-core-2-14-and-determining-if-top-level-variables-exist-in-source/37606)

<div class="topic-metadata">

**Author:** [@Chris\_Nokes](https://forum.ansible.com/u/Chris_Nokes)\
**Replies:** 3\
**Last updated:** [February 2, 2023, 1:17pm UTC](https://forum.ansible.com/t/ansible-core-2-14-and-determining-if-top-level-variables-exist-in-source/37606 "2023-02-02T13:17:00Z")

</div>

Hi, I just opened https://github.com/ansible/ansible/issues/79874 and Matt explained that 2.14 change is working as designed and closed the issue. Matt put a link in the issue describing variable lazy eval and how unde…

---

## [Ansible 7.2.0 has been Released!](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37599)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 4:05am UTC](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37599 "2023-02-02T04:05:51Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.2.0 package has been released! Ansible 7.2.0 will include ansible-core 2.14.2 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [How to Work conditionals with "when" an variables](https://forum.ansible.com/t/how-to-work-conditionals-with-when-an-variables/37603)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 4:56pm UTC](https://forum.ansible.com/t/how-to-work-conditionals-with-when-an-variables/37603 "2023-02-01T16:56:54Z")

</div>

Hi all, i need to understand how to work with this scenario. I have this: name: “Creating DNS Record In CloudFlare” hosts: localhost gather\_facts: no vars: “prod”: clfrecord-prod: “prod-{{ carrier }}” “stage”: …

---

## [simple problem but can't figure it out](https://forum.ansible.com/t/simple-problem-but-cant-figure-it-out/37602)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 2:06pm UTC](https://forum.ansible.com/t/simple-problem-but-cant-figure-it-out/37602 "2023-02-01T14:06:30Z")

</div>

Hi I am looking for a way to transform a list of strings into a list of dicts, where the string is a certain key’s value - without using a loop. So from this: my\_list: foo bar baz to: other\_list: somekey: foo som…

---

## [ansible playbook to add multiple lines to conf file](https://forum.ansible.com/t/ansible-playbook-to-add-multiple-lines-to-conf-file/37598)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 7\
**Last updated:** [January 31, 2023, 9:26pm UTC](https://forum.ansible.com/t/ansible-playbook-to-add-multiple-lines-to-conf-file/37598 "2023-01-31T21:26:44Z")

</div>

trying to add multiple ntp servers to chrony.conf name: add line lineinfile: backup: no backrefs: no state: present path: “{{ file\_path }}” insertafter: “{{ line.replace\_with }}” line: “{{ line.line\_to\_add }}” …

---

## [Are jinja2 extensions available?](https://forum.ansible.com/t/are-jinja2-extensions-available/33229)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [January 31, 2023, 4:29pm UTC](https://forum.ansible.com/t/are-jinja2-extensions-available/33229 "2023-01-31T16:29:07Z")

</div>

Jinja2 documentation mentions some extensions that can be enabled. Are these available somehow? Can I enable them in Ansible? https://jinja.palletsprojects.com/en/2.11.x/templates/#extensions

---

## [New releases: ansible-core 2.14.2](https://forum.ansible.com/t/new-releases-ansible-core-2-14-2/37595)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 9:10pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-14-2/37595 "2023-01-30T21:10:41Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.2 How to get it

---

## [Undefined Variable](https://forum.ansible.com/t/undefined-variable/37593)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 5\
**Last updated:** [January 30, 2023, 6:28pm UTC](https://forum.ansible.com/t/undefined-variable/37593 "2023-01-30T18:28:18Z")

</div>

Hello All, I need help with and undefined variable in my Ansible Role! Any help will be appreciated! Ansible Version ansible 2.9.27 config file = /home/kjames/ansible.cfg configured module search path = \[u’/home/kja…

---

## [template - line break of bash script is skipped](https://forum.ansible.com/t/template-line-break-of-bash-script-is-skipped/37589)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [January 30, 2023, 1:42pm UTC](https://forum.ansible.com/t/template-line-break-of-bash-script-is-skipped/37589 "2023-01-30T13:42:12Z")

</div>

I am using the template module for a bash script There is a problem with these lines cd $PGARCH {% raw %}while mapfile -t -n 20 ARCHIVE\_LOGS && ((${#ARCHIVE\_LOGS\[@\]})){% endraw %} do they should be like bel…

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

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