# Ansible Project

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

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

**Page:** 64

---

## [Create a Windows IIS site as an application?](https://forum.ansible.com/t/create-a-windows-iis-site-as-an-application/35797)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [September 29, 2021, 1:19am UTC](https://forum.ansible.com/t/create-a-windows-iis-site-as-an-application/35797 "2021-09-29T01:19:17Z")

</div>

I read the win\_iis\_website docs and am able to create an IIS site. However, the IIS GUI has a text box for “Alias” but the module does not? So how can I add an alias for the site? Thanks, Chris

---

## [How do you organize ansible roles?](https://forum.ansible.com/t/how-do-you-organize-ansible-roles/35796)

<div class="topic-metadata">

**Author:** [@holodata](https://forum.ansible.com/u/holodata)\
**Replies:** 1\
**Last updated:** [September 28, 2021, 8:52pm UTC](https://forum.ansible.com/t/how-do-you-organize-ansible-roles/35796 "2021-09-28T20:52:25Z")

</div>

Hey! I’m curious about how do you organize Ansible roles. I want to share a few roles in the public Git repository. What do you think about storing roles in the ~/ansible/roles directory? Do you recommend pushing the e…

---

## [List manipulation questions](https://forum.ansible.com/t/list-manipulation-questions/35790)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 3\
**Last updated:** [September 28, 2021, 3:12pm UTC](https://forum.ansible.com/t/list-manipulation-questions/35790 "2021-09-28T15:12:26Z")

</div>

Hello, I understand this very basic, but I’m still learning… (And my apologies for the long message.) I built the playbook below so I can check which server is still in need of an OS update based on its current kernel …

---

## [organizing playbooks](https://forum.ansible.com/t/organizing-playbooks/35774)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 3\
**Last updated:** [September 28, 2021, 6:40am UTC](https://forum.ansible.com/t/organizing-playbooks/35774 "2021-09-28T06:40:44Z")

</div>

Is there a modern way of organizing playbooks? Are we still supposed to have our playbooks at the top level of the directory structure as described in The Playbooks Best Practices doc ? That doesn’t scale. Anyone have a …

---

## [New release beta: ansible-core 2.12.0b1](https://forum.ansible.com/t/new-release-beta-ansible-core-2-12-0b1/35789)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [September 27, 2021, 9:40pm UTC](https://forum.ansible.com/t/new-release-beta-ansible-core-2-12-0b1/35789 "2021-09-27T21:40:31Z")

</div>

Hi all- we’re happy to announce the beta release of: ansible-core 2.12.0b1 How to get it

---

## [if/what ansible\_network\_os support Oracle/Acme packet/Ribbon Sonus session border controller](https://forum.ansible.com/t/if-what-ansible-network-os-support-oracle-acme-packet-ribbon-sonus-session-border-controller/35786)

<div class="topic-metadata">

**Author:** [@Hau\_Wu](https://forum.ansible.com/u/Hau_Wu)\
**Replies:** 0\
**Last updated:** [September 27, 2021, 2:51pm UTC](https://forum.ansible.com/t/if-what-ansible-network-os-support-oracle-acme-packet-ribbon-sonus-session-border-controller/35786 "2021-09-27T14:51:28Z")

</div>

Hi We use ansible to do automation on a variety of devices. Currently we are able to use ansible to do linux servers, VMware, Cisco switch/router/firewall. However when I tried use ansible to test ssh on Oracle/Acme Pac…

---

## [Appending multiple values to same cell in csv ansible](https://forum.ansible.com/t/appending-multiple-values-to-same-cell-in-csv-ansible/35782)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 1\
**Last updated:** [September 25, 2021, 10:19am UTC](https://forum.ansible.com/t/appending-multiple-values-to-same-cell-in-csv-ansible/35782 "2021-09-25T10:19:52Z")

</div>

Hi All, I am trying to append multiple values in same cell csv but not getting through.Could someone help here? Current output: Hostname Disk Info testserver sdd: 1.00 Gbsde: 1.00 Gb Expected output: Hostname Disk …

---

## [indentation help](https://forum.ansible.com/t/indentation-help/35783)

<div class="topic-metadata">

**Author:** [@simon\_clarke](https://forum.ansible.com/u/simon_clarke)\
**Replies:** 2\
**Last updated:** [September 24, 2021, 3:23pm UTC](https://forum.ansible.com/t/indentation-help/35783 "2021-09-24T15:23:07Z")

</div>

Hi All, Im new to ansible and want to underestand the syntax better, i have the below file running on my Ubuntu machine but im struggling with knowing where to use the " - " sign as i previously though it was just for “…

---

## [URI Multipart for Image file](https://forum.ansible.com/t/uri-multipart-for-image-file/35780)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 3\
**Last updated:** [September 24, 2021, 2:12pm UTC](https://forum.ansible.com/t/uri-multipart-for-image-file/35780 "2021-09-24T14:12:14Z")

</div>

Hello All, I am trying to upload the image using below URI API call with multipart/form-data as i have almost 1 to 6 image to be uploaded at a time. For testing i am only trying with the image 1. Task work as expected…

---

## [How to encrypt ansible vault password](https://forum.ansible.com/t/how-to-encrypt-ansible-vault-password/35779)

<div class="topic-metadata">

**Author:** [@Anjali\_Adhikari](https://forum.ansible.com/u/Anjali_Adhikari)\
**Replies:** 3\
**Last updated:** [September 24, 2021, 11:48am UTC](https://forum.ansible.com/t/how-to-encrypt-ansible-vault-password/35779 "2021-09-24T11:48:11Z")

</div>

Hi All, I am facing a challenge in getting CISO approval for my ansible project. Issue: We are using Ansible vault for keeping vars secret. However, that vault password we are keeping it in ./ path in clear text.Can we…

---

## [connect to  remote device](https://forum.ansible.com/t/connect-to-remote-device/35781)

<div class="topic-metadata">

**Author:** [@sifo\_alaa](https://forum.ansible.com/u/sifo_alaa)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 9:17am UTC](https://forum.ansible.com/t/connect-to-remote-device/35781 "2021-09-24T09:17:02Z")

</div>

hello all, i need your help, I want to connect to an equipment remotely and get information about it, for example its version here is the playbook I use and here is the ancible file how it is configured ansible playb…

---

## [wmiobejct access denied](https://forum.ansible.com/t/wmiobejct-access-denied/35778)

<div class="topic-metadata">

**Author:** [@Ramcharan\_Pasyanthi](https://forum.ansible.com/u/Ramcharan_Pasyanthi)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 4:15am UTC](https://forum.ansible.com/t/wmiobejct-access-denied/35778 "2021-09-24T04:15:35Z")

</div>

Hi everyone, I am trying to execute powershell script on a remote host and i am getting the error “wmiobject access denied” error… Any fix for this…please let me know. Thanks Charan

---

## [problems to address a configuration via ANSIBLE\_CONFIG](https://forum.ansible.com/t/problems-to-address-a-configuration-via-ansible-config/35775)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 6\
**Last updated:** [September 23, 2021, 9:24am UTC](https://forum.ansible.com/t/problems-to-address-a-configuration-via-ansible-config/35775 "2021-09-23T09:24:55Z")

</div>

hi everybody,

---

## [Getting ansible (not core) version in the playbook](https://forum.ansible.com/t/getting-ansible-not-core-version-in-the-playbook/35768)

<div class="topic-metadata">

**Author:** [@Piotr\_Kowalczyk](https://forum.ansible.com/u/Piotr_Kowalczyk)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 1:08pm UTC](https://forum.ansible.com/t/getting-ansible-not-core-version-in-the-playbook/35768 "2021-09-22T13:08:02Z")

</div>

Good morning, Would you guys help me to understand how to get the Ansible correct version in the playbook? I have newest Ansible: (ansible) poe@lime:~$ pip3 freeze | grep ansible ansible==4.6.0 ansible-core==2.11.5 …

---

## [Ansible-4.6.0 release](https://forum.ansible.com/t/ansible-4-6-0-release/35766)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 9:27pm UTC](https://forum.ansible.com/t/ansible-4-6-0-release/35766 "2021-09-21T21:27:44Z")

</div>

Hi all, We're happy to announce that the ansible-4.6.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. How to get it

---

## [Pass 'ansible\_failed\_result' variable to Tower Notification](https://forum.ansible.com/t/pass-ansible-failed-result-variable-to-tower-notification/35765)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 7:46pm UTC](https://forum.ansible.com/t/pass-ansible-failed-result-variable-to-tower-notification/35765 "2021-09-21T19:46:53Z")

</div>

best try on the dedicated awx-project list (this is the ansible-project list)

---

## [setup module is failing](https://forum.ansible.com/t/setup-module-is-failing/35761)

<div class="topic-metadata">

**Author:** [@Altif](https://forum.ansible.com/u/Altif)\
**Replies:** 9\
**Last updated:** [September 21, 2021, 6:42pm UTC](https://forum.ansible.com/t/setup-module-is-failing/35761 "2021-09-21T18:42:57Z")

</div>

Hello, I’ve ansible control node(CentOS 7) which is used to scp build image to target server(FreeBSD 11.04). It was just working fine last week. However, today I’d tried to run playbook, it got failed with below error m…

---

## [MYSQL failing on couple of servers](https://forum.ansible.com/t/mysql-failing-on-couple-of-servers/35764)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 4\
**Last updated:** [September 21, 2021, 3:56pm UTC](https://forum.ansible.com/t/mysql-failing-on-couple-of-servers/35764 "2021-09-21T15:56:39Z")

</div>

Hi All, My playbook is running good on 90 servers getting all information mysql. Issue is failing on 10 servers below is the error. Note: Our ansible id doesn’t have root access. The PyMySQL (Python 2.7 and Python 3.…

---

## [Inventory report](https://forum.ansible.com/t/inventory-report/35763)

<div class="topic-metadata">

**Author:** [@Pathi](https://forum.ansible.com/u/Pathi)\
**Replies:** 3\
**Last updated:** [September 21, 2021, 3:27pm UTC](https://forum.ansible.com/t/inventory-report/35763 "2021-09-21T15:27:53Z")

</div>

Hi Some one help me with report wrting with template .j2 hostname,CPU,MEM,SWAP… for multipple servers. Thanks Prabhakar

---

## [Issue with template module](https://forum.ansible.com/t/issue-with-template-module/35745)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [September 20, 2021, 9:39pm UTC](https://forum.ansible.com/t/issue-with-template-module/35745 "2021-09-20T21:39:36Z")

</div>

We have a playbook that uses a jinja2 template to prepare a report and email us. For some reason, the template module is failing. Here’s what I’m calling in my playbook: name: Prepare report template: src: templates/…

---

## [Deleting an element in namespace xml based on value](https://forum.ansible.com/t/deleting-an-element-in-namespace-xml-based-on-value/35746)

<div class="topic-metadata">

**Author:** [@Hasini\_P](https://forum.ansible.com/u/Hasini_P)\
**Replies:** 3\
**Last updated:** [September 20, 2021, 11:10am UTC](https://forum.ansible.com/t/deleting-an-element-in-namespace-xml-based-on-value/35746 "2021-09-20T11:10:32Z")

</div>

Hi, I am trying to delete an element in a namespace xml based on element value ; without namespace, deletion is working fine (as posted in ansible documentation of xml module)… Can someone help, please Example 1: xml wi…

---

## [Adding Arguments for win\_package](https://forum.ansible.com/t/adding-arguments-for-win-package/35758)

<div class="topic-metadata">

**Author:** [@Nidhi\_Prakash](https://forum.ansible.com/u/Nidhi_Prakash)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 10:19am UTC](https://forum.ansible.com/t/adding-arguments-for-win-package/35758 "2021-09-20T10:19:39Z")

</div>

Can you please help how to pass the arguments for win\_package module for an exe installation using ansible playbook for A radio button selection Browsing License file option Enter a TextBox value

---

## [how to write playbook for this scenario](https://forum.ansible.com/t/how-to-write-playbook-for-this-scenario/35756)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 7:17am UTC](https://forum.ansible.com/t/how-to-write-playbook-for-this-scenario/35756 "2021-09-20T07:17:31Z")

</div>

What did you try yourself yet?

---

## [yum state=absent leads to "you need to be root to perform this command"](https://forum.ansible.com/t/yum-state-absent-leads-to-you-need-to-be-root-to-perform-this-command/20215)

<div class="topic-metadata">

**Author:** [@Paul\_Davies](https://forum.ansible.com/u/Paul_Davies)\
**Replies:** 11\
**Last updated:** [September 19, 2021, 12:11pm UTC](https://forum.ansible.com/t/yum-state-absent-leads-to-you-need-to-be-root-to-perform-this-command/20215 "2021-09-19T12:11:39Z")

</div>

Hi - I’m new to Ansible and struggling I have 2 playbooks for training/demo purposes. One to install Tree and Nano and another to remove them again. My control and destination servers are both Centos7 My webservers\_lat…

---

## [Simple Playbook for mysql query](https://forum.ansible.com/t/simple-playbook-for-mysql-query/35755)

<div class="topic-metadata">

**Author:** [@Adam1](https://forum.ansible.com/u/Adam1)\
**Replies:** 21\
**Last updated:** [September 19, 2021, 11:58am UTC](https://forum.ansible.com/t/simple-playbook-for-mysql-query/35755 "2021-09-19T11:58:07Z")

</div>

Hello, I have been using Ansible for very basic playbooks. I now want to have a simply playbook that connected to my asterisk PBX, and lookup a value in the my SQL table. I have tried many various combinations to get th…

---

## [Understanding relationship between -K & become vs ansible\_ssh\_user & ansible\_ssh\_pass](https://forum.ansible.com/t/understanding-relationship-between-k-become-vs-ansible-ssh-user-ansible-ssh-pass/35713)

<div class="topic-metadata">

**Author:** [@Michelle\_Dupuis](https://forum.ansible.com/u/Michelle_Dupuis)\
**Replies:** 1\
**Last updated:** [September 19, 2021, 12:32am UTC](https://forum.ansible.com/t/understanding-relationship-between-k-become-vs-ansible-ssh-user-ansible-ssh-pass/35713 "2021-09-19T00:32:12Z")

</div>

I am creating a simple playbook to add the current user’s public key onto the remote host. My playbook fails with error “Failed to connect to the host via ssh: Permission denied”. I am running the playbook as non-root, …

---

## [Playbook not able to SSH to the hosts](https://forum.ansible.com/t/playbook-not-able-to-ssh-to-the-hosts/35752)

<div class="topic-metadata">

**Author:** [@janani\_Shri](https://forum.ansible.com/u/janani_Shri)\
**Replies:** 3\
**Last updated:** [September 18, 2021, 11:48pm UTC](https://forum.ansible.com/t/playbook-not-able-to-ssh-to-the-hosts/35752 "2021-09-18T23:48:56Z")

</div>

I see this error when running playbook against my hosts, please assist Failed to connect to the host via ssh: ssh: Could not resolve hostname hostname.acx: Name or service not known

---

## [Transfer files from Server A to Server B](https://forum.ansible.com/t/transfer-files-from-server-a-to-server-b/34933)

<div class="topic-metadata">

**Author:** [@Shivam\_Arora](https://forum.ansible.com/u/Shivam_Arora)\
**Replies:** 4\
**Last updated:** [September 18, 2021, 11:09pm UTC](https://forum.ansible.com/t/transfer-files-from-server-a-to-server-b/34933 "2021-09-18T23:09:11Z")

</div>

Hi Community Members, I am writing an Ansible playbook for which I want to copy files directly from Server A to Server B directly, skipping the Ansible node, i.e., I do not want to use Fetch and Copy module. I have trie…

---

## [How to deploy multiple image using Ansible on VMwar](https://forum.ansible.com/t/how-to-deploy-multiple-image-using-ansible-on-vmwar/35718)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Salah](https://forum.ansible.com/u/Ibrahim_Salah)\
**Replies:** 2\
**Last updated:** [September 18, 2021, 2:36am UTC](https://forum.ansible.com/t/how-to-deploy-multiple-image-using-ansible-on-vmwar/35718 "2021-09-18T02:36:34Z")

</div>

Hello, I was using Ansible to deploy an image using the following code : \`— name: Create a VM from a template hosts: ‘192.168.0.110’ connection: local gather\_facts: no tasks: name: Clone the template vmware\_gue…

---

## [Aggregating debug msg output](https://forum.ansible.com/t/aggregating-debug-msg-output/35750)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 4\
**Last updated:** [September 17, 2021, 6:05am UTC](https://forum.ansible.com/t/aggregating-debug-msg-output/35750 "2021-09-17T06:05:43Z")

</div>

Taking, e.g., the following simple playbook:

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

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