# Ansible Project

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

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

**Page:** 84

---

## [How do i export the ansible output of a playbook TASK to a excel sheet or table?](https://forum.ansible.com/t/how-do-i-export-the-ansible-output-of-a-playbook-task-to-a-excel-sheet-or-table/34783)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 4\
**Last updated:** [March 18, 2021, 7:58am UTC](https://forum.ansible.com/t/how-do-i-export-the-ansible-output-of-a-playbook-task-to-a-excel-sheet-or-table/34783 "2021-03-18T07:58:38Z")

</div>

I am writing a script for IOS upgrade in switches and script involves multiple TASKS like checking copying image, settings boot statement, etc. The final task would be to check if IOS upgrade was successful or not and di…

---

## ['Odd' Behavior with Role Dependencies when using import\_role](https://forum.ansible.com/t/odd-behavior-with-role-dependencies-when-using-import-role/34803)

<div class="topic-metadata">

**Author:** [@Todd\_Beauchemin](https://forum.ansible.com/u/Todd_Beauchemin)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 8:53pm UTC](https://forum.ansible.com/t/odd-behavior-with-role-dependencies-when-using-import-role/34803 "2021-03-17T20:53:51Z")

</div>

We’ve seen what we’d classify as odd behavior when using import\_role with roles that have dependencies defined under the meta directory. The version of Ansible we are running is 2.9.10. We have a few roles setup as fol…

---

## [Handling Oracle Dataguard failover/failback](https://forum.ansible.com/t/handling-oracle-dataguard-failover-failback/34799)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 0\
**Last updated:** [March 17, 2021, 5:03pm UTC](https://forum.ansible.com/t/handling-oracle-dataguard-failover-failback/34799 "2021-03-17T17:03:04Z")

</div>

Hello, Is there anybody out there using Ansible playbooks to handle Oracle Dataguard’s failover and failback operations? We are working on automating the OS update process of Linux servers that host Dataguard pairs (th…

---

## [ssh root access remain closed](https://forum.ansible.com/t/ssh-root-access-remain-closed/34796)

<div class="topic-metadata">

**Author:** [@reredok](https://forum.ansible.com/u/reredok)\
**Replies:** 6\
**Last updated:** [March 17, 2021, 2:12pm UTC](https://forum.ansible.com/t/ssh-root-access-remain-closed/34796 "2021-03-17T14:12:18Z")

</div>

Hello all, one thing is not clear to me about ansible. On all my Linux VM the root ssh access, for security reasons, is blocked. So the ad-hoc, playbook access only works via a non-administrative user. But then, for exa…

---

## [Inject vault password with plugin](https://forum.ansible.com/t/inject-vault-password-with-plugin/33013)

<div class="topic-metadata">

**Author:** [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Replies:** 5\
**Last updated:** [March 17, 2021, 10:26am UTC](https://forum.ansible.com/t/inject-vault-password-with-plugin/33013 "2021-03-17T10:26:55Z")

</div>

Hello it's possible to inject vault password with custom plugin vars or action ? I would like put password in vault hashicorp and i would't put script in host because is executable by user I have try loader.set\_vault\_se…

---

## [script execution is failed in ansible](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651)

<div class="topic-metadata">

**Author:** [@Makesh](https://forum.ansible.com/u/Makesh)\
**Replies:** 2\
**Last updated:** [March 17, 2021, 6:59am UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651 "2021-03-17T06:59:41Z")

</div>

Hi Team, Am automating my TIbco EMS restart service using Ansible. I have tried to execute the shell script from the server where ansible installed and also remote server but the service is not coming up also not gettin…

---

## [New release: ansible 2.9.19](https://forum.ansible.com/t/new-release-ansible-2-9-19/34792)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 3:42pm UTC](https://forum.ansible.com/t/new-release-ansible-2-9-19/34792 "2021-03-16T15:42:38Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.19 is now available! How do you get it?

---

## [New release: ansible-base 2.10.7](https://forum.ansible.com/t/new-release-ansible-base-2-10-7/34791)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 3:32pm UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-7/34791 "2021-03-16T15:32:22Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.7 is now available! How to get it

---

## [Why aren't template\_path and template\_fullpath expanded to different values?](https://forum.ansible.com/t/why-arent-template-path-and-template-fullpath-expanded-to-different-values/34788)

<div class="topic-metadata">

**Author:** [@mike2](https://forum.ansible.com/u/mike2)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 2:57pm UTC](https://forum.ansible.com/t/why-arent-template-path-and-template-fullpath-expanded-to-different-values/34788 "2021-03-16T14:57:10Z")

</div>

says template\_path is the path of the template. template\_fullpath is the absolute path of the template. Can someone explain how “the path” is suppose to be different from “the absolute path”? If I put both tho…

---

## [Run the same handler only once through many playbooks notify](https://forum.ansible.com/t/run-the-same-handler-only-once-through-many-playbooks-notify/34746)

<div class="topic-metadata">

**Author:** [@Quentin\_Aveno](https://forum.ansible.com/u/Quentin_Aveno)\
**Replies:** 4\
**Last updated:** [March 15, 2021, 4:54pm UTC](https://forum.ansible.com/t/run-the-same-handler-only-once-through-many-playbooks-notify/34746 "2021-03-15T16:54:31Z")

</div>

Hi everyone. Is there a way to run a handler once through multiple playbooks. Explanation : I have a “master” playbook which imports several other playbooks. I can run the “master” playbook or one individual playbook…

---

## [Retrieve a value from a dictionary in stderr](https://forum.ansible.com/t/retrieve-a-value-from-a-dictionary-in-stderr/34784)

<div class="topic-metadata">

**Author:** [@Glenn\_Robinson](https://forum.ansible.com/u/Glenn_Robinson)\
**Replies:** 2\
**Last updated:** [March 15, 2021, 11:08am UTC](https://forum.ansible.com/t/retrieve-a-value-from-a-dictionary-in-stderr/34784 "2021-03-15T11:08:59Z")

</div>

I’m using a module which returns some information in the module’s register stderr variable when the module encounters an issue. Using - debug: var=sql\_delete.stderr returns: ok: \[ibmi01\] =\> { “sql\_delete.stderr”: { “…

---

## [loop on ios fact error](https://forum.ansible.com/t/loop-on-ios-fact-error/34779)

<div class="topic-metadata">

**Author:** [@Three\_PaX](https://forum.ansible.com/u/Three_PaX)\
**Replies:** 3\
**Last updated:** [March 15, 2021, 2:58am UTC](https://forum.ansible.com/t/loop-on-ios-fact-error/34779 "2021-03-15T02:58:48Z")

</div>

hello guyz here my playbook name: Play on switch hosts: Paris gather\_facts: no tasks: name: set fact ios\_facts: gather\_subset: all register: ansible\_net\_interfaces debug: var: ansible\_net\_interfaces nam…

---

## [jinja2: How to reference JSON structure items whose keys are variables?](https://forum.ansible.com/t/jinja2-how-to-reference-json-structure-items-whose-keys-are-variables/34781)

<div class="topic-metadata">

**Author:** [@Bryant\_F](https://forum.ansible.com/u/Bryant_F)\
**Replies:** 0\
**Last updated:** [March 14, 2021, 7:30pm UTC](https://forum.ansible.com/t/jinja2-how-to-reference-json-structure-items-whose-keys-are-variables/34781 "2021-03-14T19:30:03Z")

</div>

Hello, As the title states, the keys themselves are variables, and I’m having trouble getting values. Instead of writing my question in the email body, I decided to create a stackexchange post: https://devops.stackexc…

---

## [Ansible upgrade cisco switch stack firmware](https://forum.ansible.com/t/ansible-upgrade-cisco-switch-stack-firmware/34763)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 7\
**Last updated:** [March 13, 2021, 2:01am UTC](https://forum.ansible.com/t/ansible-upgrade-cisco-switch-stack-firmware/34763 "2021-03-13T02:01:57Z")

</div>

I’m trying to update a cisco switch stack with ansible and I would like to use the archive command, but that doesn’t work with .bin files. For the 9200 series switches, I can only download .bin files. I have tried: io…

---

## [become\_user with prompt](https://forum.ansible.com/t/become-user-with-prompt/34764)

<div class="topic-metadata">

**Author:** [@Alejandro\_Larzabal](https://forum.ansible.com/u/Alejandro_Larzabal)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 7:47pm UTC](https://forum.ansible.com/t/become-user-with-prompt/34764 "2021-03-12T19:47:20Z")

</div>

Hello, How can I respond to a user prompt that happens upon authentication? Like ‘expect’ enables us to respond to command prompts, but the prompt in question happens when the user logs in, not after a command. Does a…

---

## [Need- Java Developer in Atlanta, GA.](https://forum.ansible.com/t/need-java-developer-in-atlanta-ga/34770)

<div class="topic-metadata">

**Author:** [@Santhosh\_K](https://forum.ansible.com/u/Santhosh_K)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 7:44pm UTC](https://forum.ansible.com/t/need-java-developer-in-atlanta-ga/34770 "2021-03-12T19:44:32Z")

</div>

Hi Please check the position below and reply back with your updated resume. Title: Java Developer Location: Atlanta, GA Duration: Long term Job Description: 1.Must have experience with Core Java / J2EE application …

---

## [Need - Java-Cloud Engineer Professional in Atlanta, GA](https://forum.ansible.com/t/need-java-cloud-engineer-professional-in-atlanta-ga/34774)

<div class="topic-metadata">

**Author:** [@Santhosh\_K](https://forum.ansible.com/u/Santhosh_K)\
**Replies:** 2\
**Last updated:** [March 12, 2021, 6:56pm UTC](https://forum.ansible.com/t/need-java-cloud-engineer-professional-in-atlanta-ga/34774 "2021-03-12T18:56:44Z")

</div>

Hi, Please check the below position and reply back with the below details and updated resume if you are comfortable. Java-Cloud Engineer Professional Location: Atlanta, GA Duration: Long-Term Exp: Need 9 - 12 Years …

---

## [inventory export to csv format from ansible tower](https://forum.ansible.com/t/inventory-export-to-csv-format-from-ansible-tower/34773)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 5:33pm UTC](https://forum.ansible.com/t/inventory-export-to-csv-format-from-ansible-tower/34773 "2021-03-12T17:33:49Z")

</div>

Hi All, I am looking for way to export inventory and some hostvars(gathered as part of dynamic inventory) from ansible tower to csv format.Could someone help here? Regards Kumar

---

## [Adding existing host to different inventory shows duplicates](https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 5:33pm UTC](https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772 "2021-03-12T17:33:07Z")

</div>

Hi All, I am trying to add existing host into different inventory shows duplicates in ansible tower.Does the host can’t be in two different inventory? Call to /api/v2/hosts/. GET returned: 400 duplicate key value viola…

---

## [Need help in adding ssh\_port dynamically](https://forum.ansible.com/t/need-help-in-adding-ssh-port-dynamically/34771)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 4:28pm UTC](https://forum.ansible.com/t/need-help-in-adding-ssh-port-dynamically/34771 "2021-03-12T16:28:16Z")

</div>

Hi All, The dynamic inventory has been implemented with servicenow collections however few servers we are using custom ssh\_port rest all servers uses default port 22.Since it’s dynamic inventory is there way to add ssh\_…

---

## [Need assistance to write script to find free space in all member switches (not just master switch)](https://forum.ansible.com/t/need-assistance-to-write-script-to-find-free-space-in-all-member-switches-not-just-master-switch/34769)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [March 11, 2021, 9:47pm UTC](https://forum.ansible.com/t/need-assistance-to-write-script-to-find-free-space-in-all-member-switches-not-just-master-switch/34769 "2021-03-11T21:47:45Z")

</div>

Problem: In a stacked switch, ‘ansible\_net\_filesystems\_info’ of ios\_facts module only shows total and free space of master switch. It doesn’t show space of member switch. But I need to write a script that will check for …

---

## [Ansible-3.1.0 release and ansible-4.0 alpha1 delay](https://forum.ansible.com/t/ansible-3-1-0-release-and-ansible-4-0-alpha1-delay/34768)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [March 11, 2021, 9:10pm UTC](https://forum.ansible.com/t/ansible-3-1-0-release-and-ansible-4-0-alpha1-delay/34768 "2021-03-11T21:10:12Z")

</div>

Hi all, We're happy to announce that the ansible-3.1.0 package is now available! This update contains bugfixes and new, backwards compatible features in the contained collections. If you would like to learn about how…

---

## [Module azure\_rm\_deployment  getting OpenSSL.SSL.Error: \[('SSL routines', 'ssl3\_write\_pending', 'bad write retry')\]](https://forum.ansible.com/t/module-azure-rm-deployment-getting-openssl-ssl-error-ssl-routines-ssl3-write-pending-bad-write-retry/34765)

<div class="topic-metadata">

**Author:** [@mathew](https://forum.ansible.com/u/mathew)\
**Replies:** 0\
**Last updated:** [March 11, 2021, 7:16pm UTC](https://forum.ansible.com/t/module-azure-rm-deployment-getting-openssl-ssl-error-ssl-routines-ssl3-write-pending-bad-write-retry/34765 "2021-03-11T19:16:28Z")

</div>

Hi I tried to use azure\_rm\_deployment module for deployment and getting OpenSSL.SSL.Error: \[(‘SSL routines’, ‘ssl3\_write\_pending’, ‘bad write retry’)\] error. here is more details. self.\_raise\_ssl\_error(self.\_ssl, resul…

---

## [any\_errors\_fatal doesn't fail with unreachable hosts](https://forum.ansible.com/t/any-errors-fatal-doesnt-fail-with-unreachable-hosts/34762)

<div class="topic-metadata">

**Author:** [@Mark\_Faine](https://forum.ansible.com/u/Mark_Faine)\
**Replies:** 5\
**Last updated:** [March 11, 2021, 5:15pm UTC](https://forum.ansible.com/t/any-errors-fatal-doesnt-fail-with-unreachable-hosts/34762 "2021-03-11T17:15:00Z")

</div>

I’m trying to ping servers and fail immediately at the first one that is unreachable. However, this doesn’t seem to work. I found this old issue about it but apparently it hasn’t been resolved. https://github.com/ansible…

---

## [blockinfile and lineinfile behaviour](https://forum.ansible.com/t/blockinfile-and-lineinfile-behaviour/34755)

<div class="topic-metadata">

**Author:** [@Stu\_Lipshires](https://forum.ansible.com/u/Stu_Lipshires)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 4:01pm UTC](https://forum.ansible.com/t/blockinfile-and-lineinfile-behaviour/34755 "2021-03-11T16:01:27Z")

</div>

I have a Host VM that I am using to launch the creation of multiple OpenShift Clusters. Every time I create a new cluster, I need to update the /etc/hosts and dnsmasq.conf files of this Host VM with the new cluster endpo…

---

## [fetch module for .zip file](https://forum.ansible.com/t/fetch-module-for-zip-file/34761)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 0\
**Last updated:** [March 10, 2021, 6:24pm UTC](https://forum.ansible.com/t/fetch-module-for-zip-file/34761 "2021-03-10T18:24:00Z")

</div>

Hi All, while I am fetching 1.25G file from remote to control node. fetch module only getting around 100MB… Missing the file size. is it module is available to transfer larger files ? Thanks

---

## [resolve list of IPs in txt file to DNS](https://forum.ansible.com/t/resolve-list-of-ips-in-txt-file-to-dns/34760)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [March 10, 2021, 5:15pm UTC](https://forum.ansible.com/t/resolve-list-of-ips-in-txt-file-to-dns/34760 "2021-03-10T17:15:39Z")

</div>

how can i use ansible to resolve list of IPs to DNS names?

---

## [Ansible writing to a file](https://forum.ansible.com/t/ansible-writing-to-a-file/34719)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 3\
**Last updated:** [March 10, 2021, 4:36pm UTC](https://forum.ansible.com/t/ansible-writing-to-a-file/34719 "2021-03-10T16:36:51Z")

</div>

Hi all, So I’m trying to write to a local file from my ansible server based off information I’ve gotten from my inventory hosts. For some reason, it keeps creating the file ON the inventory host instead of my ansible se…

---

## [ansible.community: linode\_v4 module updates to support nodebalancers?](https://forum.ansible.com/t/ansible-community-linode-v4-module-updates-to-support-nodebalancers/34759)

<div class="topic-metadata">

**Author:** [@John\_Stoffel](https://forum.ansible.com/u/John_Stoffel)\
**Replies:** 0\
**Last updated:** [March 10, 2021, 4:16pm UTC](https://forum.ansible.com/t/ansible-community-linode-v4-module-updates-to-support-nodebalancers/34759 "2021-03-10T16:16:14Z")

</div>

Hi there, Is anyone working on extending the ansible.community linode\_v4: module to support more than just simple linode creation? Or do I need to keep using command: cmd: linode-cli … to do all my work? I tried usin…

---

## [Python\_Interpreter\_Error.](https://forum.ansible.com/t/python-interpreter-error/34756)

<div class="topic-metadata">

**Author:** [@Akshay\_Bora](https://forum.ansible.com/u/Akshay_Bora)\
**Replies:** 3\
**Last updated:** [March 10, 2021, 3:00pm UTC](https://forum.ansible.com/t/python-interpreter-error/34756 "2021-03-10T15:00:18Z")

</div>

Hi People, I am running the ansible playbook through AWX and its getting failed with the subjected error. But the same playbook is running on other server successfully. Kindly help to resolve the issue. { “ansible\_fac…

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

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