# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=194

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

**Page:** 195

---

## [List all variables only defined in hosts file corresponding to a host](https://forum.ansible.com/t/list-all-variables-only-defined-in-hosts-file-corresponding-to-a-host/33150)

<div class="topic-metadata">

**Author:** [@utkarsh\_srivastava](https://forum.ansible.com/u/utkarsh_srivastava)\
**Replies:** 2\
**Last updated:** [June 11, 2020, 7:23am UTC](https://forum.ansible.com/t/list-all-variables-only-defined-in-hosts-file-corresponding-to-a-host/33150 "2020-06-11T07:23:18Z")

</div>

Hi I want to list all variable and it’s value defined in hosts file corresponding to a host for example: \[hostgroup1\] host1 variable1=value1 variable2=value2 variable3=value3 so i want to list all variables defined …

---

## [Need help to develop a playbook to select only os disk in RHV while taking VM snapshot.](https://forum.ansible.com/t/need-help-to-develop-a-playbook-to-select-only-os-disk-in-rhv-while-taking-vm-snapshot/33152)

<div class="topic-metadata">

**Author:** [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 6:07am UTC](https://forum.ansible.com/t/need-help-to-develop-a-playbook-to-select-only-os-disk-in-rhv-while-taking-vm-snapshot/33152 "2020-06-11T06:07:05Z")

</div>

Need help to develop a playbook to select only os disk in RHV while taking VM snapshot. The use case to develop a playbook to take vm snapshot by choosing only os disk in RHV environment. Ansible version is 2.8 and RHV …

---

## [Need help to develop a playbook to take vm snapshot by choosing only os disk in RHV environment](https://forum.ansible.com/t/need-help-to-develop-a-playbook-to-take-vm-snapshot-by-choosing-only-os-disk-in-rhv-environment/33151)

<div class="topic-metadata">

**Author:** [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 6:02am UTC](https://forum.ansible.com/t/need-help-to-develop-a-playbook-to-take-vm-snapshot-by-choosing-only-os-disk-in-rhv-environment/33151 "2020-06-11T06:02:20Z")

</div>

Need help to develop a playbook to select only os disk in RHV while taking VM snapshot. The use case to develop a playbook to take vm snapshot by choosing only os disk in RHV environment. Ansible version is 2.8 and RHV …

---

## [ansible vmware 0:7 reserved scsi controller card](https://forum.ansible.com/t/ansible-vmware-0-7-reserved-scsi-controller-card/33145)

<div class="topic-metadata">

**Author:** [@Bhanu\_Prakash](https://forum.ansible.com/u/Bhanu_Prakash)\
**Replies:** 3\
**Last updated:** [June 11, 2020, 3:44am UTC](https://forum.ansible.com/t/ansible-vmware-0-7-reserved-scsi-controller-card/33145 "2020-06-11T03:44:17Z")

</div>

Hello Team, I need to add 15 disks , I am getting error because of 0:7 reservation. Is there any automation …please find my below code and help name: Add disks vmware\_guest\_disk: hostname: “{{location}}” username:…

---

## [The vault password file /home/user./vault was not found](https://forum.ansible.com/t/the-vault-password-file-home-user-vault-was-not-found/33149)

<div class="topic-metadata">

**Author:** [@ssn7819](https://forum.ansible.com/u/ssn7819)\
**Replies:** 2\
**Last updated:** [June 10, 2020, 8:54pm UTC](https://forum.ansible.com/t/the-vault-password-file-home-user-vault-was-not-found/33149 "2020-06-10T20:54:42Z")

</div>

Hi Guys Initially I was using a vault file to store sensitive information and pass them in. It was working. Now I removed any reference to the vault file as I wanted to test something else. Now I keep getting the belo…

---

## [AWX via Fargate Fails to start - postgresql errors](https://forum.ansible.com/t/awx-via-fargate-fails-to-start-postgresql-errors/33148)

<div class="topic-metadata">

**Author:** [@Emil\_Safonov](https://forum.ansible.com/u/Emil_Safonov)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 7:29pm UTC](https://forum.ansible.com/t/awx-via-fargate-fails-to-start-postgresql-errors/33148 "2020-06-10T19:29:29Z")

</div>

Hey All, I’ve been trying to deploy awx via ECS Fargate recently and am running into deployment issues. What I’ve done is build images based on Dockerfiles for: awx\_web awx\_task memcache awx\_rabbitmq that…

---

## [how to modify nginx.conf file](https://forum.ansible.com/t/how-to-modify-nginx-conf-file/33142)

<div class="topic-metadata">

**Author:** [@Mahesh\_Babu](https://forum.ansible.com/u/Mahesh_Babu)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 7:23pm UTC](https://forum.ansible.com/t/how-to-modify-nginx-conf-file/33142 "2020-06-10T19:23:26Z")

</div>

hi team please help on this when i’m try to modify the nginx.conf file i got this below error. please suggest me how to modify that file. E45: ‘readonly’ option is set (add ! to override)

---

## [Reboot of working docker and awx stops containers and cannot start or re-install](https://forum.ansible.com/t/reboot-of-working-docker-and-awx-stops-containers-and-cannot-start-or-re-install/33102)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 4\
**Last updated:** [June 10, 2020, 7:17pm UTC](https://forum.ansible.com/t/reboot-of-working-docker-and-awx-stops-containers-and-cannot-start-or-re-install/33102 "2020-06-10T19:17:00Z")

</div>

Hello All, This is getting old. the base problem that I was having was the awx\_postgres container would go into a restarting loop - I could not fix it. I attempted to modify the inventory file to give a location out s…

---

## [awx collection workflow creation](https://forum.ansible.com/t/awx-collection-workflow-creation/33144)

<div class="topic-metadata">

**Author:** [@Jason\_Bullen](https://forum.ansible.com/u/Jason_Bullen)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 6:21pm UTC](https://forum.ansible.com/t/awx-collection-workflow-creation/33144 "2020-06-10T18:21:28Z")

</div>

I’m trying to get my awx deployment documented in Iac. Trying to get workflows to create. ran into a bug with the built int tower-cli modules that was already documented and on that git issue the recommendation was to sw…

---

## [Ansible vmware\_guest ignoring the customization for windows template builds](https://forum.ansible.com/t/ansible-vmware-guest-ignoring-the-customization-for-windows-template-builds/33147)

<div class="topic-metadata">

**Author:** [@Daryn\_Dunn](https://forum.ansible.com/u/Daryn_Dunn)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 6:12pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-ignoring-the-customization-for-windows-template-builds/33147 "2020-06-10T18:12:35Z")

</div>

Hello everyone, I am trying to setup Ansible Tower to build machines on my VMWare 6.7 servers. I am using the vmware\_guest module, It builds the machines and all the other functions are working, but the build ignores th…

---

## [Post-Installation postgre issue](https://forum.ansible.com/t/post-installation-postgre-issue/33133)

<div class="topic-metadata">

**Author:** [@Carlos\_Reyes](https://forum.ansible.com/u/Carlos_Reyes)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 3:03pm UTC](https://forum.ansible.com/t/post-installation-postgre-issue/33133 "2020-06-10T15:03:01Z")

</div>

Hi, I am new to AWX. I recently installed AWX on a Fedora 32 server, the UI is partially loading but I am seeing a postgre connection issue. I am not sure where to look at and change the configuration to point to the ri…

---

## [Answer to prompt not passing when used cli\_command module](https://forum.ansible.com/t/answer-to-prompt-not-passing-when-used-cli-command-module/33143)

<div class="topic-metadata">

**Author:** [@bmohanraj](https://forum.ansible.com/u/bmohanraj)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 1:01pm UTC](https://forum.ansible.com/t/answer-to-prompt-not-passing-when-used-cli-command-module/33143 "2020-06-10T13:01:25Z")

</div>

Hello, I am trying to upgrade cat9k switch using ansible, facing issues when trying to run the command “install Activate”. when run “install Activate” command manually in cat9k switch, I am getting the prompt within in…

---

## [What does the output from the dynamic inventory software look like?](https://forum.ansible.com/t/what-does-the-output-from-the-dynamic-inventory-software-look-like/33130)

<div class="topic-metadata">

**Author:** [@Martin\_Ward](https://forum.ansible.com/u/Martin_Ward)\
**Replies:** 5\
**Last updated:** [June 10, 2020, 12:16pm UTC](https://forum.ansible.com/t/what-does-the-output-from-the-dynamic-inventory-software-look-like/33130 "2020-06-10T12:16:36Z")

</div>

Hi, I am running Ansible 2.9.7 and am looking at the dynamic inventory scripts. I don’t have any of the various software listed (AWS, OpenStack etc) in the examples section and I need something where I can automatically…

---

## [Ansible Tower - user awx permission](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33141)

<div class="topic-metadata">

**Author:** [@racke](https://forum.ansible.com/u/racke)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 7:24am UTC](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33141 "2020-06-10T07:24:46Z")

</div>

Anybody to help here ? Please note that this group is only about Ansible, not Tower or AWX. For the former contact RedHat support. Regards Racke

---

## [Ansible Tower - user awx permission](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33140)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 5:42am UTC](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33140 "2020-06-10T05:42:08Z")

</div>

Hi Mcubes, You don’t need a host file in AWX as everything can be managed from UI itself and if you’re planning to add ansible\_ssh\_pass then add it in Variables text box of the required host. Also, refer the below l…

---

## [getting error - "Unsupported parameters for (cli\_command) module"](https://forum.ansible.com/t/getting-error-unsupported-parameters-for-cli-command-module/33137)

<div class="topic-metadata">

**Author:** [@bmohanraj](https://forum.ansible.com/u/bmohanraj)\
**Replies:** 2\
**Last updated:** [June 10, 2020, 5:04am UTC](https://forum.ansible.com/t/getting-error-unsupported-parameters-for-cli-command-module/33137 "2020-06-10T05:04:17Z")

</div>

Hello, I getting error - “Unsupported parameters for (cli\_command) module” when trying to run install activate command in cat9k device. Below is the playbook snippet: \` name: Run install activate and reload block: …

---

## [Ansible Tower - user awx permission](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33139)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 4:56am UTC](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33139 "2020-06-10T04:56:34Z")

</div>

As said this is intentional due to security reasons and you can use ssh connection instead of local when running playbooks on localhost(Tower Host). Regards, Ompragash

---

## [delegate\_to vs remote\_user vs become\_user](https://forum.ansible.com/t/delegate-to-vs-remote-user-vs-become-user/33134)

<div class="topic-metadata">

**Author:** [@Gursimran\_Maken](https://forum.ansible.com/u/Gursimran_Maken)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 4:52am UTC](https://forum.ansible.com/t/delegate-to-vs-remote-user-vs-become-user/33134 "2020-06-10T04:52:54Z")

</div>

Hi, I am new to Ansible and it would be of great help if you could let me know the difference between delegate\_to, remote\_user and become\_user with examples.And when to use which command. Thank you, Gursimran

---

## [Ansible Tower - user awx permission](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33138)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 4:38am UTC](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33138 "2020-06-10T04:38:55Z")

</div>

Hi Everyone, Currently, in Ansible Tower it’s not possible to escalate to root user when using the local connection and this design has been implemented on purpose to restrict AWX user from sudo operations. The reason i…

---

## [How to convert formatted html which get from jenkins active choices reactive reference parameter to list of ansible?](https://forum.ansible.com/t/how-to-convert-formatted-html-which-get-from-jenkins-active-choices-reactive-reference-parameter-to-list-of-ansible/33136)

<div class="topic-metadata">

**Author:** [@Sureenart\_Kietsaroch](https://forum.ansible.com/u/Sureenart_Kietsaroch)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 3:34am UTC](https://forum.ansible.com/t/how-to-convert-formatted-html-which-get-from-jenkins-active-choices-reactive-reference-parameter-to-list-of-ansible/33136 "2020-06-10T03:34:37Z")

</div>

Hi All, How to convert formatted html which get from jenkins active choices reactive reference parameter to list of ansible? example jenkins parameter output : \[a,b\] Build section specific on ansible method extra v…

---

## [ansible playbook not printing the error message when disk is not defined](https://forum.ansible.com/t/ansible-playbook-not-printing-the-error-message-when-disk-is-not-defined/33112)

<div class="topic-metadata">

**Author:** [@Rajesh](https://forum.ansible.com/u/Rajesh)\
**Replies:** 7\
**Last updated:** [June 10, 2020, 2:06am UTC](https://forum.ansible.com/t/ansible-playbook-not-printing-the-error-message-when-disk-is-not-defined/33112 "2020-06-10T02:06:39Z")

</div>

Hi all, The below playbook is not printing an error message when the disk is not defined on a host. Could you please advise if I have made an mistake in the playbook. Thanks name: Create a partition hosts: all beco…

---

## [Announcing AWX 12.0.0](https://forum.ansible.com/t/announcing-awx-12-0-0/33131)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 8:36pm UTC](https://forum.ansible.com/t/announcing-awx-12-0-0/33131 "2020-06-09T20:36:31Z")

</div>

Hey everyone, We’re excited to announce a new major version of AWX, 12.0.0. Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md): We’ve consolidate…

---

## [Ansible Tower - user awx permission](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33129)

<div class="topic-metadata">

**Author:** [@Nico\_Wunder1](https://forum.ansible.com/u/Nico_Wunder1)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 7:54pm UTC](https://forum.ansible.com/t/ansible-tower-user-awx-permission/33129 "2020-06-09T19:54:56Z")

</div>

Hello mcbubes, local host means which connection-method? Kind Regards, Nico

---

## [vault-id and global become instruction](https://forum.ansible.com/t/vault-id-and-global-become-instruction/33127)

<div class="topic-metadata">

**Author:** [@fabien\_stefaniak](https://forum.ansible.com/u/fabien_stefaniak)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 3:20pm UTC](https://forum.ansible.com/t/vault-id-and-global-become-instruction/33127 "2020-06-09T15:20:57Z")

</div>

hello ! I try to reduce times when i need to typing a password in ansible with the vault-id given by a script. i have made some test with vault but i can’t succed with a “become: yes” define on hosts instruction. My v…

---

## [sudo(become) difference between "copy" module and "command" module](https://forum.ansible.com/t/sudo-become-difference-between-copy-module-and-command-module/33119)

<div class="topic-metadata">

**Author:** [@Mukuntha\_rajaa](https://forum.ansible.com/u/Mukuntha_rajaa)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 9:15am UTC](https://forum.ansible.com/t/sudo-become-difference-between-copy-module-and-command-module/33119 "2020-06-09T09:15:38Z")

</div>

Hello, “become” works perfectly fine with “command” module. But not with “copy” module. Am I doing something wrong here. Working playbook: name: demo hosts: localhost tasks: name: copy command: cp /etc/ssh/sshd\_co…

---

## [Erreur parameter in ios\_command module](https://forum.ansible.com/t/erreur-parameter-in-ios-command-module/33125)

<div class="topic-metadata">

**Author:** [@Redhat](https://forum.ansible.com/u/Redhat)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 8:32am UTC](https://forum.ansible.com/t/erreur-parameter-in-ios-command-module/33125 "2020-06-09T08:32:31Z")

</div>

Hello; I wanted to update switch cisco by ansible. To copy the ios image from SFTP server, the playbook deployment will display the following error: FAILED! =\> {“changed”: false, “msg”: “Unsupported parameters for (ios…

---

## [Match two strings in when condition from registered output](https://forum.ansible.com/t/match-two-strings-in-when-condition-from-registered-output/33123)

<div class="topic-metadata">

**Author:** [@vinay\_kumar](https://forum.ansible.com/u/vinay_kumar)\
**Replies:** 7\
**Last updated:** [June 9, 2020, 8:07am UTC](https://forum.ansible.com/t/match-two-strings-in-when-condition-from-registered-output/33123 "2020-06-09T08:07:50Z")

</div>

1: Hello Is it possible to search in when condition two strings from single line by matching the registered output. For example: the registered output consists of services and its status 1: httpd disabled 2: tftp e…

---

## [While using j2 template and with\_items i get the last item in o/p](https://forum.ansible.com/t/while-using-j2-template-and-with-items-i-get-the-last-item-in-o-p/33122)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 6:25pm UTC](https://forum.ansible.com/t/while-using-j2-template-and-with-items-i-get-the-last-item-in-o-p/33122 "2020-06-08T18:25:14Z")

</div>

Hi my playbook is : name: include vars include\_vars: file: /home/rparida1/content-var.yml name: Testing template: src: /home/rparida1/config.j2 dest: /home/rparida1/test-raka1111222.properties with\_items: …

---

## [Question about azure\_rm inventories](https://forum.ansible.com/t/question-about-azure-rm-inventories/32903)

<div class="topic-metadata">

**Author:** [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 5:46pm UTC](https://forum.ansible.com/t/question-about-azure-rm-inventories/32903 "2020-06-08T17:46:48Z")

</div>

Hey! In Ansible there is a Azure Resource manager inventory plugin that allows you to retrieve data from Azure to build an inventory. However the plugin only retrieves resource groups that contains virtual machines. Alm…

---

## [ansible-playbook and different screen / file log output](https://forum.ansible.com/t/ansible-playbook-and-different-screen-file-log-output/33120)

<div class="topic-metadata">

**Author:** [@Waldek\_Maleska](https://forum.ansible.com/u/Waldek_Maleska)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 4:18pm UTC](https://forum.ansible.com/t/ansible-playbook-and-different-screen-file-log-output/33120 "2020-06-08T16:18:23Z")

</div>

Hello, I was wondering if such a logging scenario is possible out of the box with Ansible or it it something which would need to be implemented as a custom callback plugin: on screen (stdout), I’d like to see all chan…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=193)

[Next page](https://forum.ansible.com/c/archives/31.md?page=195)
