# Archives

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

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

**Page:** 299

---

## [pip install docker-compose](https://forum.ansible.com/t/pip-install-docker-compose/30084)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 13\
**Last updated:** [April 10, 2019, 8:29pm UTC](https://forum.ansible.com/t/pip-install-docker-compose/30084 "2019-04-10T20:29:38Z")

</div>

I seem to be having an issue when trying to run this playbook for building AWX. When I go to run the ansible playbook I get the following error: \` “ok: \[localhost\] =\> (item=environment.sh)”, “ok: \[localhost\] =\> (item…

---

## [Use Ansible template to pull out AWS AZ and subnet ID from a list of subnets.](https://forum.ansible.com/t/use-ansible-template-to-pull-out-aws-az-and-subnet-id-from-a-list-of-subnets/30089)

<div class="topic-metadata">

**Author:** [@Steve\_Button](https://forum.ansible.com/u/Steve_Button)\
**Replies:** 0\
**Last updated:** [April 10, 2019, 1:59pm UTC](https://forum.ansible.com/t/use-ansible-template-to-pull-out-aws-az-and-subnet-id-from-a-list-of-subnets/30089 "2019-04-10T13:59:36Z")

</div>

Been scratching my head with this one. Even digging into the jmespath docs, but really stuck. http://jmespath.org/specification.html#map I have a bunch of subnets, which I get back with :- name: Cluster create | Get…

---

## [Scaling AWX in a docker-compose/rancher installation](https://forum.ansible.com/t/scaling-awx-in-a-docker-compose-rancher-installation/30046)

<div class="topic-metadata">

**Author:** [@pahl](https://forum.ansible.com/u/pahl)\
**Replies:** 13\
**Last updated:** [April 10, 2019, 10:39am UTC](https://forum.ansible.com/t/scaling-awx-in-a-docker-compose-rancher-installation/30046 "2019-04-10T10:39:42Z")

</div>

Helllo, as we were using rancher for managing our dockerized services we also used it for setting up AWX. Fortunately there is an AWX template in the rancher community catalog which is mainly based on the docker-compose…

---

## [Windows server luns path checks availability.](https://forum.ansible.com/t/windows-server-luns-path-checks-availability/30088)

<div class="topic-metadata">

**Author:** [@a.srini](https://forum.ansible.com/u/a.srini)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 10:35am UTC](https://forum.ansible.com/t/windows-server-luns-path-checks-availability/30088 "2019-04-10T10:35:22Z")

</div>

Hi All, I am seeking for an help from the experts in this forum, if someone can help me and suggest on my task. I would like to create a play book for windows servers (2008 R2 standard/2012 Standard/ 2016 Standard) tha…

---

## [How to capture/filter stdout\_lines](https://forum.ansible.com/t/how-to-capture-filter-stdout-lines/30087)

<div class="topic-metadata">

**Author:** [@Sebastian\_Meyer](https://forum.ansible.com/u/Sebastian_Meyer)\
**Replies:** 0\
**Last updated:** [April 10, 2019, 5:46am UTC](https://forum.ansible.com/t/how-to-capture-filter-stdout-lines/30087 "2019-04-10T05:46:56Z")

</div>

Stdout\_lines that I get contains strings , json in different lines. I want to capture the last line and copy those contents to a a new Json file. How do I capture the last line from the registered variable. I tried t…

---

## [help me - error: Filespec must match the canonical format: \[\[namespace/\]pod:\]file/path](https://forum.ansible.com/t/help-me-error-filespec-must-match-the-canonical-format-namespace-pod-file-path/30081)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 5:31am UTC](https://forum.ansible.com/t/help-me-error-filespec-must-match-the-canonical-format-namespace-pod-file-path/30081 "2019-04-10T05:31:18Z")

</div>

Hello All, Need your help on below issue. I am trying to run kubernetes command on a remote host using ansible. This command works when directly run on a remote host. ======\> kubectl cp /etc/passwd bus-service/ssh-ju…

---

## [Ansible having an issue when we pass dictionary as extra variable on centos machine](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-on-centos-machine/30086)

<div class="topic-metadata">

**Author:** [@Krishna\_G](https://forum.ansible.com/u/Krishna_G)\
**Replies:** 3\
**Last updated:** [April 9, 2019, 10:03pm UTC](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-on-centos-machine/30086 "2019-04-09T22:03:00Z")

</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 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…

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

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