# Archives

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

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

**Page:** 239

---

## [Variable in hostvars](https://forum.ansible.com/t/variable-in-hostvars/31867)

<div class="topic-metadata">

**Author:** [@Herman\_Pool](https://forum.ansible.com/u/Herman_Pool)\
**Replies:** 2\
**Last updated:** [December 23, 2019, 5:54pm UTC](https://forum.ansible.com/t/variable-in-hostvars/31867 "2019-12-23T17:54:22Z")

</div>

Hi all, I am new to ansible. Why is my playbook not working? And how can I solve it? My playbook:

---

## [Ansible tower free license are not delivered yet](https://forum.ansible.com/t/ansible-tower-free-license-are-not-delivered-yet/31865)

<div class="topic-metadata">

**Author:** [@Vivek1](https://forum.ansible.com/u/Vivek1)\
**Replies:** 1\
**Last updated:** [December 23, 2019, 1:03pm UTC](https://forum.ansible.com/t/ansible-tower-free-license-are-not-delivered-yet/31865 "2019-12-23T13:03:28Z")

</div>

Hi Team, I had setup the Ansible tower and in the page to request for license, there was option to request for free trial license for less than 50 nodes. Where I have given my details completed the request. Its being on…

---

## [Is it possible to upgrade libraries in awx?](https://forum.ansible.com/t/is-it-possible-to-upgrade-libraries-in-awx/31849)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 4\
**Last updated:** [December 23, 2019, 7:08am UTC](https://forum.ansible.com/t/is-it-possible-to-upgrade-libraries-in-awx/31849 "2019-12-23T07:08:23Z")

</div>

Hi, I want to upgrade the following libraries in awx containers (possibly during build process). Could anyone please suggest a way to achieve this. Also, since awx supports only Python3, can anyone please suggest why we…

---

## [Want to send notification if no hosts match](https://forum.ansible.com/t/want-to-send-notification-if-no-hosts-match/31858)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 2\
**Last updated:** [December 23, 2019, 6:17am UTC](https://forum.ansible.com/t/want-to-send-notification-if-no-hosts-match/31858 "2019-12-23T06:17:22Z")

</div>

Hi, I have a use case where I am automating switch patching where engineers can select a switch name and playbook name from a web portal. I would to like to handle an exception if engineers select a wrong switch/playbo…

---

## [Ansible Linux Server - Unreachable](https://forum.ansible.com/t/ansible-linux-server-unreachable/31862)

<div class="topic-metadata">

**Author:** [@Parveen\_Datt](https://forum.ansible.com/u/Parveen_Datt)\
**Replies:** 3\
**Last updated:** [December 22, 2019, 7:56pm UTC](https://forum.ansible.com/t/ansible-linux-server-unreachable/31862 "2019-12-22T19:56:52Z")

</div>

Team, Can someone please help in solution for below requirement. I tried a lot but did not get through yet We want ansible playbook to test network reachability of a server followed by Power reset using IPMITOOL if Se…

---

## [Define global variables in ansible group\_vars/all file](https://forum.ansible.com/t/define-global-variables-in-ansible-group-vars-all-file/31780)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 9\
**Last updated:** [December 20, 2019, 5:01pm UTC](https://forum.ansible.com/t/define-global-variables-in-ansible-group-vars-all-file/31780 "2019-12-20T17:01:22Z")

</div>

Hello, I followed Ansible best practice to create my ansible automation directory structure like following: group\_vars group\_vars/all host\_vars os.yml production roles roles/os-issue Since I’m using ansible user…

---

## [AWX kubernetes deployment having several group instances don't run jobs on an specific instance...](https://forum.ansible.com/t/awx-kubernetes-deployment-having-several-group-instances-dont-run-jobs-on-an-specific-instance/27017)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Replies:** 3\
**Last updated:** [December 20, 2019, 4:03pm UTC](https://forum.ansible.com/t/awx-kubernetes-deployment-having-several-group-instances-dont-run-jobs-on-an-specific-instance/27017 "2019-12-20T16:03:25Z")

</div>

Hi guys… I’ve been trying to move our docker setup into kubernetes, to benefit from the Instance Groups allocation feature, but, we’re having some problems so far. Our baremetal kubernetes cluster has 4 nodes (12G ram…

---

## [templating a variable name in ansible 2.9 is not working as before, did I miss something in the release notes ?](https://forum.ansible.com/t/templating-a-variable-name-in-ansible-2-9-is-not-working-as-before-did-i-miss-something-in-the-release-notes/31856)

<div class="topic-metadata">

**Author:** [@mahespth](https://forum.ansible.com/u/mahespth)\
**Replies:** 2\
**Last updated:** [December 20, 2019, 3:56pm UTC](https://forum.ansible.com/t/templating-a-variable-name-in-ansible-2-9-is-not-working-as-before-did-i-miss-something-in-the-release-notes/31856 "2019-12-20T15:56:36Z")

</div>

Hi, We have some plays that work ok in ansible \<2.9, they are used to generate various repositories based on facts and they do not appear to work any longer after ansible 2.9 update - I have rolled back just the ansible…

---

## [ios\_ntp](https://forum.ansible.com/t/ios-ntp/31854)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 4\
**Last updated:** [December 20, 2019, 2:33pm UTC](https://forum.ansible.com/t/ios-ntp/31854 "2019-12-20T14:33:26Z")

</div>

Has anyone used ios\_ntp for Cisco IOS devices? Its new as of Ansible v2.8. It works fine for 1 NTP server but how do you add a 2nd server. I’ve tried the following and neither works. The 2nd method works for DNS with io…

---

## [How to fix vulnerabilities in AWX](https://forum.ansible.com/t/how-to-fix-vulnerabilities-in-awx/31844)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 6\
**Last updated:** [December 20, 2019, 6:12am UTC](https://forum.ansible.com/t/how-to-fix-vulnerabilities-in-awx/31844 "2019-12-20T06:12:25Z")

</div>

Hi All, We are using latest version of AWX and post scanning it for vulnerabilities, we could see the following vulnerabilities which we are asked to fix. For the python modules, I have tried checking the versions of c…

---

## [Is it possible to remove the private keys from AWX Images?](https://forum.ansible.com/t/is-it-possible-to-remove-the-private-keys-from-awx-images/31851)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 5:45pm UTC](https://forum.ansible.com/t/is-it-possible-to-remove-the-private-keys-from-awx-images/31851 "2019-12-19T17:45:44Z")

</div>

Hello All, I could see the following Private Keys in AWX Images. Could anyone please suggest what are these used for and is it possible to remove them from build since these are marked as vulnerable for some reason in o…

---

## [QA TESTER//GLEN ALLEN VA//12 MONTHS//C2C](https://forum.ansible.com/t/qa-tester-glen-allen-va-12-months-c2c/31853)

<div class="topic-metadata">

**Author:** [@Farhad\_Mohammad](https://forum.ansible.com/u/Farhad_Mohammad)\
**Replies:** 0\
**Last updated:** [December 19, 2019, 3:32pm UTC](https://forum.ansible.com/t/qa-tester-glen-allen-va-12-months-c2c/31853 "2019-12-19T15:32:18Z")

</div>

Hi Greeting from Simba Staffing. We have an urgent requirement for one of our clients. please check and send me the suitable profiles ASAP Role : QA Tester Location : Glen Allen, VA Duration : 12 Months Contract : …

---

## [awx 9.1.0: inventory sync configuration](https://forum.ansible.com/t/awx-9-1-0-inventory-sync-configuration/31852)

<div class="topic-metadata">

**Author:** [@T.J\_Yang](https://forum.ansible.com/u/T.J_Yang)\
**Replies:** 0\
**Last updated:** [December 19, 2019, 3:27pm UTC](https://forum.ansible.com/t/awx-9-1-0-inventory-sync-configuration/31852 "2019-12-19T15:27:53Z")

</div>

HiMay be this feature is there earlier than version 9.1.Can someone point me to the doc that allow one to enable new feature ? I am hoping my test inventory can sync with remote github/gitlab repository. Thanks

---

## [Ansible molecule and docker](https://forum.ansible.com/t/ansible-molecule-and-docker/31850)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 0\
**Last updated:** [December 19, 2019, 10:56am UTC](https://forum.ansible.com/t/ansible-molecule-and-docker/31850 "2019-12-19T10:56:58Z")

</div>

Hi, I’m creating roles and because of some limitations running the tests under docker I was thinking of checking if it’s running on docker and adapt. How can I do this? Thanks, Bruno

---

## [How use with\_sequence and with\_dict together](https://forum.ansible.com/t/how-use-with-sequence-and-with-dict-together/31848)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 8:33am UTC](https://forum.ansible.com/t/how-use-with-sequence-and-with-dict-together/31848 "2019-12-19T08:33:43Z")

</div>

Hi, I want to do loop in the dict variable appliance and in variable have var count. This count I should like loop count. appliances: fw01: count: 2 vmname: name image: redhat os\_type: Linux data\_disks: lun: 0 …

---

## [sending mail while using assert?](https://forum.ansible.com/t/sending-mail-while-using-assert/31831)

<div class="topic-metadata">

**Author:** [@evnflow](https://forum.ansible.com/u/evnflow)\
**Replies:** 5\
**Last updated:** [December 18, 2019, 8:21pm UTC](https://forum.ansible.com/t/sending-mail-while-using-assert/31831 "2019-12-18T20:21:18Z")

</div>

Is there a way you can send a mail with-in assert when any\_errors\_fatal: true ? I have tried to do it by using set\_fact still, but still not having success in sending the disk limit size via email. name: Assert that th…

---

## [using modules in library folder from galaxy installed role](https://forum.ansible.com/t/using-modules-in-library-folder-from-galaxy-installed-role/31829)

<div class="topic-metadata">

**Author:** [@Tiemen\_Ruiten](https://forum.ansible.com/u/Tiemen_Ruiten)\
**Replies:** 7\
**Last updated:** [December 18, 2019, 7:32pm UTC](https://forum.ansible.com/t/using-modules-in-library-folder-from-galaxy-installed-role/31829 "2019-12-18T19:32:07Z")

</div>

Hello, I’m a beginner with AWX. I’m trying to use pcs-modules-2, a role which is meant to be included as a dependency. It contains a library folder with some custom Ansible modules (pcs\_resource.py, pcs\_property.py etc.…

---

## [Can custom plugins access extra\_vars?](https://forum.ansible.com/t/can-custom-plugins-access-extra-vars/31839)

<div class="topic-metadata">

**Author:** [@Andrew\_Garner](https://forum.ansible.com/u/Andrew_Garner)\
**Replies:** 1\
**Last updated:** [December 18, 2019, 6:11pm UTC](https://forum.ansible.com/t/can-custom-plugins-access-extra-vars/31839 "2019-12-18T18:11:10Z")

</div>

There is a comment on an Ansible GitHub issue suggesting that an inventory plugin can access extra vars from a custom plugin, but the issue was closed without any details being added. I have an inventory plugin and a lo…

---

## [How to run callback plugins in awx](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 2\
**Last updated:** [December 18, 2019, 6:05pm UTC](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828 "2019-12-18T18:05:06Z")

</div>

Hi I have a callback plugin which parses output to json. How can I use them to run through awx?

---

## [get\_stats with callback json](https://forum.ansible.com/t/get-stats-with-callback-json/31847)

<div class="topic-metadata">

**Author:** [@Bruno\_Carvalho](https://forum.ansible.com/u/Bruno_Carvalho)\
**Replies:** 0\
**Last updated:** [December 18, 2019, 5:56pm UTC](https://forum.ansible.com/t/get-stats-with-callback-json/31847 "2019-12-18T17:56:26Z")

</div>

Hello everyone, my env: AWX 5.0 Ansible 2.8 Python 3.6 I´m try using get\_stats with callback json without sucess, someone ever using or can help about it? Tks Bruno

---

## [with\_dict in loop counter](https://forum.ansible.com/t/with-dict-in-loop-counter/31846)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [December 18, 2019, 2:53pm UTC](https://forum.ansible.com/t/with-dict-in-loop-counter/31846 "2019-12-18T14:53:33Z")

</div>

Hi, I have a task for creating the virtual machine at Azure with\_dict. I should like to create a variable count (number the VMS) and put it with\_dict. How can create loop count with with\_dict?

---

## [awx\_postgres container issue](https://forum.ansible.com/t/awx-postgres-container-issue/31845)

<div class="topic-metadata">

**Author:** [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Replies:** 0\
**Last updated:** [December 18, 2019, 1:50pm UTC](https://forum.ansible.com/t/awx-postgres-container-issue/31845 "2019-12-18T13:50:18Z")

</div>

Hi All, It has been 15 days i was stuck on the issue which seems that we can access postgres database by seen below awx\_web logs. But when i research more and open psql command line. I figure out that awx\_postgres data…

---

## [It would be nice if we can have  option to add description for computer object in win\_domain\_membership module.](https://forum.ansible.com/t/it-would-be-nice-if-we-can-have-option-to-add-description-for-computer-object-in-win-domain-membership-module/31843)

<div class="topic-metadata">

**Author:** [@vineesh\_ap](https://forum.ansible.com/u/vineesh_ap)\
**Replies:** 0\
**Last updated:** [December 18, 2019, 11:46am UTC](https://forum.ansible.com/t/it-would-be-nice-if-we-can-have-option-to-add-description-for-computer-object-in-win-domain-membership-module/31843 "2019-12-18T11:46:42Z")

</div>

Adding Description for computer object is a nice to have feature in win\_domain\_membership module. We do have a community module win\_domain\_computer which has this parameter. but we need AD management tools installed on t…

---

## [regexp is not working in window ansible](https://forum.ansible.com/t/regexp-is-not-working-in-window-ansible/31838)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 4\
**Last updated:** [December 18, 2019, 8:15am UTC](https://forum.ansible.com/t/regexp-is-not-working-in-window-ansible/31838 "2019-12-18T08:15:31Z")

</div>

Hi all, I would like add a line in particular line, I have written a task as below;

---

## [Can you send mail within assert?](https://forum.ansible.com/t/can-you-send-mail-within-assert/31842)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 11:08pm UTC](https://forum.ansible.com/t/can-you-send-mail-within-assert/31842 "2019-12-17T23:08:21Z")

</div>

use a \`block\`, send mail in the \`rescue\` section and then use a \`fail\` task to 'continue the error'

---

## [Best practice for performing SQL query inside of Ansible playbook task?](https://forum.ansible.com/t/best-practice-for-performing-sql-query-inside-of-ansible-playbook-task/31841)

<div class="topic-metadata">

**Author:** [@Bruce\_W\_Mohler](https://forum.ansible.com/u/Bruce_W_Mohler)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 10:38pm UTC](https://forum.ansible.com/t/best-practice-for-performing-sql-query-inside-of-ansible-playbook-task/31841 "2019-12-17T22:38:28Z")

</div>

What is the best practice for performing a SQL query inside of an Ansible playbook task? I know that Ansible provides some builtin MySQL modules but they only allow you to create databases, tables inside of databases, a…

---

## [AWX 9.1.0](https://forum.ansible.com/t/awx-9-1-0/31840)

<div class="topic-metadata">

**Author:** [@Shane\_McDonald](https://forum.ansible.com/u/Shane_McDonald)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 6:48pm UTC](https://forum.ansible.com/t/awx-9-1-0/31840 "2019-12-17T18:48:12Z")

</div>

Hello everyone, AWX 9.1.0 was just released. Here is a summary of the changes included: Added a command to generate a new SECRET\_KEY and rekey the database Removed project update lock when jobs using it are running Fi…

---

## [deploy pod](https://forum.ansible.com/t/deploy-pod/31837)

<div class="topic-metadata">

**Author:** [@lelu\_nicu](https://forum.ansible.com/u/lelu_nicu)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 3:35pm UTC](https://forum.ansible.com/t/deploy-pod/31837 "2019-12-17T15:35:00Z")

</div>

hi, give an example on how i write an ansible playbook to deploy a pod (1 container inside) to run nginx inside the container.in a kubernete environment. tnx

---

## [Ansible playbook, trying to execute ssh-copy-id to remote host for passwd less login,](https://forum.ansible.com/t/ansible-playbook-trying-to-execute-ssh-copy-id-to-remote-host-for-passwd-less-login/31834)

<div class="topic-metadata">

**Author:** [@Ganeshwari\_Sk](https://forum.ansible.com/u/Ganeshwari_Sk)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 2:36pm UTC](https://forum.ansible.com/t/ansible-playbook-trying-to-execute-ssh-copy-id-to-remote-host-for-passwd-less-login/31834 "2019-12-17T14:36:46Z")

</div>

Hi, I am new for ansible. I wrote the following playbook to execute the ssh-copy-id to copy the id\_rsa.pub key to remote host, but I am getting permission denied error or hanging when passing password as argument, Play…

---

## [AWX is not showing the job run screen | play book run scuuessfully](https://forum.ansible.com/t/awx-is-not-showing-the-job-run-screen-play-book-run-scuuessfully/31836)

<div class="topic-metadata">

**Author:** [@Saravanesh\_d](https://forum.ansible.com/u/Saravanesh_d)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 2:02pm UTC](https://forum.ansible.com/t/awx-is-not-showing-the-job-run-screen-play-book-run-scuuessfully/31836 "2019-12-17T14:02:14Z")

</div>

Team, please help me to resolve , this AWX is not showing the job run screen however the play book run successfully

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

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