# Latest

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

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

**Page:** 364

---

## [Connect awx to postgres database on localhost](https://forum.ansible.com/t/connect-awx-to-postgres-database-on-localhost/33290)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 2\
**Last updated:** [July 3, 2020, 12:32pm UTC](https://forum.ansible.com/t/connect-awx-to-postgres-database-on-localhost/33290 "2020-07-03T12:32:19Z")

</div>

Hello All, Just cloned awx-13.0.0. I decided I want to connect awx to a postgres database. I am running RHEL 7, with ansible 2.9, python3, etc, docker-compose 1.26. I have postgres up and running, I created a database…

---

## [How to skip and move on to the next task if a condition is met?](https://forum.ansible.com/t/how-to-skip-and-move-on-to-the-next-task-if-a-condition-is-met/33317)

<div class="topic-metadata">

**Author:** [@Amir\_Alavi](https://forum.ansible.com/u/Amir_Alavi)\
**Replies:** 1\
**Last updated:** [July 3, 2020, 12:31pm UTC](https://forum.ansible.com/t/how-to-skip-and-move-on-to-the-next-task-if-a-condition-is-met/33317 "2020-07-03T12:31:04Z")

</div>

Hi all, Newbie here - I’m writing a playbook that I’m running a shell script and if the output is X then I want to skip the task and move on to the next task. How do I do this? Thanks

---

## [Run Command On Each Host](https://forum.ansible.com/t/run-command-on-each-host/33285)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 8\
**Last updated:** [July 3, 2020, 12:16pm UTC](https://forum.ansible.com/t/run-command-on-each-host/33285 "2020-07-03T12:16:52Z")

</div>

Hi Team, I want to run multiple commands in shell module, but i want to run 1st command on each hosts than move to next command on each host than third and so on, so that i can get output of same command together from a…

---

## [Unreachable: The Specified credentials were rejected by the server](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293)

<div class="topic-metadata">

**Author:** [@Cloud\_Arch](https://forum.ansible.com/u/Cloud_Arch)\
**Replies:** 2\
**Last updated:** [July 3, 2020, 11:30am UTC](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293 "2020-07-03T11:30:48Z")

</div>

I setup my new AWX which is running on RHEL 8 and then when I try to run a sample job to my windows machine it is saying "Unreachable: The Specified credentials were rejected by the server ", can anyone please suggest wh…

---

## [project update depends on inventory?](https://forum.ansible.com/t/project-update-depends-on-inventory/33311)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 1\
**Last updated:** [July 3, 2020, 11:24am UTC](https://forum.ansible.com/t/project-update-depends-on-inventory/33311 "2020-07-03T11:24:04Z")

</div>

Hi! I am trying to create a project and getting the following when I try to “Get latest SCM revision”. Anyone have any idea why updating git would require an inventory? Any idea what I could be doing wrong? Thanks!!! Id…

---

## [Stdout Option for AWX Workflow Jobs](https://forum.ansible.com/t/stdout-option-for-awx-workflow-jobs/33308)

<div class="topic-metadata">

**Author:** [@Aneesh](https://forum.ansible.com/u/Aneesh)\
**Replies:** 1\
**Last updated:** [July 3, 2020, 11:11am UTC](https://forum.ansible.com/t/stdout-option-for-awx-workflow-jobs/33308 "2020-07-03T11:11:59Z")

</div>

Hi All Is there any API available in AWX for Getting Stdout logs for a workflow job . Is there any way to get combined logs of all job in the workflow job . Thanks Aneesh

---

## [Using Ansible on cloned VMs?](https://forum.ansible.com/t/using-ansible-on-cloned-vms/33316)

<div class="topic-metadata">

**Author:** [@Victor\_Hooi](https://forum.ansible.com/u/Victor_Hooi)\
**Replies:** 1\
**Last updated:** [July 3, 2020, 11:06am UTC](https://forum.ansible.com/t/using-ansible-on-cloned-vms/33316 "2020-07-03T11:06:46Z")

</div>

We have a small VM cluster we use for testing (Proxmox, with KVM VMs). We’ve created a library of KVM templates, that users can clone to new VMs. Each clone has a unique MAC address, and SMBIOS ID, but is otherwise ide…

---

## [Develop IaC/Packer definition for AWX Server](https://forum.ansible.com/t/develop-iac-packer-definition-for-awx-server/33315)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 10:18am UTC](https://forum.ansible.com/t/develop-iac-packer-definition-for-awx-server/33315 "2020-07-03T10:18:23Z")

</div>

Hello guys, I would like to check if you know any info/repo regarding this topic? I need to design and test an Infrastructure as Code, preferably HashiCorp Packer, a definition that allows easy and consistent deploymen…

---

## [extra environment variables usage in playbooks](https://forum.ansible.com/t/extra-environment-variables-usage-in-playbooks/33314)

<div class="topic-metadata">

**Author:** [@Gregory\_Storme](https://forum.ansible.com/u/Gregory_Storme)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 9:14am UTC](https://forum.ansible.com/t/extra-environment-variables-usage-in-playbooks/33314 "2020-07-03T09:14:43Z")

</div>

Hi, Using AWX 11.2.0 I have declared a variable awx\_env under the “extra environment variables” under /settings/jobs: \` { “HOME”: “/var/lib/awx”, “awx\_env”: “staging”, “ANSIBLE\_SSH\_ARGS”: “-o UserKnownHostsFile=/d…

---

## [Nxos\_config module issue](https://forum.ansible.com/t/nxos-config-module-issue/33310)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [July 3, 2020, 8:28am UTC](https://forum.ansible.com/t/nxos-config-module-issue/33310 "2020-07-03T08:28:58Z")

</div>

Hi Team

---

## [from a list from list of dictionaries](https://forum.ansible.com/t/from-a-list-from-list-of-dictionaries/33312)

<div class="topic-metadata">

**Author:** [@Sivaraman\_P](https://forum.ansible.com/u/Sivaraman_P)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 5:20pm UTC](https://forum.ansible.com/t/from-a-list-from-list-of-dictionaries/33312 "2020-07-02T17:20:09Z")

</div>

Hi all, please help to form a list, I have a register variable as below, \[ { "application": { name: "abc" } }, { "service": { "name": "def" } }, { "service": { "name": "ghi" } }, } { "application"…

---

## [Regular Expression in ANSIBLE](https://forum.ansible.com/t/regular-expression-in-ansible/33303)

<div class="topic-metadata">

**Author:** [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Replies:** 3\
**Last updated:** [July 2, 2020, 1:48pm UTC](https://forum.ansible.com/t/regular-expression-in-ansible/33303 "2020-07-02T13:48:18Z")

</div>

Hello - is this log file located in the server where Ansible is installed or remote server ?

---

## [Trouble with quoting variables](https://forum.ansible.com/t/trouble-with-quoting-variables/33306)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 1:21pm UTC](https://forum.ansible.com/t/trouble-with-quoting-variables/33306 "2020-07-02T13:21:12Z")

</div>

I have a shell command with json on it. I need some assistance, please, in quoting it properly. This is an attempt to execute an aws command-line command. I realize that there are a massive number of aws aws modules, bu…

---

## [Mapping Multiple attributes from Ansible query](https://forum.ansible.com/t/mapping-multiple-attributes-from-ansible-query/33307)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 12:26pm UTC](https://forum.ansible.com/t/mapping-multiple-attributes-from-ansible-query/33307 "2020-07-02T12:26:33Z")

</div>

Hi all, I need to try to map multiple attributes from an ACI vrf query output. \`

---

## [How to extract  information from string](https://forum.ansible.com/t/how-to-extract-information-from-string/33301)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 4\
**Last updated:** [July 2, 2020, 11:56am UTC](https://forum.ansible.com/t/how-to-extract-information-from-string/33301 "2020-07-02T11:56:06Z")

</div>

Try this (given the string is in variable "my\_data") - set\_fact: my\_agent: "{{ my\_agent|default({})| combine({my\_key: my\_val}) }}" loop: "{{ my\_data.splitlines()| …

---

## [Reboot servers strategy.](https://forum.ansible.com/t/reboot-servers-strategy/33276)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 4\
**Last updated:** [July 2, 2020, 11:19am UTC](https://forum.ansible.com/t/reboot-servers-strategy/33276 "2020-07-02T11:19:40Z")

</div>

Hi Guys, I have periodic updates on all RedHat servers at the same time, I need to create a strategy to restart my clusters because I can’t stop my application and services. How to create the reboot strategy server-per…

---

## [Add Additional Ip Addresses to an interface.](https://forum.ansible.com/t/add-additional-ip-addresses-to-an-interface/33283)

<div class="topic-metadata">

**Author:** [@Paul\_Robinson](https://forum.ansible.com/u/Paul_Robinson)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 11:10am UTC](https://forum.ansible.com/t/add-additional-ip-addresses-to-an-interface/33283 "2020-07-02T11:10:48Z")

</div>

Firstly just to say I’m new to ansible and learning as I go along. I have configure a playbook that clones 3 virtual machines using the following inventory file which has a few custom variables added for my needs ansib…

---

## [bwrap must be installed setuid on such systems.](https://forum.ansible.com/t/bwrap-must-be-installed-setuid-on-such-systems/33302)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 6:51am UTC](https://forum.ansible.com/t/bwrap-must-be-installed-setuid-on-such-systems/33302 "2020-07-02T06:51:28Z")

</div>

Hi! The awx is working fine and we use 12.0.0 then all of sudden the project sync with bitbucket is not working. Got below error: bwrap: Creating new namespace failed, likely because the kernel does not support user na…

---

## [$PATH](https://forum.ansible.com/t/path/33296)

<div class="topic-metadata">

**Author:** [@Tom\_De\_Blende](https://forum.ansible.com/u/Tom_De_Blende)\
**Replies:** 2\
**Last updated:** [July 2, 2020, 5:55am UTC](https://forum.ansible.com/t/path/33296 "2020-07-02T05:55:16Z")

</div>

Ok, this one I find very confusing :slight\_smile: aws executable is in /usr/local/bin. That is being added to $PATH via /etc/bashrc So the first command fails, which would lead me to believe /usr/local/bin is not in …

---

## [Ansible Contributor Summit 9 (Virtual)](https://forum.ansible.com/t/ansible-contributor-summit-9-virtual/33299)

<div class="topic-metadata">

**Author:** [@Carol\_Chen1](https://forum.ansible.com/u/Carol_Chen1)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 7:23pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-9-virtual/33299 "2020-07-01T19:23:50Z")

</div>

Hi everyone, The 9th Ansible Contributor Summit is happening in less than a week! It will be on Monday, July 8, from 11:00-19:00 UTC, and will be held online. For those unfamiliar with this event, the Ansible Contribut…

---

## [ansible varibals do not passing to roles that in include\_role](https://forum.ansible.com/t/ansible-varibals-do-not-passing-to-roles-that-in-include-role/33297)

<div class="topic-metadata">

**Author:** [@Meir\_Yanovich](https://forum.ansible.com/u/Meir_Yanovich)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 6:45pm UTC](https://forum.ansible.com/t/ansible-varibals-do-not-passing-to-roles-that-in-include-role/33297 "2020-07-01T18:45:16Z")

</div>

i have this ansible structure its part of large codebase : it seems that when running the main playbook the defaults/main.yml app\_type:game don’t pass on to the current\_version.yml and give error why it doesn’t use th…

---

## [Notification Failure due to to certificate verify error.](https://forum.ansible.com/t/notification-failure-due-to-to-certificate-verify-error/33294)

<div class="topic-metadata">

**Author:** [@Flavio\_Gobber](https://forum.ansible.com/u/Flavio_Gobber)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 2:52pm UTC](https://forum.ansible.com/t/notification-failure-due-to-to-certificate-verify-error/33294 "2020-07-01T14:52:25Z")

</div>

Hello, I need to send a notification with Webhook method, I have a webhook receiver wich use a SSL connection with a name with certificate signed by internal CA authority. When I try to send the notification I get the …

---

## [awx\_collection/tower\_credential target a specific credential](https://forum.ansible.com/t/awx-collection-tower-credential-target-a-specific-credential/33287)

<div class="topic-metadata">

**Author:** [@Joacim\_Martensson](https://forum.ansible.com/u/Joacim_Martensson)\
**Replies:** 8\
**Last updated:** [July 1, 2020, 12:25pm UTC](https://forum.ansible.com/t/awx-collection-tower-credential-target-a-specific-credential/33287 "2020-07-01T12:25:33Z")

</div>

Hi, Just started trying the awx\_collection. Using tower\_credential, is it possible target a specific credential other than by name? I have 2 credentials with the same name (in different organizations) and is getting …

---

## [\[Python API\] How to render jinja2 template from within python / retrieve list of variables for the currently executed play&task.](https://forum.ansible.com/t/python-api-how-to-render-jinja2-template-from-within-python-retrieve-list-of-variables-for-the-currently-executed-play-task/33292)

<div class="topic-metadata">

**Author:** [@Cukier](https://forum.ansible.com/u/Cukier)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 9:09am UTC](https://forum.ansible.com/t/python-api-how-to-render-jinja2-template-from-within-python-retrieve-list-of-variables-for-the-currently-executed-play-task/33292 "2020-07-01T09:09:19Z")

</div>

Recently I’ve been trying to mess a little with Ansible’s Python API (I am well aware it is not recommended, and python API is meant only for internal use, however…). My goal was to create a function that’s able to retr…

---

## [Task to modify an ansible host's ip-addr while connected](https://forum.ansible.com/t/task-to-modify-an-ansible-hosts-ip-addr-while-connected/33291)

<div class="topic-metadata">

**Author:** [@Momodou\_Fatty](https://forum.ansible.com/u/Momodou_Fatty)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 8:48am UTC](https://forum.ansible.com/t/task-to-modify-an-ansible-hosts-ip-addr-while-connected/33291 "2020-07-01T08:48:14Z")

</div>

I have a router/host: mgmt\_ip\_addr = 1.1.1.1 I use ansible to connect to this router/host My task is to apply a new configuration to this router. This new config will modify the mgmt\_ip\_addr of the host to 2.2.2.2 You …

---

## [Combine dictionaries based on a dictionary key value.](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33281)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 6:14am UTC](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33281 "2020-07-01T06:14:20Z")

</div>

Hi, a new lookup plugin was proposed for community.general which would help with this: https://github.com/ansible-collections/community.general/pull/263 We're currently trying to evaluate whether this plugin would be…

---

## [Unable to unarchive the openshift client](https://forum.ansible.com/t/unable-to-unarchive-the-openshift-client/33289)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 6:05pm UTC](https://forum.ansible.com/t/unable-to-unarchive-the-openshift-client/33289 "2020-06-30T18:05:39Z")

</div>

What do your playbook and inventory look like? Which version of ansible are you using? How do you invoke things?

---

## [Ansible unable to create $HOME/.ansible/tmp directory due to shell syntax error in RHEL 6.7](https://forum.ansible.com/t/ansible-unable-to-create-home-ansible-tmp-directory-due-to-shell-syntax-error-in-rhel-6-7/33271)

<div class="topic-metadata">

**Author:** [@Rishabh\_Kumar](https://forum.ansible.com/u/Rishabh_Kumar)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 6:03pm UTC](https://forum.ansible.com/t/ansible-unable-to-create-home-ansible-tmp-directory-due-to-shell-syntax-error-in-rhel-6-7/33271 "2020-06-30T18:03:36Z")

</div>

Hi, When I am trying to run ansible job from my host computer to remote server it fails with the following error logs - \` \<127.0.0.12\> ESTABLISH SSH CONNECTION FOR USER: ansibleuser \<127.0.0.12\> SSH: EXEC sshpass -d4…

---

## [LDAP Organization Mapping](https://forum.ansible.com/t/ldap-organization-mapping/33288)

<div class="topic-metadata">

**Author:** [@Alex\_Trifonov](https://forum.ansible.com/u/Alex_Trifonov)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 5:14pm UTC](https://forum.ansible.com/t/ldap-organization-mapping/33288 "2020-06-30T17:14:59Z")

</div>

Hello, I’m configuring LDAP authorization at the AWX (9.2.0) . Authorization passes, but mapping users to organizations based on LDAP groups does not work. When authorizing an LDAP user sn.ivanov, the following is wri…

---

## [Sync GLPI with AWX](https://forum.ansible.com/t/sync-glpi-with-awx/33286)

<div class="topic-metadata">

**Author:** [@Dieye\_Pape\_Doudou](https://forum.ansible.com/u/Dieye_Pape_Doudou)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 2:05pm UTC](https://forum.ansible.com/t/sync-glpi-with-awx/33286 "2020-06-30T14:05:23Z")

</div>

Hello, i have an issue when i try to synch GLPI API with AWX , using inventory Script. error from the source : synchronization failed Can someone help me please ? THANKS RuntimeError: ansible-inventory failed (rc=1) w…

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

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