# Latest

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

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

**Page:** 470

---

## [Set jinja2\_native at play level?](https://forum.ansible.com/t/set-jinja2-native-at-play-level/30000)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 4\
**Last updated:** [April 9, 2019, 9:45pm UTC](https://forum.ansible.com/t/set-jinja2-native-at-play-level/30000 "2019-04-09T21:45:53Z")

</div>

Hi I'm in a situation where I have a role that relies on ANSIBLE\_JINJA2\_NATIVE=True. However, setting this option in my ansible.cfg is causing breakage in many older playbooks. Is there a way to configure this behav…

---

## [man pages showing keywords?](https://forum.ansible.com/t/man-pages-showing-keywords/29985)

<div class="topic-metadata">

**Author:** [@Jason\_Amato](https://forum.ansible.com/u/Jason_Amato)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 9:15pm UTC](https://forum.ansible.com/t/man-pages-showing-keywords/29985 "2019-04-09T21:15:04Z")

</div>

Is there a list of all keywords in the linux man pages somewhere ?

---

## [Ansible having an issue when we pass dictionary as extra variable or define in the variable file](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-or-define-in-the-variable-file/30085)

<div class="topic-metadata">

**Author:** [@Krishna\_G](https://forum.ansible.com/u/Krishna_G)\
**Replies:** 0\
**Last updated:** [April 9, 2019, 8:19pm UTC](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-or-define-in-the-variable-file/30085 "2019-04-09T20:19:21Z")

</div>

Local Machine: Ansible version: 2.4.1.0python version = 2.7.10 Remote Redhat Machine: Ansible version: 2.7.7 Python: 2.7.5 i have ansible running on my local machine(MAC), when i pass extra varibale as map it’s read…

---

## [Set ansible\_python\_interpreter at Task level?](https://forum.ansible.com/t/set-ansible-python-interpreter-at-task-level/29983)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 4\
**Last updated:** [April 9, 2019, 2:47pm UTC](https://forum.ansible.com/t/set-ansible-python-interpreter-at-task-level/29983 "2019-04-09T14:47:11Z")

</div>

Is there a way to do this? I have a playbook with two tasks. The first task uses Yum module (and python 2 interpreter). The next task uses aws\_s3 module (and python3 interpreter), but fails because the playbook is still …

---

## [Create custom facts in windows](https://forum.ansible.com/t/create-custom-facts-in-windows/30083)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [April 9, 2019, 2:04pm UTC](https://forum.ansible.com/t/create-custom-facts-in-windows/30083 "2019-04-09T14:04:38Z")

</div>

Hi, I need create custom facts in windows, but where directory create in windows for customs facts? How set path custom facts in windows in ansible?

---

## [Variable substitution in meta/main.yml](https://forum.ansible.com/t/variable-substitution-in-meta-main-yml/29193)

<div class="topic-metadata">

**Author:** [@Lee\_Connell](https://forum.ansible.com/u/Lee_Connell)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 1:32pm UTC](https://forum.ansible.com/t/variable-substitution-in-meta-main-yml/29193 "2019-04-09T13:32:55Z")

</div>

Hi all, I am looking to use variable substitution in meta/main.yml and it doesn’t seem to be working, at least on 2.4.2. Is this a supported feature in any of the newer versions? My use case is I have one “common” role …

---

## [Ansible modules copy/template errors for Linux 5 hosts using python26 ,python binding libselinux-python needed](https://forum.ansible.com/t/ansible-modules-copy-template-errors-for-linux-5-hosts-using-python26-python-binding-libselinux-python-needed/29988)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 8:49am UTC](https://forum.ansible.com/t/ansible-modules-copy-template-errors-for-linux-5-hosts-using-python26-python-binding-libselinux-python-needed/29988 "2019-04-09T08:49:42Z")

</div>

Hello Ladies & Gentlemen, We have some 50 odd linux 5 hosts, and to manage that we use ansible. Problem :- Ansible modules copy/template errors for Linux 5 hosts using python26 ,python binding libselinux-python needed …

---

## [RDS DB instance and EC2 security group are in different VPCs](https://forum.ansible.com/t/rds-db-instance-and-ec2-security-group-are-in-different-vpcs/30080)

<div class="topic-metadata">

**Author:** [@Ian\_Williamson](https://forum.ansible.com/u/Ian_Williamson)\
**Replies:** 0\
**Last updated:** [April 9, 2019, 12:36am UTC](https://forum.ansible.com/t/rds-db-instance-and-ec2-security-group-are-in-different-vpcs/30080 "2019-04-09T00:36:43Z")

</div>

I am trying to create an RDS MySQL instance in AWS using the Ansible rds module. It works fine if I do not provide subnet or SG parameters. it will deploys into the default VPC. However I need to be able to define the V…

---

## [recovering (machine) ssh key/passwd](https://forum.ansible.com/t/recovering-machine-ssh-key-passwd/30079)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 0\
**Last updated:** [April 8, 2019, 8:24pm UTC](https://forum.ansible.com/t/recovering-machine-ssh-key-passwd/30079 "2019-04-08T20:24:28Z")

</div>

Hi, I have a situation where one of the Machine Keys needs to be used outside of tower, however backup copy of that key is lost. Is there a way to recover Machine key with it's password from AWX?

---

## [Execut playbook host after host](https://forum.ansible.com/t/execut-playbook-host-after-host/30077)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [April 8, 2019, 9:58am UTC](https://forum.ansible.com/t/execut-playbook-host-after-host/30077 "2019-04-08T09:58:39Z")

</div>

Hi all, I have my principal playbook with this content : hosts: all become: no gather\_facts: no roles: role I have on file with content : my\_host\_1 ansible\_user: my\_user my\_host\_2 ansible\_user: my\_user I want t…

---

## [how to access debug  stdout variable](https://forum.ansible.com/t/how-to-access-debug-stdout-variable/30051)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 10\
**Last updated:** [April 8, 2019, 5:27am UTC](https://forum.ansible.com/t/how-to-access-debug-stdout-variable/30051 "2019-04-08T05:27:15Z")

</div>

playbook:- task:- name: Deploying PCC-test hosts: pulp gather\_facts: true vars\_files: /etc/ansible/inventories/group\_vars/common.yaml vars: rpmsearch: true rpmname: mobi-auth-manager-5.42.0-201903291228.ed4d6a0.no…

---

## [multiple playbooks in one git repository](https://forum.ansible.com/t/multiple-playbooks-in-one-git-repository/30073)

<div class="topic-metadata">

**Author:** [@Dan\_Steffen](https://forum.ansible.com/u/Dan_Steffen)\
**Replies:** 1\
**Last updated:** [April 8, 2019, 3:36am UTC](https://forum.ansible.com/t/multiple-playbooks-in-one-git-repository/30073 "2019-04-08T03:36:10Z")

</div>

Hello, yesterday I start playing around with awx and I already found out how to define credentials, projects and scm-sources but now I have the question is there a way to define multiple playbooks in one git-Repository …

---

## [ssh transport and windows](https://forum.ansible.com/t/ssh-transport-and-windows/30071)

<div class="topic-metadata">

**Author:** [@sergey.mihailov](https://forum.ansible.com/u/sergey.mihailov)\
**Replies:** 4\
**Last updated:** [April 7, 2019, 8:10am UTC](https://forum.ansible.com/t/ssh-transport-and-windows/30071 "2019-04-07T08:10:18Z")

</div>

Hello. I am aware of the support for SSH in Windows 2019 and Windows 10. I installed the OpenSSH in Windows 8.1 and tried to enter it. All is well. But if you turn on ssh transport in ansable, then nothing works …

---

## [purestorage sdk missing](https://forum.ansible.com/t/purestorage-sdk-missing/30055)

<div class="topic-metadata">

**Author:** [@Lucas\_Possamai](https://forum.ansible.com/u/Lucas_Possamai)\
**Replies:** 16\
**Last updated:** [April 7, 2019, 5:21am UTC](https://forum.ansible.com/t/purestorage-sdk-missing/30055 "2019-04-07T05:21:20Z")

</div>

Hi guys. When calling a playbook I get the following error: FAILED! =\> {“changed”: false, “msg”: “purestorage sdk is required for this module in volume”} Purestorage sdk is installed in my laptop (i’m running that loc…

---

## [regex\_replace filter](https://forum.ansible.com/t/regex-replace-filter/30075)

<div class="topic-metadata">

**Author:** [@Sri\_Krishna\_G](https://forum.ansible.com/u/Sri_Krishna_G)\
**Replies:** 1\
**Last updated:** [April 7, 2019, 5:13am UTC](https://forum.ansible.com/t/regex-replace-filter/30075 "2019-04-07T05:13:32Z")

</div>

I have a list of strings like : \` \[hosts\] 10.100.0.1 10.100.0.2 10.100.0.3 \` I am following the example under : https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_filters.html to “add “https://” prefix t…

---

## [cannot get this playbook to work with inventory file](https://forum.ansible.com/t/cannot-get-this-playbook-to-work-with-inventory-file/30076)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [April 6, 2019, 8:48pm UTC](https://forum.ansible.com/t/cannot-get-this-playbook-to-work-with-inventory-file/30076 "2019-04-06T20:48:36Z")

</div>

I am having an issue with ansible/vmware. Trying to clone vms from an inventory file and playbook inventory file: \[test-vms\] ans-test\[01:05\] ‘disk’=‘60’ ‘memory’=‘2048’ ‘cpucount’=‘1’ ‘datastore’=‘VOL1-TEST’ 'osid=‘wi…

---

## [\\e\[0m comapre this string in failed\_when condition](https://forum.ansible.com/t/e-0m-comapre-this-string-in-failed-when-condition/30057)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 5\
**Last updated:** [April 6, 2019, 10:08am UTC](https://forum.ansible.com/t/e-0m-comapre-this-string-in-failed-when-condition/30057 "2019-04-06T10:08:23Z")

</div>

Hello Team, When i was checking for string comparison in failed\_when condition. the ansible task does not give any output if search is not found. but it will print stdout variable as stdout: “\\e\[0m” But when i try to …

---

## [failed\_when not working for empty sting output in task output](https://forum.ansible.com/t/failed-when-not-working-for-empty-sting-output-in-task-output/30050)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 18\
**Last updated:** [April 6, 2019, 10:08am UTC](https://forum.ansible.com/t/failed-when-not-working-for-empty-sting-output-in-task-output/30050 "2019-04-06T10:08:09Z")

</div>

playbook:-

---

## [multiple instance for AWX instalation (HA)](https://forum.ansible.com/t/multiple-instance-for-awx-instalation-ha/26405)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 35\
**Last updated:** [April 6, 2019, 4:25am UTC](https://forum.ansible.com/t/multiple-instance-for-awx-instalation-ha/26405 "2019-04-06T04:25:45Z")

</div>

How can i install a high available version of AWX? I want to test a fail over scenario where the current installation server is down, but i should be able to access to another instance. Any tip?

---

## [How to make Ansible Tasks work with Packer](https://forum.ansible.com/t/how-to-make-ansible-tasks-work-with-packer/30069)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 3\
**Last updated:** [April 5, 2019, 10:21pm UTC](https://forum.ansible.com/t/how-to-make-ansible-tasks-work-with-packer/30069 "2019-04-05T22:21:45Z")

</div>

Hello, I’m trying to use Ansible as a provisioner with Packer. I have a playbook with tasks that: -create a local directory (win\_file) -download a file from s3 (aws\_s3) -run windows updates (win\_updates) It works fi…

---

## [email notification not working for AWX](https://forum.ansible.com/t/email-notification-not-working-for-awx/30045)

<div class="topic-metadata">

**Author:** [@RC1](https://forum.ansible.com/u/RC1)\
**Replies:** 3\
**Last updated:** [April 5, 2019, 7:14pm UTC](https://forum.ansible.com/t/email-notification-not-working-for-awx/30045 "2019-04-05T19:14:27Z")

</div>

Hi , I have configured job execution start/finished status to be sent via email (local host) I have configured SMTP server with the following options - Postfix config file “main” queue\_directory = /var/spool/postfix …

---

## [New Ansible release 2.7.10 and 2.6.16](https://forum.ansible.com/t/new-ansible-release-2-7-10-and-2-6-16/30066)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 2\
**Last updated:** [April 5, 2019, 5:13pm UTC](https://forum.ansible.com/t/new-ansible-release-2-7-10-and-2-6-16/30066 "2019-04-05T17:13:28Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.7.10 and 2.6.16 is now available! How do you get it?

---

## [Using AWX over https](https://forum.ansible.com/t/using-awx-over-https/30060)

<div class="topic-metadata">

**Author:** [@callmeshawn](https://forum.ansible.com/u/callmeshawn)\
**Replies:** 3\
**Last updated:** [April 5, 2019, 3:41pm UTC](https://forum.ansible.com/t/using-awx-over-https/30060 "2019-04-05T15:41:36Z")

</div>

Hello, There was a thread from 9/17 where I believe this question was asked (https://groups.google.com/forum/#!searchin/awx-project/enable$20ssl|sort:date/awx-project/PXjmJiw93lg/uLiVJ1\_8BAAJ) If I understand the answe…

---

## [Ansible dictionary or local facts for blue-green deployment](https://forum.ansible.com/t/ansible-dictionary-or-local-facts-for-blue-green-deployment/30070)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 0\
**Last updated:** [April 5, 2019, 1:49pm UTC](https://forum.ansible.com/t/ansible-dictionary-or-local-facts-for-blue-green-deployment/30070 "2019-04-05T13:49:51Z")

</div>

I’m working on a kubernetes blue green deployment on Ansible. I know this would probably be easier with Terraform, but we are not using it :S. The variables I’m getting from the requestor are: Application Name Ap…

---

## [var for --ask-pass ?](https://forum.ansible.com/t/var-for-ask-pass/30056)

<div class="topic-metadata">

**Author:** [@sergey.mihailov](https://forum.ansible.com/u/sergey.mihailov)\
**Replies:** 8\
**Last updated:** [April 5, 2019, 12:15pm UTC](https://forum.ansible.com/t/var-for-ask-pass/30056 "2019-04-05T12:15:57Z")

</div>

I start playbook : ansible-playbook win\_install\_ascon.yml --ask-pass define in playbook: … ansible\_become\_pass: “{{ remote\_pass }}” … OUT: … FAILED! =\> {“msg”: “The field ‘become\_pass’ has an invalid value, which …

---

## [list containing any item of another list](https://forum.ansible.com/t/list-containing-any-item-of-another-list/30054)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 1\
**Last updated:** [April 5, 2019, 11:04am UTC](https://forum.ansible.com/t/list-containing-any-item-of-another-list/30054 "2019-04-05T11:04:14Z")

</div>

Hi, wondering if there is any cleaner way to see if two lists have 1 or more intersecting values? the following works for me returns true {{ \[‘value1’, ‘value2’\] | intersect(\[‘value1’, ‘value2’\]) | length \> 0 }} retu…

---

## [Ansible winrm for non domain joined devices and domain joined](https://forum.ansible.com/t/ansible-winrm-for-non-domain-joined-devices-and-domain-joined/30068)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 2\
**Last updated:** [April 5, 2019, 9:58am UTC](https://forum.ansible.com/t/ansible-winrm-for-non-domain-joined-devices-and-domain-joined/30068 "2019-04-05T09:58:45Z")

</div>

We use a lot of windows devices. They are installed with the windows deployment toolkit and after that i want to run ansible playbooks on it to join domain and some other settings. Which winrm authentication can we best…

---

## [open(module, 'wb') SyntaxError for raw module in ansible-playbook](https://forum.ansible.com/t/open-module-wb-syntaxerror-for-raw-module-in-ansible-playbook/30062)

<div class="topic-metadata">

**Author:** [@Henry\_Iracheta](https://forum.ansible.com/u/Henry_Iracheta)\
**Replies:** 3\
**Last updated:** [April 4, 2019, 10:04pm UTC](https://forum.ansible.com/t/open-module-wb-syntaxerror-for-raw-module-in-ansible-playbook/30062 "2019-04-04T22:04:33Z")

</div>

I am trying to use Ansible on a remote host that has a version of Python 2.4.3 installed. My understanding is that a more recent version of Python is required to properly use Ansible; however, I should be able to use th…

---

## [ansible uri and body format](https://forum.ansible.com/t/ansible-uri-and-body-format/30058)

<div class="topic-metadata">

**Author:** [@wanexa77](https://forum.ansible.com/u/wanexa77)\
**Replies:** 2\
**Last updated:** [April 4, 2019, 8:35pm UTC](https://forum.ansible.com/t/ansible-uri-and-body-format/30058 "2019-04-04T20:35:18Z")

</div>

Here are my body’s model { “specs”: \[ { “name”: “test”, “id”: “7dcf2db8-858e-4c00-bbde-e0c5c734770c” } \] } trying to convert this last for uri module body\_format: json body: specs: id: “{{ item.0.uuid }}” n…

---

## [mysql\_db module issue](https://forum.ansible.com/t/mysql-db-module-issue/30067)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [April 4, 2019, 6:27pm UTC](https://forum.ansible.com/t/mysql-db-module-issue/30067 "2019-04-04T18:27:22Z")

</div>

Hello, I have an old task that works on an previous system but fail to work in the new system. I am certain it hasn’t changed through git log but I have updated ansible on control system. I don’t see other people raisin…

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

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