# Latest

**URL:** https://forum.ansible.com/latest.md?page=540

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

**Page:** 541

---

## [Tower and AWX container question.](https://forum.ansible.com/t/tower-and-awx-container-question/27996)

<div class="topic-metadata">

**Author:** [@Raymond\_Ferguson](https://forum.ansible.com/u/Raymond_Ferguson)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 5:08pm UTC](https://forum.ansible.com/t/tower-and-awx-container-question/27996 "2018-07-09T17:08:52Z")

</div>

Is AWX deployment to containers the future path for the next Tower release, or mostly to organize development without packaging and release overhead? Thank you. ᐧ

---

## [Need help with ansible-playbook "git" module](https://forum.ansible.com/t/need-help-with-ansible-playbook-git-module/27995)

<div class="topic-metadata">

**Author:** [@Rahul\_Satal](https://forum.ansible.com/u/Rahul_Satal)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 3:32pm UTC](https://forum.ansible.com/t/need-help-with-ansible-playbook-git-module/27995 "2018-07-09T15:32:54Z")

</div>

I have to clone a git repository in 10 remote servers. Firstly, I want to know that do I need to install git on all the 10 servers or only on local system. Second is I am getting this error - “stderr”: “fatal: could not …

---

## [Error in awx\_web and awx\_task logs after installation](https://forum.ansible.com/t/error-in-awx-web-and-awx-task-logs-after-installation/27993)

<div class="topic-metadata">

**Author:** [@ahmed](https://forum.ansible.com/u/ahmed)\
**Replies:** 0\
**Last updated:** [July 9, 2018, 12:25pm UTC](https://forum.ansible.com/t/error-in-awx-web-and-awx-task-logs-after-installation/27993 "2018-07-09T12:25:05Z")

</div>

Hi, I have installed AWX 1.0.3 in standalone docker mode. Before launching anything on AWX, the logs of the awx\_\* containers show lines with error: awx\_web: \*\*\* Starting uWSGI 2.0.14 (64bit) on \[Mon Jul 9 11:48:01 20…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/27987)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 11:57am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/27987 "2018-07-09T11:57:33Z")

</div>

Hi All, I’m new to Ansible and still learning . My organization has plan to do esxi upgrade via ansible. As a administrator we need to think of smart way to do ansible way . As initial step of the upgrade I would like t…

---

## [Galaxy Maintenance 13 July 00:00 - 06:00 Eastern](https://forum.ansible.com/t/galaxy-maintenance-13-july-00-00-06-00-eastern/27992)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [July 9, 2018, 10:01am UTC](https://forum.ansible.com/t/galaxy-maintenance-13-july-00-00-06-00-eastern/27992 "2018-07-09T10:01:35Z")

</div>

The OpenShift cluster that hosts Galaxy will be upgraded to OpenShift v3.9 on 13 July, between 00:00 and 06:00 Eastern. We don’t anticipate outages during this window, but we cannot guarantees that there won’t be some m…

---

## [json how to register variable with item only when matches](https://forum.ansible.com/t/json-how-to-register-variable-with-item-only-when-matches/27977)

<div class="topic-metadata">

**Author:** [@Konstantin\_R](https://forum.ansible.com/u/Konstantin_R)\
**Replies:** 3\
**Last updated:** [July 9, 2018, 7:29am UTC](https://forum.ansible.com/t/json-how-to-register-variable-with-item-only-when-matches/27977 "2018-07-09T07:29:19Z")

</div>

Hello, I have next playbook: hosts: 127.0.0.1 tasks: name: Load variables include\_vars: file: vars/vcenter.yaml name: vcenter name: Get information about cluster vmware\_cluster\_facts: datacenter: ‘DC03’ hostnam…

---

## [Filter on Condition in Loop](https://forum.ansible.com/t/filter-on-condition-in-loop/27990)

<div class="topic-metadata">

**Author:** [@utkarsh\_srivastava](https://forum.ansible.com/u/utkarsh_srivastava)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 7:25am UTC](https://forum.ansible.com/t/filter-on-condition-in-loop/27990 "2018-07-09T07:25:04Z")

</div>

Hi pause: prompt: Do You want to Add this item “{{ item }}” ? register: item\_list with\_lines: cat file\_name run\_once: true set\_fact: my\_list: “{{ item\_list.results | map(attribute=‘item’) | list | join(‘,’) }}…

---

## [ansible\_hostname in with\_items](https://forum.ansible.com/t/ansible-hostname-in-with-items/27883)

<div class="topic-metadata">

**Author:** [@Bachu\_Prathap](https://forum.ansible.com/u/Bachu_Prathap)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 3:39am UTC](https://forum.ansible.com/t/ansible-hostname-in-with-items/27883 "2018-07-09T03:39:53Z")

</div>

Hi Team I am writing a playbook to automate assigning an IP address to a set of hosts, however, I am stuck at pulling IP details from vars\_files. below is the code, any pointers will be much helpful to me. thank you. v…

---

## [how to run yum ad-hoc command as different user?](https://forum.ansible.com/t/how-to-run-yum-ad-hoc-command-as-different-user/27988)

<div class="topic-metadata">

**Author:** [@Vamsee\_Chowdary](https://forum.ansible.com/u/Vamsee_Chowdary)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 3:17am UTC](https://forum.ansible.com/t/how-to-run-yum-ad-hoc-command-as-different-user/27988 "2018-07-09T03:17:45Z")

</div>

Hello there, As a user “vamsi”,i am trying to install httpd on node1 machine using ad-hoc command “yum” from the command line. please note that user vamsi has sudo privileges on node1. I tried everything (–become,–ask…

---

## [Ansible multi VM Snapshot](https://forum.ansible.com/t/ansible-multi-vm-snapshot/27980)

<div class="topic-metadata">

**Author:** [@Rama](https://forum.ansible.com/u/Rama)\
**Replies:** 1\
**Last updated:** [July 8, 2018, 11:30pm UTC](https://forum.ansible.com/t/ansible-multi-vm-snapshot/27980 "2018-07-08T23:30:17Z")

</div>

Hi All, I am newbie to Ansible. In my organization, couple of production vm’s need frequent snapshots.I went through Ansible documentation that directed me how to find VM’s folder path and how to take VM snaphost in dif…

---

## ['rc' check failure - 'dict object' has no attribute 'rc'](https://forum.ansible.com/t/rc-check-failure-dict-object-has-no-attribute-rc/27979)

<div class="topic-metadata">

**Author:** [@Imam\_Toufique](https://forum.ansible.com/u/Imam_Toufique)\
**Replies:** 4\
**Last updated:** [July 8, 2018, 11:23pm UTC](https://forum.ansible.com/t/rc-check-failure-dict-object-has-no-attribute-rc/27979 "2018-07-08T23:23:49Z")

</div>

Hi, I am new in ansible world, trying to figure out playbook where I use ‘grep’ to check for netmask address from a text file and capture the exit code with ‘register’ ( see below). My vars/main.yml looks like this: i…

---

## [Accessing Ansible environment vars from module.](https://forum.ansible.com/t/accessing-ansible-environment-vars-from-module/27986)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 6:43pm UTC](https://forum.ansible.com/t/accessing-ansible-environment-vars-from-module/27986 "2018-07-08T18:43:35Z")

</div>

In the module, those should be available via os.environ: https://docs.python.org/2/library/os.html#os.environ

---

## [Advice wanted for failing ansible-test sanity checks for contributed modules](https://forum.ansible.com/t/advice-wanted-for-failing-ansible-test-sanity-checks-for-contributed-modules/27984)

<div class="topic-metadata">

**Author:** [@rhysmeister](https://forum.ansible.com/u/rhysmeister)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 11:22am UTC](https://forum.ansible.com/t/advice-wanted-for-failing-ansible-test-sanity-checks-for-contributed-modules/27984 "2018-07-08T11:22:48Z")

</div>

Hello All, I have submitted a PR for two new modules for mongodb. These were based on the existing mongodb modules and thus I re-used some of code. The PR is failing on two ansible-test sanity checks… lib/ansible/modul…

---

## [Overriding defaults in anchor](https://forum.ansible.com/t/overriding-defaults-in-anchor/27983)

<div class="topic-metadata">

**Author:** [@Anushri\_Mishra](https://forum.ansible.com/u/Anushri_Mishra)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 1:53am UTC](https://forum.ansible.com/t/overriding-defaults-in-anchor/27983 "2018-07-08T01:53:59Z")

</div>

Hi, Is there a way to override defaults in anchor ? default: &defaults foo: "yes" bar: "true" data: "name1": "phone": 617 "foo" : "no" \<\<: \*defaults "name2": \<\<: \*defaults Does this work for example c…

---

## [Websockets not working after a little while](https://forum.ansible.com/t/websockets-not-working-after-a-little-while/27945)

<div class="topic-metadata">

**Author:** [@William\_Easton](https://forum.ansible.com/u/William_Easton)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 8:24pm UTC](https://forum.ansible.com/t/websockets-not-working-after-a-little-while/27945 "2018-07-07T20:24:02Z")

</div>

Hi, I’m having an issue where websockets stop working ~20-60 minutes after the application has been deployed. This impacts the task containers ability to post job stdout as well as removes the ability to view job detail…

---

## [need help with nmcli module and bridge-slave](https://forum.ansible.com/t/need-help-with-nmcli-module-and-bridge-slave/27982)

<div class="topic-metadata">

**Author:** [@Greg\_Sheremeta](https://forum.ansible.com/u/Greg_Sheremeta)\
**Replies:** 2\
**Last updated:** [July 7, 2018, 3:03pm UTC](https://forum.ansible.com/t/need-help-with-nmcli-module-and-bridge-slave/27982 "2018-07-07T15:03:56Z")

</div>

Hi, I need some help with nmcli and bridge-slave. I’m running the script from fedora 28, and trying to setup a centos 7 (minimal install iso) kvm node. \` set\_fact: bridge\_slave: “{{ ansible\_interfaces | difference(…

---

## [What is the advantage of ansible over ssh itself](https://forum.ansible.com/t/what-is-the-advantage-of-ansible-over-ssh-itself/27948)

<div class="topic-metadata">

**Author:** [@Lalit\_Singh\_Rao](https://forum.ansible.com/u/Lalit_Singh_Rao)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 2:07pm UTC](https://forum.ansible.com/t/what-is-the-advantage-of-ansible-over-ssh-itself/27948 "2018-07-07T14:07:14Z")

</div>

I was working on ansible, and found out that Every task which we execute using ansible can be carried out by ssh command. So, why should I bother making a different YAML file and do something, does ansible have any diff…

---

## [ESXi upgrade with Ansible](https://forum.ansible.com/t/esxi-upgrade-with-ansible/27981)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 0\
**Last updated:** [July 7, 2018, 1:25pm UTC](https://forum.ansible.com/t/esxi-upgrade-with-ansible/27981 "2018-07-07T13:25:58Z")

</div>

Hi All, I want to do ESXi upgrade by using Ansible from Scratch. Does anyone has sample playbooks for disabling alarm, VMs migration,put hosts in maintenance mode, remove from vCenter and upgrade process then reconnect …

---

## [bigip\_node module won't connect?](https://forum.ansible.com/t/bigip-node-module-wont-connect/27963)

<div class="topic-metadata">

**Author:** [@Scott\_Pouliot](https://forum.ansible.com/u/Scott_Pouliot)\
**Replies:** 1\
**Last updated:** [July 7, 2018, 5:13am UTC](https://forum.ansible.com/t/bigip-node-module-wont-connect/27963 "2018-07-07T05:13:48Z")

</div>

So I am fairly new to ansible here, but I’ve been fumbling my way around OK thus far. I can’t seem to get ansible connected to our BigIP F5 at all though. Are there special permissions I need my network team to grant me …

---

## [Ansible CredSSP configuration to connect to Windows Host](https://forum.ansible.com/t/ansible-credssp-configuration-to-connect-to-windows-host/27978)

<div class="topic-metadata">

**Author:** [@NirMur](https://forum.ansible.com/u/NirMur)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 9:43pm UTC](https://forum.ansible.com/t/ansible-credssp-configuration-to-connect-to-windows-host/27978 "2018-07-06T21:43:28Z")

</div>

I am new to Ansible and trying to enable CredSSP to use AD authentication for my Windows host(Basic authentication works fine). I have added a group\_var file with the following information ansible\_connection: winrm ans…

---

## [\[AWX\]\[Kubernetes\] Cannot install new python modules nor create a new virtualenv.](https://forum.ansible.com/t/awx-kubernetes-cannot-install-new-python-modules-nor-create-a-new-virtualenv/27386)

<div class="topic-metadata">

**Author:** [@nrk](https://forum.ansible.com/u/nrk)\
**Replies:** 6\
**Last updated:** [July 6, 2018, 8:25pm UTC](https://forum.ansible.com/t/awx-kubernetes-cannot-install-new-python-modules-nor-create-a-new-virtualenv/27386 "2018-07-06T20:25:40Z")

</div>

Hi all, I am working in the deployment of AWX using Kubernetes. Everything seems to works and I can create projects, associate playbooks, even run those playbooks on my servers. One of my playbooks is using the f5 big …

---

## [run task  only if changed](https://forum.ansible.com/t/run-task-only-if-changed/27720)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 8\
**Last updated:** [July 6, 2018, 7:53pm UTC](https://forum.ansible.com/t/run-task-only-if-changed/27720 "2018-07-06T19:53:28Z")

</div>

i have to run a playbook that can set the repository rh for a lot o machine name: RH Enable repositories rhsm\_repository: name: ‘{{ item.name }}’ state: ‘{{ item.state }}’ with\_items: ‘{{ IBM\_l6\_R\_RH7\_rhsm\_reposito…

---

## [Break up long conditional statement?](https://forum.ansible.com/t/break-up-long-conditional-statement/27974)

<div class="topic-metadata">

**Author:** [@burvilwork2](https://forum.ansible.com/u/burvilwork2)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 7:13pm UTC](https://forum.ansible.com/t/break-up-long-conditional-statement/27974 "2018-07-06T19:13:59Z")

</div>

I currently have this in a playbook: - block: - name: checking values fail: msg="failure here" when: ( ( application is not defined) or ( application == "") or ( component is not defined) or …

---

## [How would one add privileges to awx Pod ?](https://forum.ansible.com/t/how-would-one-add-privileges-to-awx-pod/27975)

<div class="topic-metadata">

**Author:** [@mhobot](https://forum.ansible.com/u/mhobot)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 6:27pm UTC](https://forum.ansible.com/t/how-would-one-add-privileges-to-awx-pod/27975 "2018-07-06T18:27:08Z")

</div>

Am trying to run awx in Kubernetes and instead of creating say ec2 instance etc, I would like to run few things right on the awx pod to get info like for example kubectl. However the privileges on pod are disabled so I…

---

## [Access host variables from dynamic inventory?](https://forum.ansible.com/t/access-host-variables-from-dynamic-inventory/27973)

<div class="topic-metadata">

**Author:** [@Travis\_Burrell](https://forum.ansible.com/u/Travis_Burrell)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 3:58pm UTC](https://forum.ansible.com/t/access-host-variables-from-dynamic-inventory/27973 "2018-07-06T15:58:01Z")

</div>

AWX 1.0.6.5 Docker image I’ve got an AWS dynamic inventory established. Each host shows all of the “ec2\_” variables listed on this page if you look at its page in the UI (Inventories \> Hosts \> \> Details \> Variables lis…

---

## [Loop with a filter applied to a list](https://forum.ansible.com/t/loop-with-a-filter-applied-to-a-list/27972)

<div class="topic-metadata">

**Author:** [@bozho](https://forum.ansible.com/u/bozho)\
**Replies:** 2\
**Last updated:** [July 6, 2018, 12:41pm UTC](https://forum.ansible.com/t/loop-with-a-filter-applied-to-a-list/27972 "2018-07-06T12:41:27Z")

</div>

Hi all, I'm having trouble creating a list of file names to loop over. I've tried this, but it doesn't work: - name: Debug debug: msg: "{{ item }}" loop: "{{ query('fileglob', 'dir/\*') | basename) }}" I get an err…

---

## [Avoid typing the credentials for ansible-pull all the time](https://forum.ansible.com/t/avoid-typing-the-credentials-for-ansible-pull-all-the-time/27965)

<div class="topic-metadata">

**Author:** [@Maik\_Brauer](https://forum.ansible.com/u/Maik_Brauer)\
**Replies:** 3\
**Last updated:** [July 6, 2018, 11:11am UTC](https://forum.ansible.com/t/avoid-typing-the-credentials-for-ansible-pull-all-the-time/27965 "2018-07-06T11:11:41Z")

</div>

Hello, in order to automate the pull request via ansible-pull, I need to have some credentials stored somewhere for ansible. The Repository is just reachable via HTTPS. Therefore Username and Password is needed. But a…

---

## [looking for advice on storing connection passwords](https://forum.ansible.com/t/looking-for-advice-on-storing-connection-passwords/27955)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 2\
**Last updated:** [July 6, 2018, 9:23am UTC](https://forum.ansible.com/t/looking-for-advice-on-storing-connection-passwords/27955 "2018-07-06T09:23:39Z")

</div>

So we have some windows machines, and right now, we have this in our /etc/ansible/hosts file: \[windows:vars\] ansible\_connection=winrm ansible\_user=AdminAccount ansible\_password=AdminPassword ansible\_winrm\_transport=…

---

## [win\_copy between two network shares](https://forum.ansible.com/t/win-copy-between-two-network-shares/27970)

<div class="topic-metadata">

**Author:** [@ranjith\_ravi](https://forum.ansible.com/u/ranjith_ravi)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 8:49am UTC](https://forum.ansible.com/t/win-copy-between-two-network-shares/27970 "2018-07-06T08:49:57Z")

</div>

Hi, I want to copy a file from network share to another network share in ansible. But the problem is, i can able to pass credential for only one server using runas method. Need suggestion on this issue. Below is my pl…

---

## [Ansible + vmware](https://forum.ansible.com/t/ansible-vmware/27969)

<div class="topic-metadata">

**Author:** [@Konstantin\_R](https://forum.ansible.com/u/Konstantin_R)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 5:46am UTC](https://forum.ansible.com/t/ansible-vmware/27969 "2018-07-06T05:46:29Z")

</div>

Hello, Trying to solve a big task. We have a ton of Datacenters and Clusters inside. I need to create a playbook wich. Find VM by hostname Moves it to 1st ESXi host in cluster & specific storage. Thank you.

[Previous page](https://forum.ansible.com/latest.md?page=539)

[Next page](https://forum.ansible.com/latest.md?page=541)
