# Archives

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

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

**Page:** 148

---

## [win\_audit\_policy\_system module not changing the value](https://forum.ansible.com/t/win-audit-policy-system-module-not-changing-the-value/34535)

<div class="topic-metadata">

**Author:** [@srini\_mas](https://forum.ansible.com/u/srini_mas)\
**Replies:** 4\
**Last updated:** [January 31, 2021, 9:22am UTC](https://forum.ansible.com/t/win-audit-policy-system-module-not-changing-the-value/34535 "2021-01-31T09:22:23Z")

</div>

Hi, Trying to use ansible on windows server 2016. winRM connection works and other modules run perfectly fine. simple playbook and run win\_audit\_policy\_system to change the values. - name: “Ensure ‘Audit Application G…

---

## [Use a specific variable within a playbook base on the tag defined](https://forum.ansible.com/t/use-a-specific-variable-within-a-playbook-base-on-the-tag-defined/34545)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [January 30, 2021, 3:06am UTC](https://forum.ansible.com/t/use-a-specific-variable-within-a-playbook-base-on-the-tag-defined/34545 "2021-01-30T03:06:53Z")

</div>

Hi All, Hope anyone could help me! Basically i have a playbook that configures sudoers commands for a particular user. In this playbook is a command that has to use a {{ variable }}. This variable differs dependent on…

---

## [Ansible configuration to run an Ansible Galaxy playbook](https://forum.ansible.com/t/ansible-configuration-to-run-an-ansible-galaxy-playbook/34543)

<div class="topic-metadata">

**Author:** [@Jeremy\_Tourville](https://forum.ansible.com/u/Jeremy_Tourville)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 10:08pm UTC](https://forum.ansible.com/t/ansible-configuration-to-run-an-ansible-galaxy-playbook/34543 "2021-01-29T22:08:28Z")

</div>

Hello, I have been learning to use Ansible through Red Hat training for approximately the last 6 months or so. I have learned how to build some of my own basic play books and roles. For the first time i have decided to…

---

## [Unable to provision a Windows Server 2019 vagrant box with Ansible over ssh](https://forum.ansible.com/t/unable-to-provision-a-windows-server-2019-vagrant-box-with-ansible-over-ssh/34537)

<div class="topic-metadata">

**Author:** [@Amedee\_Van\_Gasse](https://forum.ansible.com/u/Amedee_Van_Gasse)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 6:52pm UTC](https://forum.ansible.com/t/unable-to-provision-a-windows-server-2019-vagrant-box-with-ansible-over-ssh/34537 "2021-01-29T18:52:45Z")

</div>

I have created a Windows server 2019 Vagrant box using https://github.com/rgl/windows-vagrant. I did not make any changes. Steps to reproduce: git clone git@github.com:rgl/windows-vagrant.git cd windows-vagrant make …

---

## [sftp blocked fro my labtop when executing playbook](https://forum.ansible.com/t/sftp-blocked-fro-my-labtop-when-executing-playbook/34542)

<div class="topic-metadata">

**Author:** [@yvesdeb](https://forum.ansible.com/u/yvesdeb)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 5:57pm UTC](https://forum.ansible.com/t/sftp-blocked-fro-my-labtop-when-executing-playbook/34542 "2021-01-29T17:57:58Z")

</div>

Hi, my playbook randomly hangs on the sftp command. I work from my remote workstation through a VPN. my playbook blocks randomly on the sftp command whatever the client at the end and this randomly. It creates the file…

---

## [please help me with this](https://forum.ansible.com/t/please-help-me-with-this/34540)

<div class="topic-metadata">

**Author:** [@Jayaprakash\_Valluri](https://forum.ansible.com/u/Jayaprakash_Valluri)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 5:03pm UTC](https://forum.ansible.com/t/please-help-me-with-this/34540 "2021-01-29T17:03:53Z")

</div>

1.Create a file in /tmp/playbook/target\_info.html and the file should have the below mentioned info 2.Should have the hostname of the target server 3.Should have the IP address 4.Should have the MAC address 5.Should …

---

## [Create Lower size LV. If Volume Group has less space.](https://forum.ansible.com/t/create-lower-size-lv-if-volume-group-has-less-space/34531)

<div class="topic-metadata">

**Author:** [@Aris\_Aguirre](https://forum.ansible.com/u/Aris_Aguirre)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 4:12pm UTC](https://forum.ansible.com/t/create-lower-size-lv-if-volume-group-has-less-space/34531 "2021-01-29T16:12:01Z")

</div>

I have a playbook below. But it only works on the nodes that has 800G (SDB) or the Volume Group has 800G free space. I am expecting that i Volume Group(vgaris) exist and only has 300G, it will still create 100G of lvaris…

---

## [How to get backup ip and assign to a variable](https://forum.ansible.com/t/how-to-get-backup-ip-and-assign-to-a-variable/34536)

<div class="topic-metadata">

**Author:** [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 2:51pm UTC](https://forum.ansible.com/t/how-to-get-backup-ip-and-assign-to-a-variable/34536 "2021-01-29T14:51:46Z")

</div>

Hi, How to search for a IPv4 starting with “192.168.x.x” from ansible\_all\_ipv4\_addresses and assign to variable. If not, assign default ipv4. The use case is, I need to get backup ip and assign to a variable. I need to…

---

## ["become" is being ignored by ansible](https://forum.ansible.com/t/become-is-being-ignored-by-ansible/34538)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 2:36pm UTC](https://forum.ansible.com/t/become-is-being-ignored-by-ansible/34538 "2021-01-29T14:36:30Z")

</div>

become\_user is the 'user you want to become' after privilege escalation, you are setting it as the same as remote\_user which is a noop, don't set it and the default (root) will do what you want.

---

## [Reboot that requires inventory refresh](https://forum.ansible.com/t/reboot-that-requires-inventory-refresh/34534)

<div class="topic-metadata">

**Author:** [@Paavo\_Leinonen](https://forum.ansible.com/u/Paavo_Leinonen)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 11:14am UTC](https://forum.ansible.com/t/reboot-that-requires-inventory-refresh/34534 "2021-01-29T11:14:52Z")

</div>

Hi, I have 2 VPN servers, and remote-random in VPN config, so clients connect to server1 or server2. I need clients to reboot after major upgrades (new kernel), and the problem is that if the client connects to differe…

---

## [VMware Inventory Sync Configuration](https://forum.ansible.com/t/vmware-inventory-sync-configuration/34533)

<div class="topic-metadata">

**Author:** [@Garrett\_Kelly](https://forum.ansible.com/u/Garrett_Kelly)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 8:17am UTC](https://forum.ansible.com/t/vmware-inventory-sync-configuration/34533 "2021-01-29T08:17:23Z")

</div>

Not really a question/issue, but instead wanted to just knowledge share some information to those that might have a VMware shop, and are digging for answers on configuring this. Below are the instructions on how to setu…

---

## [does anyone know this and how to fix, thank you](https://forum.ansible.com/t/does-anyone-know-this-and-how-to-fix-thank-you/34527)

<div class="topic-metadata">

**Author:** [@Gun\_Turhal](https://forum.ansible.com/u/Gun_Turhal)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 7:32am UTC](https://forum.ansible.com/t/does-anyone-know-this-and-how-to-fix-thank-you/34527 "2021-01-29T07:32:49Z")

</div>

TASK \[local\_docker : Remove AWX containers before migrating postgres so that the old postgres container does not get used\] \*\*\* fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: “Cannot have both the docker-py and…

---

## [Failed to connect to the host via ssh: Permission denied (publickey,password)](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-permission-denied-publickey-password/34529)

<div class="topic-metadata">

**Author:** [@a.srini](https://forum.ansible.com/u/a.srini)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 7:06am UTC](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-permission-denied-publickey-password/34529 "2021-01-29T07:06:18Z")

</div>

I have a playbook where it has an option that can be run in 2 different ways. When having single host to execute, can run prompt.yml file to execute against single host. When a large number of hosts exits, that was kep…

---

## [Ansible Organization - When to split out projects](https://forum.ansible.com/t/ansible-organization-when-to-split-out-projects/34504)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 4\
**Last updated:** [January 28, 2021, 10:54pm UTC](https://forum.ansible.com/t/ansible-organization-when-to-split-out-projects/34504 "2021-01-28T22:54:18Z")

</div>

Good morning, I am working on setting up an ansible repository, for work. We are going to be using AWX eventually ( sooner rather than later ). What I am wondering, is how people decided to split up their ansible projec…

---

## [default value for undefined ansible facts not working in ansible 2.7 but working in ansible 2.8](https://forum.ansible.com/t/default-value-for-undefined-ansible-facts-not-working-in-ansible-2-7-but-working-in-ansible-2-8/34514)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 4\
**Last updated:** [January 28, 2021, 9:27pm UTC](https://forum.ansible.com/t/default-value-for-undefined-ansible-facts-not-working-in-ansible-2-7-but-working-in-ansible-2-8/34514 "2021-01-28T21:27:39Z")

</div>

How about you posting some normal text instead of huge yet indecipherable screendumps? (attachments)

---

## [Modifying a file](https://forum.ansible.com/t/modifying-a-file/34506)

<div class="topic-metadata">

**Author:** [@Aris\_Aguirre](https://forum.ansible.com/u/Aris_Aguirre)\
**Replies:** 7\
**Last updated:** [January 28, 2021, 7:50pm UTC](https://forum.ansible.com/t/modifying-a-file/34506 "2021-01-28T19:50:54Z")

</div>

I can easily use a file module to delete the existing file and create a new one with File1 content. But I want to modifile the file using lineinfile or replace. Please help. Thanks Existing File: This is an existing …

---

## [postgresql\_user readonly user](https://forum.ansible.com/t/postgresql-user-readonly-user/34520)

<div class="topic-metadata">

**Author:** [@zausel\_z](https://forum.ansible.com/u/zausel_z)\
**Replies:** 7\
**Last updated:** [January 28, 2021, 6:13pm UTC](https://forum.ansible.com/t/postgresql-user-readonly-user/34520 "2021-01-28T18:13:28Z")

</div>

Hi, I’m using the postgresql\_user\_module. How can I create a read-only-user (SELECT) for all tables of a database? priv: CONNECT/ALL:SELECT is not working thank you

---

## [Job output is not displayed live - page reload is needed](https://forum.ansible.com/t/job-output-is-not-displayed-live-page-reload-is-needed/34391)

<div class="topic-metadata">

**Author:** [@Nicolas\_Salvadore](https://forum.ansible.com/u/Nicolas_Salvadore)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 6:11pm UTC](https://forum.ansible.com/t/job-output-is-not-displayed-live-page-reload-is-needed/34391 "2021-01-28T18:11:43Z")

</div>

Hello all, Since I’ve upgraded AWX to v16.0.0 on docker-compose, I’ve noticed that the job outputs are not displayed “live” anymore. The webpage needs to be reloaded (F5 is enough) to be able to follow the playbook run. …

---

## [AWX on AWS](https://forum.ansible.com/t/awx-on-aws/34528)

<div class="topic-metadata">

**Author:** [@Robert\_Sossomon](https://forum.ansible.com/u/Robert_Sossomon)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 5:58pm UTC](https://forum.ansible.com/t/awx-on-aws/34528 "2021-01-28T17:58:07Z")

</div>

Has anyone vetted the AWX on AWS quick-start guide or migrated to it with this guide? https://aws.amazon.com/quickstart/architecture/awx/ Also looking at how this differs from other HA configurations. Thanks, Robert

---

## [Git credentials for private ansible collection?](https://forum.ansible.com/t/git-credentials-for-private-ansible-collection/34468)

<div class="topic-metadata">

**Author:** [@howardjones](https://forum.ansible.com/u/howardjones)\
**Replies:** 5\
**Last updated:** [January 28, 2021, 12:52pm UTC](https://forum.ansible.com/t/git-credentials-for-private-ansible-collection/34468 "2021-01-28T12:52:55Z")

</div>

We run awx in a kubernetes cluster, and have some local ansible modules we want to use with it. I've made those into a Collection, and put that into our internal git repos (Azure Devops). Now I'm trying to convince awx …

---

## [report for mount size\_available](https://forum.ansible.com/t/report-for-mount-size-available/34494)

<div class="topic-metadata">

**Author:** [@Jost](https://forum.ansible.com/u/Jost)\
**Replies:** 14\
**Last updated:** [January 28, 2021, 12:49pm UTC](https://forum.ansible.com/t/report-for-mount-size-available/34494 "2021-01-28T12:49:37Z")

</div>

Hi I would like to create report for free partition size under “ansible\_mounts” “ansible\_mounts”: \[ { “block\_available”: 3911145, “block\_size”: 4096, “block\_total”: 4452864, “block\_used”: 541719, “device”: “/dev/…

---

## [specific task is not executing by using tags in roles](https://forum.ansible.com/t/specific-task-is-not-executing-by-using-tags-in-roles/34521)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 11\
**Last updated:** [January 28, 2021, 4:52am UTC](https://forum.ansible.com/t/specific-task-is-not-executing-by-using-tags-in-roles/34521 "2021-01-28T04:52:18Z")

</div>

when I defined tags in main.yml and roles, i couldn’t able to execute specific tags by using --tags or --skip-tags… when I run the below with --tags=tag1 , I see whole playbook has executing I have defined a task ( 127…

---

## [awxkit, not sure how to bind a user to a team](https://forum.ansible.com/t/awxkit-not-sure-how-to-bind-a-user-to-a-team/34522)

<div class="topic-metadata">

**Author:** [@GoMatrix\_Hosting](https://forum.ansible.com/u/GoMatrix_Hosting)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 1:45am UTC](https://forum.ansible.com/t/awxkit-not-sure-how-to-bind-a-user-to-a-team/34522 "2021-01-28T01:45:45Z")

</div>

Trying to assign a user to a team on AWX 15.0.1 using awx-cli/tower-cli, but it doesn’t seem to be able to find the requested objects: https://manpages.debian.org/testing/ansible-tower-cli/tower\_cli.1.en.html#Organizati…

---

## [If the password and SSH key are crypted?](https://forum.ansible.com/t/if-the-password-and-ssh-key-are-crypted/30535)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 4\
**Last updated:** [January 27, 2021, 10:06pm UTC](https://forum.ansible.com/t/if-the-password-and-ssh-key-are-crypted/30535 "2021-01-27T22:06:51Z")

</div>

Hello, For a security raison of some sensitive data, i ask you if the password of the user and the SSH key are crypted or not? Thanks, Cordially, Mohamed Amine JARBOUI Devops Intern

---

## [Correct approach to manage a config file](https://forum.ansible.com/t/correct-approach-to-manage-a-config-file/34524)

<div class="topic-metadata">

**Author:** [@mimmus](https://forum.ansible.com/u/mimmus)\
**Replies:** 3\
**Last updated:** [January 27, 2021, 4:47pm UTC](https://forum.ansible.com/t/correct-approach-to-manage-a-config-file/34524 "2021-01-27T16:47:28Z")

</div>

Hi, I’m a pretty seasoned sysadmin and I’m used to carefully manage config files modifying: only minimum needed on main “service.conf” file under /etc (commenting in/out lines, editing values, etc but without upsetti…

---

## [Install awx-cli, then what?](https://forum.ansible.com/t/install-awx-cli-then-what/34507)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 9\
**Last updated:** [January 27, 2021, 9:33am UTC](https://forum.ansible.com/t/install-awx-cli-then-what/34507 "2021-01-27T09:33:49Z")

</div>

I’m obviously without a clue here: bash-4.4# pip3 install --log ~/install2.log awxkit Requirement already satisfied: awxkit in /home/awx/.local/lib/python3.6/site-packages Requirement already satisfied: PyYAML in /usr…

---

## [AWX very slow performance](https://forum.ansible.com/t/awx-very-slow-performance/34519)

<div class="topic-metadata">

**Author:** [@GoMatrix\_Hosting](https://forum.ansible.com/u/GoMatrix_Hosting)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 7:31am UTC](https://forum.ansible.com/t/awx-very-slow-performance/34519 "2021-01-27T07:31:24Z")

</div>

After recently migrating my 15.0.1 AWX system to another machine with 15.0.1 I’m noticing the playbook execution is very slow now. What can i do to diagnose this? Tested DNS response time first, very quick. (2-5ms)

---

## [\#73326 A Catalog.yml file to encompass a grouping(s) of Collections of Namespaces](https://forum.ansible.com/t/73326-a-catalog-yml-file-to-encompass-a-grouping-s-of-collections-of-namespaces/34518)

<div class="topic-metadata">

**Author:** [@Chris\_Herzog](https://forum.ansible.com/u/Chris_Herzog)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 5:43am UTC](https://forum.ansible.com/t/73326-a-catalog-yml-file-to-encompass-a-grouping-s-of-collections-of-namespaces/34518 "2021-01-27T05:43:15Z")

</div>

https://github.com/ansible/ansible/issues/73326 I would like to continue the discussion of this feature request. I feel like this is a great feature to consolidate and manage your namespaces throughout your domain or mu…

---

## [Ansible authentication with windows by using GoDaddy or third party certificates](https://forum.ansible.com/t/ansible-authentication-with-windows-by-using-godaddy-or-third-party-certificates/34517)

<div class="topic-metadata">

**Author:** [@karthik\_kumar1](https://forum.ansible.com/u/karthik_kumar1)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 5:22am UTC](https://forum.ansible.com/t/ansible-authentication-with-windows-by-using-godaddy-or-third-party-certificates/34517 "2021-01-27T05:22:55Z")

</div>

Hi, Need help on setting up authentication between ansible and windows by using GoDaddy certificates or any third party instead of Openssl or SelfSigned certificate. I have tried many ways but its not working. i was ab…

---

## [accessing nested variables in dictionary that contains ansible-variable as key](https://forum.ansible.com/t/accessing-nested-variables-in-dictionary-that-contains-ansible-variable-as-key/34515)

<div class="topic-metadata">

**Author:** [@Philip\_Svensson](https://forum.ansible.com/u/Philip_Svensson)\
**Replies:** 1\
**Last updated:** [January 27, 2021, 3:43am UTC](https://forum.ansible.com/t/accessing-nested-variables-in-dictionary-that-contains-ansible-variable-as-key/34515 "2021-01-27T03:43:45Z")

</div>

Hey I’m wondering how I should point to variables nested like shown below. if it helps, the playbook I’m writing doesn’t need to work with multiple hosts at once The variable cannot be re-structured since it’s being us…

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

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