# Ansible Project

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

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

**Page:** 164

---

## [how to export dynamic inventory list to some readable format ?](https://forum.ansible.com/t/how-to-export-dynamic-inventory-list-to-some-readable-format/31391)

<div class="topic-metadata">

**Author:** [@Ajay\_Chitnis](https://forum.ansible.com/u/Ajay_Chitnis)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 8:49am UTC](https://forum.ansible.com/t/how-to-export-dynamic-inventory-list-to-some-readable-format/31391 "2019-09-30T08:49:52Z")

</div>

I am able to get dynamic inventory in GCP , can i know is there any method to filter ( as hostname and IP only ) and export to some txt format ? thanx Ajax

---

## [unable to Delete post in GitHub ansible community](https://forum.ansible.com/t/unable-to-delete-post-in-github-ansible-community/31383)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 9\
**Last updated:** [September 29, 2019, 7:59am UTC](https://forum.ansible.com/t/unable-to-delete-post-in-github-ansible-community/31383 "2019-09-29T07:59:08Z")

</div>

hi team, Due to personal reason i need to delete the post on github ansible community as per below URL please tell me process to delete it soon as am unable to perform any operation on post . url: https://github.com/an…

---

## [how to pass a parameter file in cloud module](https://forum.ansible.com/t/how-to-pass-a-parameter-file-in-cloud-module/31386)

<div class="topic-metadata">

**Author:** [@ramesh\_babu](https://forum.ansible.com/u/ramesh_babu)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 5:43am UTC](https://forum.ansible.com/t/how-to-pass-a-parameter-file-in-cloud-module/31386 "2019-09-29T05:43:48Z")

</div>

hello team, how to pass a pass a parameter file in my ansible cloudformation module .

---

## [Slack notifications with web-hook behind proxy](https://forum.ansible.com/t/slack-notifications-with-web-hook-behind-proxy/31374)

<div class="topic-metadata">

**Author:** [@Mukul\_Malhotra](https://forum.ansible.com/u/Mukul_Malhotra)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 8:13am UTC](https://forum.ansible.com/t/slack-notifications-with-web-hook-behind-proxy/31374 "2019-09-28T08:13:13Z")

</div>

Hi, I am trying to setup slack with through ansible but I am getting below error as, Playbook: - name: Send notification message via Slack slack: token: "MYToken/../../ Format" msg: '{{ inventory\_hostname }}…

---

## [Can inventory plugin "constructed" create a groups based on ansible\_facts](https://forum.ansible.com/t/can-inventory-plugin-constructed-create-a-groups-based-on-ansible-facts/31047)

<div class="topic-metadata">

**Author:** [@user89](https://forum.ansible.com/u/user89)\
**Replies:** 3\
**Last updated:** [September 28, 2019, 4:50am UTC](https://forum.ansible.com/t/can-inventory-plugin-constructed-create-a-groups-based-on-ansible-facts/31047 "2019-09-28T04:50:04Z")

</div>

Hello community! A have plenty of EC2 servers in AWS and want to categorize them based on gathered from ansible\_facts (by module setup), for example have group “CentOS” where ansible\_facts\[‘distribution’\] == ‘CentOS’ an…

---

## [POST Deletion](https://forum.ansible.com/t/post-deletion/31380)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 0\
**Last updated:** [September 27, 2019, 6:05pm UTC](https://forum.ansible.com/t/post-deletion/31380 "2019-09-27T18:05:18Z")

</div>

hi all, i have posted a issue long back in ansible github issues now i want to delete the post due to some important personal reasons can you please tell us proper way to do this as the post is in locked state now am un…

---

## [Python module github3 is not working with ansible](https://forum.ansible.com/t/python-module-github3-is-not-working-with-ansible/31379)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Rapozo](https://forum.ansible.com/u/Rodrigo_Rapozo)\
**Replies:** 2\
**Last updated:** [September 27, 2019, 4:08pm UTC](https://forum.ansible.com/t/python-module-github3-is-not-working-with-ansible/31379 "2019-09-27T16:08:12Z")

</div>

Hello I’m trying to use the ansible module github\_release that use the python module github3.py. The machine that I need run the playbook don’t have permission to access the internet so I downloaded (pip download github…

---

## [Ansible with Azure VM](https://forum.ansible.com/t/ansible-with-azure-vm/31378)

<div class="topic-metadata">

**Author:** [@Ishu\_Lovely](https://forum.ansible.com/u/Ishu_Lovely)\
**Replies:** 0\
**Last updated:** [September 27, 2019, 3:45pm UTC](https://forum.ansible.com/t/ansible-with-azure-vm/31378 "2019-09-27T15:45:52Z")

</div>

Hi folks, Can anybody help me if we can use ansible to get status of azure vm and backup of vm and email if backup failure happens? Regards Avinash

---

## [Solve the problem](https://forum.ansible.com/t/solve-the-problem/31377)

<div class="topic-metadata">

**Author:** [@ronny\_saavedra](https://forum.ansible.com/u/ronny_saavedra)\
**Replies:** 0\
**Last updated:** [September 27, 2019, 3:38pm UTC](https://forum.ansible.com/t/solve-the-problem/31377 "2019-09-27T15:38:35Z")

</div>

Good morning someone who can help me solve this problem. My files are grouped this way: I run my playbook this way: ansible-playbook -e @variables.yml ansible\_newtemplate.yml Then I run the json manually , packer b…

---

## [Ansible variables for multiple inventories](https://forum.ansible.com/t/ansible-variables-for-multiple-inventories/31373)

<div class="topic-metadata">

**Author:** [@J\_F](https://forum.ansible.com/u/J_F)\
**Replies:** 2\
**Last updated:** [September 27, 2019, 11:03am UTC](https://forum.ansible.com/t/ansible-variables-for-multiple-inventories/31373 "2019-09-27T11:03:15Z")

</div>

Hello. I have following host file: \` \[main:children\] group\_1 group\_2 \[group\_1:vars\] testvar=‘testval1’ \[group\_2:vars\] testvar=‘testval2’ \` Running playbook below I am getting value ‘testval1’ group\_2 Could, …

---

## [Failed to install ansible tower on CentOS 7](https://forum.ansible.com/t/failed-to-install-ansible-tower-on-centos-7/31370)

<div class="topic-metadata">

**Author:** [@Rahul2](https://forum.ansible.com/u/Rahul2)\
**Replies:** 1\
**Last updated:** [September 27, 2019, 7:28am UTC](https://forum.ansible.com/t/failed-to-install-ansible-tower-on-centos-7/31370 "2019-09-27T07:28:17Z")

</div>

I’m new to Ansible. I am failed to install ansible tower due to awx-manage migrate. Can some one review and help me? ansible 2.8.4 python 2.7.5 ansible tower - 3.4.2.-1 ( i tired 3.4 version also, got same issue on t…

---

## [Connection via Citrix](https://forum.ansible.com/t/connection-via-citrix/31348)

<div class="topic-metadata">

**Author:** [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Replies:** 4\
**Last updated:** [September 27, 2019, 5:08am UTC](https://forum.ansible.com/t/connection-via-citrix/31348 "2019-09-27T05:08:07Z")

</div>

Hello Gurus, Few devices in my customer environment can be connected via Citrix. How to connect to devices which are accessible only via Citrix using Ansible ? Thanks

---

## [PowerShell foreach loop in AWX?](https://forum.ansible.com/t/powershell-foreach-loop-in-awx/31372)

<div class="topic-metadata">

**Author:** [@Deven\_Suji](https://forum.ansible.com/u/Deven_Suji)\
**Replies:** 0\
**Last updated:** [September 27, 2019, 4:56am UTC](https://forum.ansible.com/t/powershell-foreach-loop-in-awx/31372 "2019-09-27T04:56:48Z")

</div>

I’ve recently deployed a POC automation platform involving ServiceNow and AWX. I have a use case to automate access to windows servers. The ServiceNow form will be supplying me 10 windows server names at a time. I did …

---

## [Hello guys, I'm unable to pass a dynamic inventory script to read a yml file from repo](https://forum.ansible.com/t/hello-guys-im-unable-to-pass-a-dynamic-inventory-script-to-read-a-yml-file-from-repo/31369)

<div class="topic-metadata">

**Author:** [@Bariou\_Alarou](https://forum.ansible.com/u/Bariou_Alarou)\
**Replies:** 4\
**Last updated:** [September 26, 2019, 8:28pm UTC](https://forum.ansible.com/t/hello-guys-im-unable-to-pass-a-dynamic-inventory-script-to-read-a-yml-file-from-repo/31369 "2019-09-26T20:28:05Z")

</div>

I’m able to get the list of my hosts from the yml file when running this command $ /opt/ansible/static/inventory/inventory.py https://github.com/adeyeri88/test.git staging.yml { “\_meta”: { “hostvars”: {} }, “db”: { …

---

## [Any ansible module to JBOSS Explode ear file in the target server](https://forum.ansible.com/t/any-ansible-module-to-jboss-explode-ear-file-in-the-target-server/31367)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 1:24pm UTC](https://forum.ansible.com/t/any-ansible-module-to-jboss-explode-ear-file-in-the-target-server/31367 "2019-09-26T13:24:37Z")

</div>

Hi, I have a ear file in my local. And this needs to be exploded on the target machine. Apart from the unarchive module. Is there any JBOSS explode option in Ansible? Thanks in advance, Mona

---

## [SLES 15 SP1 SAet to Permissive Mode](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 3\
**Last updated:** [September 26, 2019, 12:35pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340 "2019-09-26T12:35:19Z")

</div>

Happy Monday All, I’m working on a task to set SELinux to permissive mode for RHEL/Debian and to set Apparmor to permissive mode for SLES15/12/11. I have my code in place for SELinux but I don’t know what to do for SLES…

---

## [os\_server\_volume module - Can not find server to attach volume to](https://forum.ansible.com/t/os-server-volume-module-can-not-find-server-to-attach-volume-to/31365)

<div class="topic-metadata">

**Author:** [@Maiken\_Pedersen](https://forum.ansible.com/u/Maiken_Pedersen)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 9:19am UTC](https://forum.ansible.com/t/os-server-volume-module-can-not-find-server-to-attach-volume-to/31365 "2019-09-26T09:19:25Z")

</div>

Hi, I am facing a puzzling error. I have earlier used os\_volume and os\_server\_volume modules to create and attach openstack volumes to openstack instances. I have successfully created the volume with the os\_volume mod…

---

## [Undefined variable error when passing to include\_task file in loop](https://forum.ansible.com/t/undefined-variable-error-when-passing-to-include-task-file-in-loop/31364)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 0\
**Last updated:** [September 26, 2019, 7:48am UTC](https://forum.ansible.com/t/undefined-variable-error-when-passing-to-include-task-file-in-loop/31364 "2019-09-26T07:48:36Z")

</div>

I am dealing with nested loops inorder to build dynamic host using add\_host. Outer Loop: with\_items: “{{ command\_result.stdout\_lines }}” // gets me the list of users Inner Loop: with\_items: “{{ dest\_ip.split(‘,’) }}” …

---

## [Ansible apt module question (Repository issues)](https://forum.ansible.com/t/ansible-apt-module-question-repository-issues/31351)

<div class="topic-metadata">

**Author:** [@Tobias\_Klenota](https://forum.ansible.com/u/Tobias_Klenota)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 6:36am UTC](https://forum.ansible.com/t/ansible-apt-module-question-repository-issues/31351 "2019-09-26T06:36:55Z")

</div>

Hi, i,m getting the “public key is not avaiable” error while using the apt module.(installing zabbix agent) I know i could just add the key, but my question is: Why does this error occure while im using ansible and it…

---

## [Ansible's plans regarding Python 2 EOL](https://forum.ansible.com/t/ansibles-plans-regarding-python-2-eol/31361)

<div class="topic-metadata">

**Author:** [@afeller](https://forum.ansible.com/u/afeller)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 5:04pm UTC](https://forum.ansible.com/t/ansibles-plans-regarding-python-2-eol/31361 "2019-09-25T17:04:04Z")

</div>

We’ve all seen the warnings about Python 2 support ceasing on January 1st, 2020 from various projects including pip for months now. I hoped Ansible blog would have officially and proactively addressed the topic as this m…

---

## [Assign and print variable inside a with\_items loop based on condition.](https://forum.ansible.com/t/assign-and-print-variable-inside-a-with-items-loop-based-on-condition/31359)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 15\
**Last updated:** [September 25, 2019, 5:00pm UTC](https://forum.ansible.com/t/assign-and-print-variable-inside-a-with-items-loop-based-on-condition/31359 "2019-09-25T17:00:20Z")

</div>

\- debug: msg: "User was {{ item.split('\\t')\[3\] }}" with\_items: "{{ command\_result.stdout\_lines }}" The above give me the below output: “msg”: “User was FrontEnd” “msg”: “User was BackEnd” I now wish to set USER v…

---

## [Loading variables with data from REST](https://forum.ansible.com/t/loading-variables-with-data-from-rest/31354)

<div class="topic-metadata">

**Author:** [@Paul](https://forum.ansible.com/u/Paul)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 3:22pm UTC](https://forum.ansible.com/t/loading-variables-with-data-from-rest/31354 "2019-09-25T15:22:26Z")

</div>

I’d like to leverage systems with an API to provide variables to playbooks running on the controller. Something similar to a dynamic inventory script loading from an external system. For example with a curl command and…

---

## [Ansible Fails to Restart Jetty on a remote host](https://forum.ansible.com/t/ansible-fails-to-restart-jetty-on-a-remote-host/31362)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 2:29pm UTC](https://forum.ansible.com/t/ansible-fails-to-restart-jetty-on-a-remote-host/31362 "2019-09-25T14:29:57Z")

</div>

Hi All, I’m trying to restart jetty using an ansible script bellow is a snippet from my script \`

---

## [Primary DNS suffix](https://forum.ansible.com/t/primary-dns-suffix/31360)

<div class="topic-metadata">

**Author:** [@Barun\_kumar](https://forum.ansible.com/u/Barun_kumar)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 8:23am UTC](https://forum.ansible.com/t/primary-dns-suffix/31360 "2019-09-25T08:23:16Z")

</div>

Hi Team, I am looking to change primary DNS suffix in windows using ansible module. Please let me know how I can change it. (attachments)

---

## [Cannot use signature-based authentication because pyopenssl is not available](https://forum.ansible.com/t/cannot-use-signature-based-authentication-because-pyopenssl-is-not-available/31358)

<div class="topic-metadata">

**Author:** [@Antien\_Ho](https://forum.ansible.com/u/Antien_Ho)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 4:28am UTC](https://forum.ansible.com/t/cannot-use-signature-based-authentication-because-pyopenssl-is-not-available/31358 "2019-09-25T04:28:59Z")

</div>

environment: windows 10 Ubuntu 18.04 LTS. python version as standard: ansible-playbook 2.8.5 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/antienho/.ansible/plugins/modules’, u’/usr/…

---

## [traversing directory structure](https://forum.ansible.com/t/traversing-directory-structure/31357)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 1\
**Last updated:** [September 24, 2019, 10:17pm UTC](https://forum.ansible.com/t/traversing-directory-structure/31357 "2019-09-24T22:17:00Z")

</div>

hello, let’s look at the following structure:var/ ssh/ user1 user2 user3 hosts/ host1/ user1 user3 host2/ user2 user3 under /var/ssh there are public keys for users files under host1,host2 catalog are empty…

---

## [Getting error for ".stdout\_lines" for a registered variable](https://forum.ansible.com/t/getting-error-for-stdout-lines-for-a-registered-variable/31353)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 7\
**Last updated:** [September 24, 2019, 7:42pm UTC](https://forum.ansible.com/t/getting-error-for-stdout-lines-for-a-registered-variable/31353 "2019-09-24T19:42:19Z")

</div>

Hi, I have playbook to retrieve the Instance id of Openstack nodes.Now everything works fine but the resgitered value for instid.stdout\_lines gets an undefined error. The error was: ‘dict object’ has no attribute ‘stdo…

---

## [traversing directory structure](https://forum.ansible.com/t/traversing-directory-structure/31356)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 1\
**Last updated:** [September 24, 2019, 7:37pm UTC](https://forum.ansible.com/t/traversing-directory-structure/31356 "2019-09-24T19:37:15Z")

</div>

hello let’s look at example: directory structure vars/ ssh/ user1

---

## [VMware Dynamic Inventory Plugin Performance Configuration](https://forum.ansible.com/t/vmware-dynamic-inventory-plugin-performance-configuration/31355)

<div class="topic-metadata">

**Author:** [@Scott\_MacDonald](https://forum.ansible.com/u/Scott_MacDonald)\
**Replies:** 0\
**Last updated:** [September 24, 2019, 6:49pm UTC](https://forum.ansible.com/t/vmware-dynamic-inventory-plugin-performance-configuration/31355 "2019-09-24T18:49:28Z")

</div>

Just setup the VMware Dynamic Inventory Plugin, as documented at https://docs.ansible.com/ansible/latest/scenario\_guides/vmware\_scenarios/vmware\_inventory.html It was easy enough to follow and get it to “functionally” w…

---

## [Ansible Playbook and Jenkins](https://forum.ansible.com/t/ansible-playbook-and-jenkins/31349)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 1:28pm UTC](https://forum.ansible.com/t/ansible-playbook-and-jenkins/31349 "2019-09-24T13:28:02Z")

</div>

Hi, Can anybody advise how to run Ansible Playbook using Jenkins and how to integrate. regards Vikrant

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

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