# Latest

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

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

**Page:** 543

---

## [Ansible execute code when Host is a part of of Group X](https://forum.ansible.com/t/ansible-execute-code-when-host-is-a-part-of-of-group-x/27926)

<div class="topic-metadata">

**Author:** [@VS1](https://forum.ansible.com/u/VS1)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 8:30pm UTC](https://forum.ansible.com/t/ansible-execute-code-when-host-is-a-part-of-of-group-x/27926 "2018-07-02T20:30:08Z")

</div>

Hello, I want to make a code that will execute on all my webserver but some part of my webserver i want to execute only on a specific machine from the webserver list ot when that machine is also part of group of \[mainws\]…

---

## [List of packages required for poroduction AWX setup](https://forum.ansible.com/t/list-of-packages-required-for-poroduction-awx-setup/27933)

<div class="topic-metadata">

**Author:** [@Bala1](https://forum.ansible.com/u/Bala1)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 6:53pm UTC](https://forum.ansible.com/t/list-of-packages-required-for-poroduction-awx-setup/27933 "2018-07-02T18:53:16Z")

</div>

Hello, I am newbie for awx installation, can you please give me list of packages required for awx like docker, docker-engine, docker-compose.

---

## [Inline vs template evaluation](https://forum.ansible.com/t/inline-vs-template-evaluation/27920)

<div class="topic-metadata">

**Author:** [@durist](https://forum.ansible.com/u/durist)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 6:46pm UTC](https://forum.ansible.com/t/inline-vs-template-evaluation/27920 "2018-07-02T18:46:22Z")

</div>

I’ve run into what seems like a weird inconsistency in the way templates are evaluated vs inline variables. I have a template file that contains this: {{ '{{' }}.Name{{ '}}' }} And the template is evaluated like this: …

---

## [Checking if a user exists](https://forum.ansible.com/t/checking-if-a-user-exists/21255)

<div class="topic-metadata">

**Author:** [@Paul\_Davies1](https://forum.ansible.com/u/Paul_Davies1)\
**Replies:** 6\
**Last updated:** [July 2, 2018, 6:06pm UTC](https://forum.ansible.com/t/checking-if-a-user-exists/21255 "2018-07-02T18:06:56Z")

</div>

Hi all Due to separation of concerns, our Ansible scripts cannot create the users we require for our scripts - this is done by another team after a server is created and prior to our run. How can we check that the user…

---

## [Create windows user with temporary password](https://forum.ansible.com/t/create-windows-user-with-temporary-password/27913)

<div class="topic-metadata">

**Author:** [@Vincent\_Mercier](https://forum.ansible.com/u/Vincent_Mercier)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 5:24pm UTC](https://forum.ansible.com/t/create-windows-user-with-temporary-password/27913 "2018-07-02T17:24:54Z")

</div>

Hi Ansible community, I’m wondering how to create Windows users with a temporary password. A common workflow is to create users with a temporary password, send the temporary password and force users to change their pas…

---

## [jinja2 warning when using "failed\_when" with a variable](https://forum.ansible.com/t/jinja2-warning-when-using-failed-when-with-a-variable/27895)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 4:14pm UTC](https://forum.ansible.com/t/jinja2-warning-when-using-failed-when-with-a-variable/27895 "2018-07-02T16:14:30Z")

</div>

Hello! I have the task below, which works absolutely fine, and errors out correctly as well. However, I get a WARNING any time I run the play. (I have a variable in the failed\_when line) name: Disable App ‘{{ currentA…

---

## [Multiple Checks via single task](https://forum.ansible.com/t/multiple-checks-via-single-task/27931)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 3:45pm UTC](https://forum.ansible.com/t/multiple-checks-via-single-task/27931 "2018-07-02T15:45:43Z")

</div>

Hi All, Request your help on how to perform the below check via a single task in ansible playbook Check whether the hostname is fully qualified domain name : hostname -f if exist then check Check the IP address of th…

---

## [Ansible logs](https://forum.ansible.com/t/ansible-logs/27929)

<div class="topic-metadata">

**Author:** [@Fatima\_Elfakih](https://forum.ansible.com/u/Fatima_Elfakih)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 2:50pm UTC](https://forum.ansible.com/t/ansible-logs/27929 "2018-07-02T14:50:16Z")

</div>

Hi, How can I disable writing logs in syslog and keep logs in stdout Thank you

---

## [ansible-galaxy looks for non-existent Python interpreter](https://forum.ansible.com/t/ansible-galaxy-looks-for-non-existent-python-interpreter/27923)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 1:54pm UTC](https://forum.ansible.com/t/ansible-galaxy-looks-for-non-existent-python-interpreter/27923 "2018-07-02T13:54:59Z")

</div>

I’m trying to install an Ansible role using ansible-galaxy but when I run the command it looks for a version of Python on a path that doesn’t exist: -bash: /usr/local/bin/ansible-galaxy: /usr/local/opt/python/bin/python…

---

## [Why is using args from variables considered unsave?](https://forum.ansible.com/t/why-is-using-args-from-variables-considered-unsave/23989)

<div class="topic-metadata">

**Author:** [@Michal\_Czeraszkiewic](https://forum.ansible.com/u/Michal_Czeraszkiewic)\
**Replies:** 9\
**Last updated:** [July 2, 2018, 12:56pm UTC](https://forum.ansible.com/t/why-is-using-args-from-variables-considered-unsave/23989 "2018-07-02T12:56:38Z")

</div>

I’m trying out this playbook: \`

---

## [MongoDB Lookup](https://forum.ansible.com/t/mongodb-lookup/25926)

<div class="topic-metadata">

**Author:** [@Marcelo\_Oliveira](https://forum.ansible.com/u/Marcelo_Oliveira)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 12:32pm UTC](https://forum.ansible.com/t/mongodb-lookup/25926 "2018-07-02T12:32:22Z")

</div>

Hello everybody, I am learning ansible through its official documentation and videos on youtube, but sadly I can’t get it working with its lookup-mongodb module as described at http://docs.ansible.com/ansible/latest/pla…

---

## [vmware-guest fail to deploying vm to vcenter](https://forum.ansible.com/t/vmware-guest-fail-to-deploying-vm-to-vcenter/27928)

<div class="topic-metadata">

**Author:** [@Umesh\_Gowda](https://forum.ansible.com/u/Umesh_Gowda)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 9:54am UTC](https://forum.ansible.com/t/vmware-guest-fail-to-deploying-vm-to-vcenter/27928 "2018-07-02T09:54:04Z")

</div>

hi All, Getting error below. Does it mandatory to mention the resource pool?. I am able to deploy vms without any issue if i enter the ESXI host name. If i enter the cluster name I am getting following below error. { …

---

## [How do I change my AWX page to Korean?](https://forum.ansible.com/t/how-do-i-change-my-awx-page-to-korean/27927)

<div class="topic-metadata">

**Author:** [@user33](https://forum.ansible.com/u/user33)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 5:16am UTC](https://forum.ansible.com/t/how-do-i-change-my-awx-page-to-korean/27927 "2018-07-02T05:16:08Z")

</div>

Python is an unknown Java developer … You need to change the AWX page to Korean. But I do not know where to start. Q1) Can I change the AWX to Korean? Q2) Why is it initialized when I reboot?

---

## [Problem Add MSA account to domain group using: win\_domain\_user model](https://forum.ansible.com/t/problem-add-msa-account-to-domain-group-using-win-domain-user-model/27925)

<div class="topic-metadata">

**Author:** [@lior\_hollander](https://forum.ansible.com/u/lior_hollander)\
**Replies:** 0\
**Last updated:** [July 1, 2018, 9:01am UTC](https://forum.ansible.com/t/problem-add-msa-account-to-domain-group-using-win-domain-user-model/27925 "2018-07-01T09:01:46Z")

</div>

Hey, can anybody tell me how can i add an MSA to a windows domain group? i tried with win\_domain\_user model but got the below error: “The password does not meet the length, complexity, or history requirement of the do…

---

## [nxos\_bgp\_af removes all other advertised networks when adding a new network to address-family #42136](https://forum.ansible.com/t/nxos-bgp-af-removes-all-other-advertised-networks-when-adding-a-new-network-to-address-family-42136/27924)

<div class="topic-metadata">

**Author:** [@Gabriel\_Flores](https://forum.ansible.com/u/Gabriel_Flores)\
**Replies:** 0\
**Last updated:** [July 1, 2018, 12:55am UTC](https://forum.ansible.com/t/nxos-bgp-af-removes-all-other-advertised-networks-when-adding-a-new-network-to-address-family-42136/27924 "2018-07-01T00:55:31Z")

</div>

I was running into an issue (#42136) where the networks you would try to add, would wipe out all other existing advertised networks. I believe it is safer to not automatically purge those networks and instead, have that …

---

## [Fetching file from remote server to github repository using Ansible script](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27922)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 0\
**Last updated:** [June 30, 2018, 5:22pm UTC](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27922 "2018-06-30T17:22:07Z")

</div>

Fetching file from remote server to github repository using Ansible script

---

## [Re-using set\_fact variable in other role](https://forum.ansible.com/t/re-using-set-fact-variable-in-other-role/27902)

<div class="topic-metadata">

**Author:** [@Paolo\_P](https://forum.ansible.com/u/Paolo_P)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 10:37am UTC](https://forum.ansible.com/t/re-using-set-fact-variable-in-other-role/27902 "2018-06-30T10:37:03Z")

</div>

Hello, I need to execute a role with a conditional based on a variable set on a different host/group. The variable is set doing a query on host db1 and a set\_fact : hosts: db1 tasks: name: Check for DB shell: psql …

---

## [How to use the task output as a listvar for another task](https://forum.ansible.com/t/how-to-use-the-task-output-as-a-listvar-for-another-task/27911)

<div class="topic-metadata">

**Author:** [@Guida\_Brito](https://forum.ansible.com/u/Guida_Brito)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 10:20am UTC](https://forum.ansible.com/t/how-to-use-the-task-output-as-a-listvar-for-another-task/27911 "2018-06-30T10:20:36Z")

</div>

Hi guys, Can you please help in these. If I have a task inside of a playbook that give the following result: \[ansible@ansible ~\]$ ansible node1 -m getent -a ‘database=group key=users split=“,”’ node1 | SUCCESS =\> { …

---

## [Ansible Galaxy Migration and Potential Disruption of Service](https://forum.ansible.com/t/ansible-galaxy-migration-and-potential-disruption-of-service/27906)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel1](https://forum.ansible.com/u/Timothy_Appnel1)\
**Replies:** 1\
**Last updated:** [June 30, 2018, 6:21am UTC](https://forum.ansible.com/t/ansible-galaxy-migration-and-potential-disruption-of-service/27906 "2018-06-30T06:21:59Z")

</div>

This weekend starting Saturday at 12AM EDT, we will be migrating the Ansible Galaxy hub to new containerized infrastructure provided by Red Hat OpenShift Dedicated and in the process rolling out a modernized code base an…

---

## [Galaxy Upgrade and Maintenance Window](https://forum.ansible.com/t/galaxy-upgrade-and-maintenance-window/27916)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 1\
**Last updated:** [June 30, 2018, 5:36am UTC](https://forum.ansible.com/t/galaxy-upgrade-and-maintenance-window/27916 "2018-06-30T05:36:44Z")

</div>

The Ansible Galaxy site will be undergoing maintenance and an upgrade to version 3.0 starting this evening at 12:00 AM Eastern, 30 June. Be prepared for Galaxy to be unreachable for an hour or more while the upgrade tak…

---

## [ansible 2.5.4 installation rpm is missing keys](https://forum.ansible.com/t/ansible-2-5-4-installation-rpm-is-missing-keys/27919)

<div class="topic-metadata">

**Author:** [@Michael\_Roy](https://forum.ansible.com/u/Michael_Roy)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 8:55pm UTC](https://forum.ansible.com/t/ansible-2-5-4-installation-rpm-is-missing-keys/27919 "2018-06-29T20:55:30Z")

</div>

I am attempting to install ansible 2.5.4 using the rpm at https://releases.ansible.com/ansible/rpm/release/epel-7-x86\_64/ansible-2.5.4-1.el7.ans.noarch.rpm Although rpm installs ansible and it runs, rpm reports that it …

---

## [Error with SSH connection: Failed to connect to the host via ssh: mux\_client\_request\_session](https://forum.ansible.com/t/error-with-ssh-connection-failed-to-connect-to-the-host-via-ssh-mux-client-request-session/27918)

<div class="topic-metadata">

**Author:** [@Carlos\_Fuentealba](https://forum.ansible.com/u/Carlos_Fuentealba)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 6:06pm UTC](https://forum.ansible.com/t/error-with-ssh-connection-failed-to-connect-to-the-host-via-ssh-mux-client-request-session/27918 "2018-06-29T18:06:45Z")

</div>

Hello everybody, I’m using an AWX (container version) and everything works just fine, except for one specific connection. One node (client) is running Wind River Linux 5.0.1.41 (ERICSSON modified) and when i try to exe…

---

## [Rolling Update Batch Size Question](https://forum.ansible.com/t/rolling-update-batch-size-question/27912)

<div class="topic-metadata">

**Author:** [@muhammed](https://forum.ansible.com/u/muhammed)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 6:04pm UTC](https://forum.ansible.com/t/rolling-update-batch-size-question/27912 "2018-06-29T18:04:10Z")

</div>

The example in the documentation is as follows: \` - name: test play hosts: webservers serial: - 1 - 5 - "20%" \` With regards to the the last item (20%) - will this only perform actions on the remaining 20% …

---

## [Job fails with "Permission denied"](https://forum.ansible.com/t/job-fails-with-permission-denied/27915)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 5:04pm UTC](https://forum.ansible.com/t/job-fails-with-permission-denied/27915 "2018-06-29T17:04:31Z")

</div>

I’ve just set up AWX, and have followed various tutorials to try and create my first job. But, regardless of what I’ve tried, the job fails, with the following output: Identity added: /tmp/awx\_11\_LtlnJ0/credential\_2 (/t…

---

## [ETCD3 Module](https://forum.ansible.com/t/etcd3-module/27917)

<div class="topic-metadata">

**Author:** [@Victor\_Sartori](https://forum.ansible.com/u/Victor_Sartori)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 4:27pm UTC](https://forum.ansible.com/t/etcd3-module/27917 "2018-06-29T16:27:26Z")

</div>

Hi Folks, I’m looking on module etcd3 and I missed a way to get a stored data on Etcd using v3 api. So, I made a small change on module to support that (https://gist.github.com/vasartori/c2ec99d1a71d9cbcd84ed7269fe48c0…

---

## [Ansible Netscaler Module - Just Disable the service\_group](https://forum.ansible.com/t/ansible-netscaler-module-just-disable-the-service-group/27773)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 4:14pm UTC](https://forum.ansible.com/t/ansible-netscaler-module-just-disable-the-service-group/27773 "2018-06-29T16:14:46Z")

</div>

Hello All, Could you please help me to code this requirement. I am trying to create a playbook which does pre\_task, task and post\_task pre\_task Disable a service\_group containing 6 servers in netscaler. Task Deploy …

---

## [remote user and become\_user is different, after ssh, become\_user should work.](https://forum.ansible.com/t/remote-user-and-become-user-is-different-after-ssh-become-user-should-work/27882)

<div class="topic-metadata">

**Author:** [@cemohanbabu](https://forum.ansible.com/u/cemohanbabu)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 11:11am UTC](https://forum.ansible.com/t/remote-user-and-become-user-is-different-after-ssh-become-user-should-work/27882 "2018-06-29T11:11:32Z")

</div>

I’m confused with the use of become\_user. With config given in OP: the work that ansible will do is put into a python script on the remote machine, something like: /tmp/ansible…/setup.py that directory and file is cre…

---

## [Ansible 2.6.0 Final is available](https://forum.ansible.com/t/ansible-2-6-0-final-is-available/27908)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 8:26am UTC](https://forum.ansible.com/t/ansible-2-6-0-final-is-available/27908 "2018-06-29T08:26:57Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.0 is now available! How do you get it?

---

## [take backup from httpd server folder / httpd.conf file into github repo backup folder on every changes](https://forum.ansible.com/t/take-backup-from-httpd-server-folder-httpd-conf-file-into-github-repo-backup-folder-on-every-changes/27910)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 7:43am UTC](https://forum.ansible.com/t/take-backup-from-httpd-server-folder-httpd-conf-file-into-github-repo-backup-folder-on-every-changes/27910 "2018-06-29T07:43:23Z")

</div>

Hi I would like to take backup from remote httpd server folder / httpd.conf file into remote github repo backup folder on every changes. Please do let me know how to do it. I tried with copy and synchronized module but…

---

## [Anybody interested in an Ansible Lookup Plugin for Thycotic Secret Server Professional?](https://forum.ansible.com/t/anybody-interested-in-an-ansible-lookup-plugin-for-thycotic-secret-server-professional/27899)

<div class="topic-metadata">

**Author:** [@mscholl.corp](https://forum.ansible.com/u/mscholl.corp)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 6:10am UTC](https://forum.ansible.com/t/anybody-interested-in-an-ansible-lookup-plugin-for-thycotic-secret-server-professional/27899 "2018-06-29T06:10:00Z")

</div>

Hi, I just posted this https://groups.google.com/d/msg/ansible-devel/\_ILFeWSzW8o/4yfTiapMBgAJ in order to ask if there is any interest in an Ansible Lookup Plugin for Thycotic Secret Server Professional before I realis…

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

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