# Archives

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

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

**Page:** 245

---

## [mapping AWS 'Username' tag to ansible\_user inventory var?](https://forum.ansible.com/t/mapping-aws-username-tag-to-ansible-user-inventory-var/31683)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 3\
**Last updated:** [November 19, 2019, 4:28pm UTC](https://forum.ansible.com/t/mapping-aws-username-tag-to-ansible-user-inventory-var/31683 "2019-11-19T16:28:20Z")

</div>

Hi I'm using the ec2.py dynamic inventory, and this appears to work well. My deployment consists of several different distros, and so the ansible\_user is different across the instances. While instantiating from diffe…

---

## [AWX / SAML / OKTA ?](https://forum.ansible.com/t/awx-saml-okta/31684)

<div class="topic-metadata">

**Author:** [@Matt\_Barry](https://forum.ansible.com/u/Matt_Barry)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 4:17pm UTC](https://forum.ansible.com/t/awx-saml-okta/31684 "2019-11-19T16:17:58Z")

</div>

Hello, I’m implementing AWX and attempting to integrate single sign-on using Okta (okta.com). The SAML sign-on button redirects me to Okta correctly, but when I get bounced back I just hit the login page. It seems like …

---

## [Launch template in another template](https://forum.ansible.com/t/launch-template-in-another-template/31682)

<div class="topic-metadata">

**Author:** [@michal.misiak](https://forum.ansible.com/u/michal.misiak)\
**Replies:** 0\
**Last updated:** [November 19, 2019, 10:58am UTC](https://forum.ansible.com/t/launch-template-in-another-template/31682 "2019-11-19T10:58:23Z")

</div>

Hello everyone, I have a playbook which I check a lots of parameters of many systems and next I would like to send result of playbook to CSV file. When I used Ansible in console mode, I send result of playbook to file v…

---

## [Will Ansible work in case of Windows Jump Server?](https://forum.ansible.com/t/will-ansible-work-in-case-of-windows-jump-server/31677)

<div class="topic-metadata">

**Author:** [@pratik\_ghodekar](https://forum.ansible.com/u/pratik_ghodekar)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 9:47am UTC](https://forum.ansible.com/t/will-ansible-work-in-case-of-windows-jump-server/31677 "2019-11-19T09:47:17Z")

</div>

Hello, I wanted to know if we have Windows jump server instead or bastion server will Ansible work? if yes how can we achieve this

---

## [how to post different payload for different rest api using uri module in ansible playbook with loop](https://forum.ansible.com/t/how-to-post-different-payload-for-different-rest-api-using-uri-module-in-ansible-playbook-with-loop/31675)

<div class="topic-metadata">

**Author:** [@ahamed\_Sultan](https://forum.ansible.com/u/ahamed_Sultan)\
**Replies:** 1\
**Last updated:** [November 18, 2019, 5:30pm UTC](https://forum.ansible.com/t/how-to-post-different-payload-for-different-rest-api-using-uri-module-in-ansible-playbook-with-loop/31675 "2019-11-18T17:30:01Z")

</div>

Hi Team, I am new to ansible, could you help me how to post different payload for different rest api using uri module in ansible playbook with loop(to reduce code) Thanks in advance. Regards Ahamed

---

## [BECOME password:](https://forum.ansible.com/t/become-password/31645)

<div class="topic-metadata">

**Author:** [@Roy\_Wright](https://forum.ansible.com/u/Roy_Wright)\
**Replies:** 2\
**Last updated:** [November 18, 2019, 4:57pm UTC](https://forum.ansible.com/t/become-password/31645 "2019-11-18T16:57:35Z")

</div>

Howdy, I have a Jenkins job that SSHes to a VM that has ansible installed. The job creates an LXC container on the VM then populates the container with the test environment. Can some kind soul please point me to the ma…

---

## [Block and Rescue behavior question](https://forum.ansible.com/t/block-and-rescue-behavior-question/31659)

<div class="topic-metadata">

**Author:** [@mcronenworth](https://forum.ansible.com/u/mcronenworth)\
**Replies:** 5\
**Last updated:** [November 18, 2019, 3:00pm UTC](https://forum.ansible.com/t/block-and-rescue-behavior-question/31659 "2019-11-18T15:00:55Z")

</div>

Is a “rescue” in a “block” supposed to run at the very end of a play? The documentation and examples would lead you to believe that a rescue is supposed to happen immediately following a block failure. I am not seeing t…

---

## [Probleme ansible with build Jenkins](https://forum.ansible.com/t/probleme-ansible-with-build-jenkins/31672)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 1\
**Last updated:** [November 18, 2019, 1:20pm UTC](https://forum.ansible.com/t/probleme-ansible-with-build-jenkins/31672 "2019-11-18T13:20:36Z")

</div>

Hey, I know it’s a little bit gold but i have maven with component war with this file pom : http://maven.apache.org/xsd/maven-4.0.0.xsd"\> \<modelVersion\>4.0.0\</modelVersion\> \<groupId\>workflow\</groupId\> \<arti…

---

## [Running Ansible with Concourse](https://forum.ansible.com/t/running-ansible-with-concourse/31674)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [November 18, 2019, 12:54pm UTC](https://forum.ansible.com/t/running-ansible-with-concourse/31674 "2019-11-18T12:54:38Z")

</div>

Hi, I am trying to run ansible within Concourse, however when i am running i am only able to ping localhost. I cannot make passwordless login. I may be missing somewhere. Below are my steps:- I need some guidance as i a…

---

## [how to post different payload for different uri in ansible olaybook](https://forum.ansible.com/t/how-to-post-different-payload-for-different-uri-in-ansible-olaybook/31673)

<div class="topic-metadata">

**Author:** [@ahamed\_Sultan](https://forum.ansible.com/u/ahamed_Sultan)\
**Replies:** 0\
**Last updated:** [November 18, 2019, 11:58am UTC](https://forum.ansible.com/t/how-to-post-different-payload-for-different-uri-in-ansible-olaybook/31673 "2019-11-18T11:58:54Z")

</div>

Hi Team, I am new to ansible, I want to know how to post different payload for different uri in ansible playbook. Thanks for the help in advance. Regards Ahamed

---

## [Ansible V2.7 - kerberos: authGSSClientStep() failed:](https://forum.ansible.com/t/ansible-v2-7-kerberos-authgssclientstep-failed/30906)

<div class="topic-metadata">

**Author:** [@Sushena\_Parthasarath](https://forum.ansible.com/u/Sushena_Parthasarath)\
**Replies:** 7\
**Last updated:** [November 18, 2019, 6:03am UTC](https://forum.ansible.com/t/ansible-v2-7-kerberos-authgssclientstep-failed/30906 "2019-11-18T06:03:15Z")

</div>

Hi Team, we\`re using Ansible v 2.7, below python modules for kerberos. We have switched from basic to kerberos auth all playbooks are failing with below error Python (Kerberos) modules: kerberos 1.3.0 requests-kerber…

---

## [Ansible debug module wont show colorful output like shell echo](https://forum.ansible.com/t/ansible-debug-module-wont-show-colorful-output-like-shell-echo/31671)

<div class="topic-metadata">

**Author:** [@Nick1](https://forum.ansible.com/u/Nick1)\
**Replies:** 0\
**Last updated:** [November 17, 2019, 2:13am UTC](https://forum.ansible.com/t/ansible-debug-module-wont-show-colorful-output-like-shell-echo/31671 "2019-11-17T02:13:41Z")

</div>

My shell script echoes status in colorful texts. I used register variable to store the output. Used debug module to output it. But instead of colorful texts all it does is append like : “stdout\_lines”: \[ “\\u001b\[31mRed …

---

## [Issue in ansible playbook](https://forum.ansible.com/t/issue-in-ansible-playbook/31670)

<div class="topic-metadata">

**Author:** [@Narendra\_Patel](https://forum.ansible.com/u/Narendra_Patel)\
**Replies:** 1\
**Last updated:** [November 15, 2019, 10:38pm UTC](https://forum.ansible.com/t/issue-in-ansible-playbook/31670 "2019-11-15T22:38:42Z")

</div>

Hi, I’m new to Ansible and trying to write my first playbook. But i keep getting an error : fatal: \[mariadb-01.example.com\]: FAILED! =\> {“changed”: false, “msg”: “Failure talking to yum: Cannot find a valid baseurl for…

---

## [Updated ansible failed on checks](https://forum.ansible.com/t/updated-ansible-failed-on-checks/31666)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 5\
**Last updated:** [November 15, 2019, 7:37pm UTC](https://forum.ansible.com/t/updated-ansible-failed-on-checks/31666 "2019-11-15T19:37:16Z")

</div>

Hi all, After running ansible 2.9, I’m getting these errors: fatal: \[jjohnson-lx\]: FAILED! =\> {“msg”: “The conditional check ‘ansible\_distribution\_major\_version | version\_compare(‘6’, ‘=’)’ failed. The error was: templ…

---

## [What approach should I take with this loop?](https://forum.ansible.com/t/what-approach-should-i-take-with-this-loop/31663)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [November 15, 2019, 5:00pm UTC](https://forum.ansible.com/t/what-approach-should-i-take-with-this-loop/31663 "2019-11-15T17:00:37Z")

</div>

The following fails for sure, but you get the idea of what I am trying to do. How might I be able to loop this? Problem is with ‘searchme’ and probably trying to do something you can’t do \` name: Set fact based on hos…

---

## [archive:  "file.zip" does not exist](https://forum.ansible.com/t/archive-file-zip-does-not-exist/31664)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [November 15, 2019, 4:42pm UTC](https://forum.ansible.com/t/archive-file-zip-does-not-exist/31664 "2019-11-15T16:42:35Z")

</div>

I have the following: \` name: Compress reports archive: path: “{{ final\_location }}/{{ host }}\_reports” #dest: “{{ final\_location }}/{{ host }}\_reports.zip” format: zip \` It returns this: \` TASK \[LookingGlass …

---

## [TimeOut](https://forum.ansible.com/t/timeout/31662)

<div class="topic-metadata">

**Author:** [@Marc-antoine\_Desroch](https://forum.ansible.com/u/Marc-antoine_Desroch)\
**Replies:** 1\
**Last updated:** [November 15, 2019, 11:31am UTC](https://forum.ansible.com/t/timeout/31662 "2019-11-15T11:31:56Z")

</div>

Here’s my problem: I have to make a playbook to execute on a large range of servers but those servers can go down anytime, i can lose connection at any moment so i need ansible to be able to failed the job when the serv…

---

## [AWX upgrade path](https://forum.ansible.com/t/awx-upgrade-path/31669)

<div class="topic-metadata">

**Author:** [@mpunix](https://forum.ansible.com/u/mpunix)\
**Replies:** 0\
**Last updated:** [November 15, 2019, 10:54am UTC](https://forum.ansible.com/t/awx-upgrade-path/31669 "2019-11-15T10:54:37Z")

</div>

Hi, We are looking to upgrade the current AWX 2.0.1 version to the latest release. We use tower-cli to send and receive the data. Can we jump the release version from 2.0.1 to 8.0 or needs to be next release (ex: 3.0.1)…

---

## [Ansible strategy's host\_pinned not working as expected](https://forum.ansible.com/t/ansible-strategys-host-pinned-not-working-as-expected/31668)

<div class="topic-metadata">

**Author:** [@ben\_ra](https://forum.ansible.com/u/ben_ra)\
**Replies:** 0\
**Last updated:** [November 15, 2019, 10:43am UTC](https://forum.ansible.com/t/ansible-strategys-host-pinned-not-working-as-expected/31668 "2019-11-15T10:43:28Z")

</div>

Hi, we are using Ansible to update a flied of more than 60000 devices. Since linear or free strategy are taking a long time to finish depending on the batch size we define, we were looking for a faster strategy. I found…

---

## [AWX Kubernetes](https://forum.ansible.com/t/awx-kubernetes/31114)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Replies:** 10\
**Last updated:** [November 15, 2019, 9:54am UTC](https://forum.ansible.com/t/awx-kubernetes/31114 "2019-11-15T09:54:22Z")

</div>

Hello, I want to setup an Awx Ha environment using Kubernetes . Our Organization has Kubernetes and we want to leverage K8. Have few questions regarding the Ansible Playbook for awx . Does the playbook for K8 deploy…

---

## [include user details in the jobrun](https://forum.ansible.com/t/include-user-details-in-the-jobrun/31667)

<div class="topic-metadata">

**Author:** [@Konstantin1](https://forum.ansible.com/u/Konstantin1)\
**Replies:** 0\
**Last updated:** [November 15, 2019, 8:00am UTC](https://forum.ansible.com/t/include-user-details-in-the-jobrun/31667 "2019-11-15T08:00:02Z")

</div>

Hi Shan, AWX exposes the following variables: tower\_user\_email: The user email of the Tower user that started this job. This is not available for callback or scheduled jobs. tower\_user\_first\_name: The user’s first nam…

---

## [include user details in the jobrun](https://forum.ansible.com/t/include-user-details-in-the-jobrun/31665)

<div class="topic-metadata">

**Author:** [@Shankar\_Bala](https://forum.ansible.com/u/Shankar_Bala)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 10:46pm UTC](https://forum.ansible.com/t/include-user-details-in-the-jobrun/31665 "2019-11-14T22:46:51Z")

</div>

hi After triggering a job in AWX (login via ldap user) ., I would like to pass on few details (like the username) who triggered the job as an input to my playbook within the job and use it for some sorta of reporting… I…

---

## [Azure RM Inventory... Pull from all subscriptions in the Tenant.](https://forum.ansible.com/t/azure-rm-inventory-pull-from-all-subscriptions-in-the-tenant/31654)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 2\
**Last updated:** [November 14, 2019, 5:36pm UTC](https://forum.ansible.com/t/azure-rm-inventory-pull-from-all-subscriptions-in-the-tenant/31654 "2019-11-14T17:36:48Z")

</div>

Greetings, I’m working with AWX on Azure and while I can add each individual subscription as an inventory source into an inventory I would rather pull all VMs in all Subscriptions in the Tenant in one go. Has anyone el…

---

## [debug vars](https://forum.ansible.com/t/debug-vars/31661)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 2\
**Last updated:** [November 14, 2019, 4:15pm UTC](https://forum.ansible.com/t/debug-vars/31661 "2019-11-14T16:15:04Z")

</div>

Dear all, I would like to have the nRam and nCPU of this following output. How I can sort this output with a var? The following content of my result: debug: var: result.content ok: \[localhost\] =\> { “result.conten…

---

## [Attaching files with the Ansible Jira module](https://forum.ansible.com/t/attaching-files-with-the-ansible-jira-module/31660)

<div class="topic-metadata">

**Author:** [@Necati\_Karyeli](https://forum.ansible.com/u/Necati_Karyeli)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 3:25pm UTC](https://forum.ansible.com/t/attaching-files-with-the-ansible-jira-module/31660 "2019-11-14T15:25:57Z")

</div>

Hi, Does anyone has any experience with attaching files with the Ansible Jira module? I have tried the following but it returns HTTP Error 400 other operations like transition and comment are working fine name: ‘at…

---

## [Need to Extract data from the Ansible debug out put](https://forum.ansible.com/t/need-to-extract-data-from-the-ansible-debug-out-put/31652)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 7\
**Last updated:** [November 14, 2019, 1:25pm UTC](https://forum.ansible.com/t/need-to-extract-data-from-the-ansible-debug-out-put/31652 "2019-11-14T13:25:25Z")

</div>

Hi , I have an playbook for Vmware Powercli : tasks: name: Run PowerShellGet VM script command: pwsh /tmp/vcsa\_getVM.ps1 ignore\_errors: yes changed\_when: false register: powershell\_output\_getVM name: Debug Ge…

---

## [Multiple values in variable](https://forum.ansible.com/t/multiple-values-in-variable/31648)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 5\
**Last updated:** [November 14, 2019, 9:39am UTC](https://forum.ansible.com/t/multiple-values-in-variable/31648 "2019-11-14T09:39:07Z")

</div>

Hi guys, I have create a loop in my playbook to set multiple values for lvol and vg. How I can write my ansible-playbook command with multiple values in a variable? Example: ansible-playbook data-fs.yml -i inventory …

---

## [New Ansible releases 2.7.15, 2.8.7, and 2.9.1](https://forum.ansible.com/t/new-ansible-releases-2-7-15-2-8-7-and-2-9-1/31656)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 1:35am UTC](https://forum.ansible.com/t/new-ansible-releases-2-7-15-2-8-7-and-2-9-1/31656 "2019-11-14T01:35:08Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.7.15, 2.8.7, and 2.9.1 are now available! How do you get it?

---

## [New Ansible releases 2.7.15, 2.8.7, and 2.9.1](https://forum.ansible.com/t/new-ansible-releases-2-7-15-2-8-7-and-2-9-1/31655)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 1:34am UTC](https://forum.ansible.com/t/new-ansible-releases-2-7-15-2-8-7-and-2-9-1/31655 "2019-11-14T01:34:51Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.7.15, 2.8.7, and 2.9.1 are now available! How do you get it?

---

## [Parsing a csv file](https://forum.ansible.com/t/parsing-a-csv-file/31628)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [November 13, 2019, 10:46pm UTC](https://forum.ansible.com/t/parsing-a-csv-file/31628 "2019-11-13T22:46:26Z")

</div>

I would like to parse a CSV. I need the column with the header ‘ErrorMessage’. I am reading the variable and gathering the information, but I don’t know how to pull out the info I need form the results: \` name: Parse…

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

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