# Archives

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

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

**Page:** 259

---

## [reading playbook vars from custom module?](https://forum.ansible.com/t/reading-playbook-vars-from-custom-module/31270)

<div class="topic-metadata">

**Author:** [@l\_vic](https://forum.ansible.com/u/l_vic)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 2:07pm UTC](https://forum.ansible.com/t/reading-playbook-vars-from-custom-module/31270 "2019-09-12T14:07:54Z")

</div>

Hello, Is there a way to read playbook vars such as:

---

## [AWX installation using docker files](https://forum.ansible.com/t/awx-installation-using-docker-files/31268)

<div class="topic-metadata">

**Author:** [@harshal2006](https://forum.ansible.com/u/harshal2006)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 10:15am UTC](https://forum.ansible.com/t/awx-installation-using-docker-files/31268 "2019-09-12T10:15:30Z")

</div>

Hi, Is there any way I can deploy AWX using docker files instead of using its standard installation method? This will allow me to add custom commands in the docker file where necessary. Thanks, harshal

---

## [AWX jobs in sorting order](https://forum.ansible.com/t/awx-jobs-in-sorting-order/31261)

<div class="topic-metadata">

**Author:** [@Vijay\_Ravindran](https://forum.ansible.com/u/Vijay_Ravindran)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 7:46am UTC](https://forum.ansible.com/t/awx-jobs-in-sorting-order/31261 "2019-09-12T07:46:14Z")

</div>

Hi Folks, how to get the sorted order based on the modified time in the jobs section. Really confusing on AWX web UI. Thanks for clarification regds VJ

---

## [Subdirectories in host\_vars](https://forum.ansible.com/t/subdirectories-in-host-vars/31266)

<div class="topic-metadata">

**Author:** [@Peter\_Kokot](https://forum.ansible.com/u/Peter_Kokot)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 7:04am UTC](https://forum.ansible.com/t/subdirectories-in-host-vars/31266 "2019-09-12T07:04:07Z")

</div>

Hello, does host\_vars directory support subdirectories? So multiple variables can be organized in multiple YAML files inside the host subdirectory. For example: ├─ host\_vars/ ├─── hostname\_1.tld/ ├───── secrets.yaml …

---

## [using set\_fact with until](https://forum.ansible.com/t/using-set-fact-with-until/31252)

<div class="topic-metadata">

**Author:** [@Kamesh\_Sampath1](https://forum.ansible.com/u/Kamesh_Sampath1)\
**Replies:** 16\
**Last updated:** [September 12, 2019, 3:29am UTC](https://forum.ansible.com/t/using-set-fact-with-until/31252 "2019-09-12T03:29:17Z")

</div>

I am trying to use set\_fact with until and retries, will the fact be evaluated and set during each iteration ? Sometimes I see the value is not being set and I get the failure after the retries. While I see the correspon…

---

## [Ansible Contributor Summit 7 (Part of AnsibleFest 2019 Atlanta)](https://forum.ansible.com/t/ansible-contributor-summit-7-part-of-ansiblefest-2019-atlanta/31263)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 4:49pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-7-part-of-ansiblefest-2019-atlanta/31263 "2019-09-11T16:49:38Z")

</div>

Hi everybody. As usual, the day before AnsibleFest we are hosting Contributor Summit. this will take place in Atlanta, though we welcome people to join virtually for some/all of the day. Ansible Contributor Summit is m…

---

## [AWX 7.0 workflows greyed out.](https://forum.ansible.com/t/awx-7-0-workflows-greyed-out/31244)

<div class="topic-metadata">

**Author:** [@Darrin\_Miskiewicz](https://forum.ansible.com/u/Darrin_Miskiewicz)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 4:22pm UTC](https://forum.ansible.com/t/awx-7-0-workflows-greyed-out/31244 "2019-09-11T16:22:14Z")

</div>

Anyone have any idea why 7.0 does not allow me to create workflows? We updated from 5.0 thinking it was resolved but everything is still grayed out and no save button. My user type is System Administrator and even tried …

---

## [Access clients through a proxy](https://forum.ansible.com/t/access-clients-through-a-proxy/31262)

<div class="topic-metadata">

**Author:** [@Dave\_McPherson](https://forum.ansible.com/u/Dave_McPherson)\
**Replies:** 1\
**Last updated:** [September 11, 2019, 3:30pm UTC](https://forum.ansible.com/t/access-clients-through-a-proxy/31262 "2019-09-11T15:30:38Z")

</div>

I have a number of machines that can only be reached by logging in through a proxy, but I would like to use ansible to manage them. Is there a way to send playbooks through a proxy to remote machines? Thanks, Dave

---

## [Template Errors: TypeError: generate\_ansible\_template\_vars() takes exactly 1 argument (2 given)](https://forum.ansible.com/t/template-errors-typeerror-generate-ansible-template-vars-takes-exactly-1-argument-2-given/31260)

<div class="topic-metadata">

**Author:** [@bamason14](https://forum.ansible.com/u/bamason14)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 1:16pm UTC](https://forum.ansible.com/t/template-errors-typeerror-generate-ansible-template-vars-takes-exactly-1-argument-2-given/31260 "2019-09-11T13:16:19Z")

</div>

I upgraded AWX to version 6.1.0.248-1.el7. I forget what version it was previously. Since the upgrade my templates seem to have broke. Below is my template and playbook. I cant seem to find where I am going wrong. {{ an…

---

## [Is there a better way to restructure playbook without “include\_tasks” and run task simultaneously?](https://forum.ansible.com/t/is-there-a-better-way-to-restructure-playbook-without-include-tasks-and-run-task-simultaneously/31257)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 12:40pm UTC](https://forum.ansible.com/t/is-there-a-better-way-to-restructure-playbook-without-include-tasks-and-run-task-simultaneously/31257 "2019-09-11T12:40:29Z")

</div>

I need a way to speed up my playbook, maybe better logical structuring. It’s running sequentially now. The task is simple – run playbook from AWX that will backup list of VMs. I’m supplying list of VMs in AWX extra vari…

---

## [AWX](https://forum.ansible.com/t/awx/31255)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 1\
**Last updated:** [September 11, 2019, 12:24pm UTC](https://forum.ansible.com/t/awx/31255 "2019-09-11T12:24:48Z")

</div>

Dear All, I am unable to login AWX webpage with admin and password . What could be other default credentials which can be tried ? Any initial method which needs to be performed like user-Admin and secret keyword like j…

---

## [Issue with password hash in user module when passing ByVal ???](https://forum.ansible.com/t/issue-with-password-hash-in-user-module-when-passing-byval/31256)

<div class="topic-metadata">

**Author:** [@Greg\_Pirker](https://forum.ansible.com/u/Greg_Pirker)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 11:58am UTC](https://forum.ansible.com/t/issue-with-password-hash-in-user-module-when-passing-byval/31256 "2019-09-11T11:58:01Z")

</div>

If I create a password hash using the following playbook and role: PLAYBOOK: hosts: localhost tasks: name: Call encrypt password role include\_role: name: encrypt\_password vars: oracle\_passwd: “{{survey\_password…

---

## [Host Unreachable.](https://forum.ansible.com/t/host-unreachable/31236)

<div class="topic-metadata">

**Author:** [@Naeem\_Khan](https://forum.ansible.com/u/Naeem_Khan)\
**Replies:** 5\
**Last updated:** [September 11, 2019, 9:33am UTC](https://forum.ansible.com/t/host-unreachable/31236 "2019-09-11T09:33:38Z")

</div>

Hi Everyone, I am getting the Connection issue with the given host using ansible, but direct ssh is working fine with the host 172.19.54.163. can some one guide me where do i have to look the issue. on running the com…

---

## [Issue with first playbook](https://forum.ansible.com/t/issue-with-first-playbook/31220)

<div class="topic-metadata">

**Author:** [@elogateumsato](https://forum.ansible.com/u/elogateumsato)\
**Replies:** 3\
**Last updated:** [September 11, 2019, 8:06am UTC](https://forum.ansible.com/t/issue-with-first-playbook/31220 "2019-09-11T08:06:09Z")

</div>

I have a Ubiquiti Edge Router X on my network and was playing around with running playbooks on it. i’m trying to run the following playbook: name: show current configuration hosts: routers tasks: name: get fac…

---

## [How can i get hosts variable value from ansible yaml file for a particular playbook to custom python module?](https://forum.ansible.com/t/how-can-i-get-hosts-variable-value-from-ansible-yaml-file-for-a-particular-playbook-to-custom-python-module/31247)

<div class="topic-metadata">

**Author:** [@thameem\_ansari](https://forum.ansible.com/u/thameem_ansari)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 10:52pm UTC](https://forum.ansible.com/t/how-can-i-get-hosts-variable-value-from-ansible-yaml-file-for-a-particular-playbook-to-custom-python-module/31247 "2019-09-10T22:52:49Z")

</div>

How can i get hosts variable value from ansible yaml file for a particular playbook to custom python module?

---

## [When condition 'or' structure question](https://forum.ansible.com/t/when-condition-or-structure-question/31251)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 3\
**Last updated:** [September 10, 2019, 8:54pm UTC](https://forum.ansible.com/t/when-condition-or-structure-question/31251 "2019-09-10T20:54:15Z")

</div>

It’s possible to define a series of ‘and’ conditions for a task as follows: when: foo == true bar == true As far as I’m aware, the only way to define ‘or’ conditions is in-line, as such: when: foo == true or bar == …

---

## [Variable Not Recognized as Integer](https://forum.ansible.com/t/variable-not-recognized-as-integer/31249)

<div class="topic-metadata">

**Author:** [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 5:18pm UTC](https://forum.ansible.com/t/variable-not-recognized-as-integer/31249 "2019-09-10T17:18:33Z")

</div>

I’m attempting to use the Tower API to remove a host from an inventory. Here’s the tasks in my playbook: \` name: Get host ID uri: url: https://satellite/api/v2/inventories/18/hosts/ method: GET body\_format: json …

---

## [Administrate 3com switchs with Ansible](https://forum.ansible.com/t/administrate-3com-switchs-with-ansible/31250)

<div class="topic-metadata">

**Author:** [@Vamberto\_Junior](https://forum.ansible.com/u/Vamberto_Junior)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 2:12pm UTC](https://forum.ansible.com/t/administrate-3com-switchs-with-ansible/31250 "2019-09-10T14:12:12Z")

</div>

Hello everyone, Someone administrate switchs 3com (4210 and 5500) using Ansible ? I would like to automate the backup of these switchs Regards

---

## [Ansible problem when i use --check](https://forum.ansible.com/t/ansible-problem-when-i-use-check/31208)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 9:01am UTC](https://forum.ansible.com/t/ansible-problem-when-i-use-check/31208 "2019-09-10T09:01:23Z")

</div>

Hey ! I have problem when i use this command ansible-playbook playbook.yml --check All works normaly without –check but when there is one task who create repertory, the second task is mistake. Exemple : name: “Crea…

---

## [Running Ansible in Packer Windows\_Update Error](https://forum.ansible.com/t/running-ansible-in-packer-windows-update-error/31248)

<div class="topic-metadata">

**Author:** [@Staggerlee011](https://forum.ansible.com/u/Staggerlee011)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 8:23am UTC](https://forum.ansible.com/t/running-ansible-in-packer-windows-update-error/31248 "2019-09-10T08:23:57Z")

</div>

Hi, I have ansible doing application installs and everything else (Ie must be running in admin) i want from a packer build, but when it comes to running a ansible win\_update it errors out with: TASK \[Install all securi…

---

## [ansible playbook is failing with windows hosts](https://forum.ansible.com/t/ansible-playbook-is-failing-with-windows-hosts/31246)

<div class="topic-metadata">

**Author:** [@Vivek1](https://forum.ansible.com/u/Vivek1)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 8:10am UTC](https://forum.ansible.com/t/ansible-playbook-is-failing-with-windows-hosts/31246 "2019-09-10T08:10:28Z")

</div>

Hi Experts, My ansible playbook of simple ping module is failing with my windows host. My Playbbok \`

---

## [win\_package](https://forum.ansible.com/t/win-package/31234)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 4\
**Last updated:** [September 10, 2019, 6:21am UTC](https://forum.ansible.com/t/win-package/31234 "2019-09-10T06:21:22Z")

</div>

Dear All, I am getting a very weird result while using win\_package, It is succeeding and no error is visible on ansible command prompt however the package is not installed while checking manually . We are able to insta…

---

## [The best practice of using Ansible to automatically config/deploy application on the vmware vm](https://forum.ansible.com/t/the-best-practice-of-using-ansible-to-automatically-config-deploy-application-on-the-vmware-vm/31228)

<div class="topic-metadata">

**Author:** [@Roy\_luo](https://forum.ansible.com/u/Roy_luo)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 2:59am UTC](https://forum.ansible.com/t/the-best-practice-of-using-ansible-to-automatically-config-deploy-application-on-the-vmware-vm/31228 "2019-09-10T02:59:25Z")

</div>

Hi Experts, I am a new to Ansible and working on the project of automating our application environment management. The goal of the project is to automatically build the new environment when the application release the n…

---

## [How to use hostvars?](https://forum.ansible.com/t/how-to-use-hostvars/31231)

<div class="topic-metadata">

**Author:** [@user48](https://forum.ansible.com/u/user48)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 1:19am UTC](https://forum.ansible.com/t/how-to-use-hostvars/31231 "2019-09-10T01:19:31Z")

</div>

My ansible version is 2.5. In my playbook, one host needs to access other host’s variable which I defined in inventory file. I used {{ hostvars\[‘groupname’\].var\_name }} and get an error, I also tried to use {{ hostvars…

---

## [ansible and windows laptops on corporate and wan networks](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 6\
**Last updated:** [September 9, 2019, 9:35pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232 "2019-09-09T21:35:06Z")

</div>

We use Ansible to manage a lot of windows servers, which works well. Now we have also some laptops we want to manage. when theay are on the corporate network this works fine. But how can we make connection when they ar…

---

## [\<replace\> not working \<with\_items\> anymore.](https://forum.ansible.com/t/replace-not-working-with-items-anymore/31245)

<div class="topic-metadata">

**Author:** [@Jean\_Roux](https://forum.ansible.com/u/Jean_Roux)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 7:19pm UTC](https://forum.ansible.com/t/replace-not-working-with-items-anymore/31245 "2019-09-09T19:19:00Z")

</div>

Hi, have not been working with Ansible for a yr+, one of my playbooks not working anymore: name: Edit node-RED config.js replace: path: “{{folder.apps}}/{{ iotp\_app }}/data/settings.js” regexp: “{{ item.regexp }}” …

---

## [How can I manage user properties in several groups](https://forum.ansible.com/t/how-can-i-manage-user-properties-in-several-groups/31243)

<div class="topic-metadata">

**Author:** [@Bram\_Mertens](https://forum.ansible.com/u/Bram_Mertens)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 4:35pm UTC](https://forum.ansible.com/t/how-can-i-manage-user-properties-in-several-groups/31243 "2019-09-09T16:35:43Z")

</div>

Hi, I’m trying to manage user accounts for a small company without central authentication system. The goal is to: define default user properties centrally override specific properties on more specific levels like gro…

---

## [Searching jobs list for particular host(s)](https://forum.ansible.com/t/searching-jobs-list-for-particular-host-s/31241)

<div class="topic-metadata">

**Author:** [@David\_Safanyuk](https://forum.ansible.com/u/David_Safanyuk)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 3:29pm UTC](https://forum.ansible.com/t/searching-jobs-list-for-particular-host-s/31241 "2019-09-09T15:29:49Z")

</div>

I cannot find a way to search the jobs page for a given host. I tried searching for: hosts:123.0.0.1, host:123.0.0.01 Is searching for jobs by host actually possible?

---

## [Error adding disk with vmware\_guest\_disk](https://forum.ansible.com/t/error-adding-disk-with-vmware-guest-disk/31240)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 3:02pm UTC](https://forum.ansible.com/t/error-adding-disk-with-vmware-guest-disk/31240 "2019-09-09T15:02:14Z")

</div>

I’m trying to use the vmware\_guest\_disk module (Ansible v2.8.2) to add a disk to a VM but am getting an error. This is the relevant section of my playbook: \` name: Add a Disk VM vmware\_guest\_disk: hostname: “{{ vc\_…

---

## [variables for reboot](https://forum.ansible.com/t/variables-for-reboot/31239)

<div class="topic-metadata">

**Author:** [@Michael\_Weiner](https://forum.ansible.com/u/Michael_Weiner)\
**Replies:** 1\
**Last updated:** [September 9, 2019, 2:55pm UTC](https://forum.ansible.com/t/variables-for-reboot/31239 "2019-09-09T14:55:58Z")

</div>

Howdy all I have a playbook that I want to run hourly to check for new hosts and I have a script that returns a variable of new and this host gets the yum update and yum reboot and then come around again this host varia…

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

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