# Archives

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

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

**Page:** 100

---

## [New major release: ansible-core 2.12.0](https://forum.ansible.com/t/new-major-release-ansible-core-2-12-0/35977)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 3:48pm UTC](https://forum.ansible.com/t/new-major-release-ansible-core-2-12-0/35977 "2021-11-08T15:48:12Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.12.0 How to get it

---

## [How to render boolean true in j2 file?](https://forum.ansible.com/t/how-to-render-boolean-true-in-j2-file/35976)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 2:33pm UTC](https://forum.ansible.com/t/how-to-render-boolean-true-in-j2-file/35976 "2021-11-08T14:33:02Z")

</div>

I’m not entirely sure if this is a YAML problem or an Ansible thing. Trying to render a configuration json file from a j2 template. Template.j2 { “test”: {{ boolean\_test }} } default.yml: boolean\_test: true Resul…

---

## [missing wait option in amazon.aws.ec2\_spot\_instance module](https://forum.ansible.com/t/missing-wait-option-in-amazon-aws-ec2-spot-instance-module/35975)

<div class="topic-metadata">

**Author:** [@Rahul\_Gupta2](https://forum.ansible.com/u/Rahul_Gupta2)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 7:46am UTC](https://forum.ansible.com/t/missing-wait-option-in-amazon-aws-ec2-spot-instance-module/35975 "2021-11-08T07:46:55Z")

</div>

Hi, amazon.aws.ec2 module has wait option which wait for the instance to reach its desired state before returning this is applicable for spot and non spot. But the new module amazon.aws.ec2\_spot\_instance doesnt have a w…

---

## [Reversible include\_tasks - A feature for Ansible](https://forum.ansible.com/t/reversible-include-tasks-a-feature-for-ansible/35974)

<div class="topic-metadata">

**Author:** [@Tim\_Eisler](https://forum.ansible.com/u/Tim_Eisler)\
**Replies:** 2\
**Last updated:** [November 6, 2021, 11:55pm UTC](https://forum.ansible.com/t/reversible-include-tasks-a-feature-for-ansible/35974 "2021-11-06T23:55:17Z")

</div>

Hello. I have added a feature to my fork that allows a task file to be shared by a block and a rescue but to run the tasks in reverse order in rescue to achieve an undo. I did this because it was a great exercise to st…

---

## [How to connect ansible with switch exos](https://forum.ansible.com/t/how-to-connect-ansible-with-switch-exos/35972)

<div class="topic-metadata">

**Author:** [@Fabiano\_Pamplona](https://forum.ansible.com/u/Fabiano_Pamplona)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 5:05pm UTC](https://forum.ansible.com/t/how-to-connect-ansible-with-switch-exos/35972 "2021-11-05T17:05:05Z")

</div>

Hi all, I’m new with ansible and I trying to connect ansible version 2.9 runs on CentOS with EXOS switch. I tried to connect via SSH using certificates, I put the pub certificate into EXOS switch and try to use command …

---

## [Cannot resolve community.general modules](https://forum.ansible.com/t/cannot-resolve-community-general-modules/35971)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 12:19pm UTC](https://forum.ansible.com/t/cannot-resolve-community-general-modules/35971 "2021-11-05T12:19:08Z")

</div>

AWX 19.3.0 on k3s Unable to resolve modules in community.general. vmware is there already. Anyone have any idea how I can add this in?

---

## [Run Ansible via Shell Command on Remote GCP Servers](https://forum.ansible.com/t/run-ansible-via-shell-command-on-remote-gcp-servers/35968)

<div class="topic-metadata">

**Author:** [@Philip\_Shangguan](https://forum.ansible.com/u/Philip_Shangguan)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 1:09am UTC](https://forum.ansible.com/t/run-ansible-via-shell-command-on-remote-gcp-servers/35968 "2021-11-05T01:09:10Z")

</div>

I have 3 Linux servers A, B and C in GCP. A is where all the developers use, B is a Ansible server that has a playbook, C is the target server that I need to run some tasks. This is the frame of the playbook - play.yml: …

---

## [Ansible-Pull Copy Error](https://forum.ansible.com/t/ansible-pull-copy-error/35962)

<div class="topic-metadata">

**Author:** [@Paul1](https://forum.ansible.com/u/Paul1)\
**Replies:** 6\
**Last updated:** [November 4, 2021, 10:58pm UTC](https://forum.ansible.com/t/ansible-pull-copy-error/35962 "2021-11-04T22:58:09Z")

</div>

I was following a tutorial from a year ago so perhaps something in Ansible has changed. My issue is I get this error: TASK \[copy sudoers\_ansible\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]:…

---

## [LDAP via FreeIPA + 2fa](https://forum.ansible.com/t/ldap-via-freeipa-2fa/35927)

<div class="topic-metadata">

**Author:** [@Simon\_O\_Kell](https://forum.ansible.com/u/Simon_O_Kell)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 10:51pm UTC](https://forum.ansible.com/t/ldap-via-freeipa-2fa/35927 "2021-11-04T22:51:35Z")

</div>

Hi, I am trying to implement AWX webui ldap authentication using FreeIPA + 2fa. I am most of the way there and the initial login works, however subsequent logins thereafter fail with invalid username/password. Another…

---

## [FORKS --- not working as expected and also discrepecies in playbook profile task prints](https://forum.ansible.com/t/forks-not-working-as-expected-and-also-discrepecies-in-playbook-profile-task-prints/35890)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 5\
**Last updated:** [November 4, 2021, 9:29pm UTC](https://forum.ansible.com/t/forks-not-working-as-expected-and-also-discrepecies-in-playbook-profile-task-prints/35890 "2021-11-04T21:29:23Z")

</div>

Hi, We have about 500 hosts and we were testing the ssh connections that run in parallel at a given point before running the actual playbooks as we were hitting bottlenecks. Ansible version being used: 2.10.5 Its a si…

---

## [Looping over email addresses in Mail module](https://forum.ansible.com/t/looping-over-email-addresses-in-mail-module/35966)

<div class="topic-metadata">

**Author:** [@david.burtton](https://forum.ansible.com/u/david.burtton)\
**Replies:** 2\
**Last updated:** [November 4, 2021, 8:45pm UTC](https://forum.ansible.com/t/looping-over-email-addresses-in-mail-module/35966 "2021-11-04T20:45:50Z")

</div>

Hey everyone, I’m still a bit new to Ansible, so sorry if this has an obvious answer Basically, I’ve got a list of email addresses that I want to send an email to one at a time and I’m using the Community.General Mail …

---

## [Use loop control only when condition is met](https://forum.ansible.com/t/use-loop-control-only-when-condition-is-met/35953)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Ilic](https://forum.ansible.com/u/Aleksandar_Ilic)\
**Replies:** 2\
**Last updated:** [November 4, 2021, 3:26pm UTC](https://forum.ansible.com/t/use-loop-control-only-when-condition-is-met/35953 "2021-11-04T15:26:36Z")

</div>

Hello everyone, Im new to ansible and im trying to use loop\_contorl pause only for specific item. Is this something that is possible to do ? Thanks

---

## [Ansible LVM module issue](https://forum.ansible.com/t/ansible-lvm-module-issue/35965)

<div class="topic-metadata">

**Author:** [@Jonathan\_Selormey](https://forum.ansible.com/u/Jonathan_Selormey)\
**Replies:** 0\
**Last updated:** [November 4, 2021, 3:25pm UTC](https://forum.ansible.com/t/ansible-lvm-module-issue/35965 "2021-11-04T15:25:43Z")

</div>

I’m having an issue with an ansible module, specifically the LVM module (lvol). When I execute my Ansible code from my local system everythinig works according but when I try it from an AWX job template I get the followi…

---

## [Azure sysprep image not accepting winrm](https://forum.ansible.com/t/azure-sysprep-image-not-accepting-winrm/35964)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 3:08pm UTC](https://forum.ansible.com/t/azure-sysprep-image-not-accepting-winrm/35964 "2021-11-04T15:08:13Z")

</div>

Has anyone ever come across and issue where , after the VM has been configured for winrm and then you sysprep your VM in azure using the generalize option, shutdown and then capture using azure, ansible won’t connect to …

---

## [Ansible playbook syntax](https://forum.ansible.com/t/ansible-playbook-syntax/35959)

<div class="topic-metadata">

**Author:** [@Mauricio\_Maldonado](https://forum.ansible.com/u/Mauricio_Maldonado)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 2:38pm UTC](https://forum.ansible.com/t/ansible-playbook-syntax/35959 "2021-11-04T14:38:28Z")

</div>

Good morning, I need to make an automation to run on 600+ servers and the automation needs to send configuration files such as host, port, user and password, but I’m novice on the Ansible platform, how can I set up a pla…

---

## [awx-demo use the quay.io and not the edited image (rancher/k8s)](https://forum.ansible.com/t/awx-demo-use-the-quay-io-and-not-the-edited-image-rancher-k8s/35954)

<div class="topic-metadata">

**Author:** [@migo](https://forum.ansible.com/u/migo)\
**Replies:** 5\
**Last updated:** [November 4, 2021, 10:40am UTC](https://forum.ansible.com/t/awx-demo-use-the-quay-io-and-not-the-edited-image-rancher-k8s/35954 "2021-11-04T10:40:17Z")

</div>

Hi there Hope there is somebody who can help me understand. I needed to change the image in the repository, from quay.io to another path throw artifactory. In the repository i got from github, i change all the files w…

---

## [pass variables to main.yml of a role](https://forum.ansible.com/t/pass-variables-to-main-yml-of-a-role/35963)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 8:54am UTC](https://forum.ansible.com/t/pass-variables-to-main-yml-of-a-role/35963 "2021-11-04T08:54:15Z")

</div>

I have a couple of standalone playbooks which I am trying to transform to role-based execition. At the start I get the hostname in a user dialog, then go in with the first play when ther is no ssh available on target ye…

---

## [custom collection](https://forum.ansible.com/t/custom-collection/35960)

<div class="topic-metadata">

**Author:** [@Luciano\_BAEZ](https://forum.ansible.com/u/Luciano_BAEZ)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 4:29pm UTC](https://forum.ansible.com/t/custom-collection/35960 "2021-11-03T16:29:58Z")

</div>

I have developed a custom collection that has 4 modules in python. The collection works fine if I attach it to the playbook directory structure (/ collections / ansible\_collections / gbse / vcscollection). But when I wa…

---

## [Ansible Tower access via awx cli and ssl](https://forum.ansible.com/t/ansible-tower-access-via-awx-cli-and-ssl/35958)

<div class="topic-metadata">

**Author:** [@Peter\_Vaennman](https://forum.ansible.com/u/Peter_Vaennman)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 12:55pm UTC](https://forum.ansible.com/t/ansible-tower-access-via-awx-cli-and-ssl/35958 "2021-11-03T12:55:48Z")

</div>

We are currently using tower-cli from TeamCity to e.g. launch job\_templates in Ansible Tower. Since tower-cli is deprecated and awx cli should be used instead, our intention is to begin using awx in TeamCity. However, …

---

## [Find line in file](https://forum.ansible.com/t/find-line-in-file/35955)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 3\
**Last updated:** [November 3, 2021, 10:57am UTC](https://forum.ansible.com/t/find-line-in-file/35955 "2021-11-03T10:57:02Z")

</div>

One of the most recommended things is to use “lineinfiles” with some special attributes for just finding a line in a file. I have a weird issue with this. If I just lookup one line, like so: name: TEST - Check /tmp/ou…

---

## [supported postgres version](https://forum.ansible.com/t/supported-postgres-version/35957)

<div class="topic-metadata">

**Author:** [@Intak](https://forum.ansible.com/u/Intak)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 10:48am UTC](https://forum.ansible.com/t/supported-postgres-version/35957 "2021-11-03T10:48:35Z")

</div>

Hey all I got one question as I can’t find good info, I have awx v.14… and postgress 9.6… (as rds on aws)I want to upgrade db as this one is eol… i just find info that awx use postgres10.X but will it also work newer 12.…

---

## [vm multiple ip](https://forum.ansible.com/t/vm-multiple-ip/35907)

<div class="topic-metadata">

**Author:** [@user71](https://forum.ansible.com/u/user71)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 8:55am UTC](https://forum.ansible.com/t/vm-multiple-ip/35907 "2021-11-03T08:55:03Z")

</div>

hi. im have multiple ip addresses on vmware vm. how set vcenter inventory source for select right ip instead first ip?

---

## [Workflow with multiple inventories](https://forum.ansible.com/t/workflow-with-multiple-inventories/35922)

<div class="topic-metadata">

**Author:** [@Avinash2](https://forum.ansible.com/u/Avinash2)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 8:46am UTC](https://forum.ansible.com/t/workflow-with-multiple-inventories/35922 "2021-11-03T08:46:52Z")

</div>

Hello, Use case: Run workflows simultaneously for multiple inventories. Currently, all the hosts in the inventory execute simultaneously for a given node of workflow. However, all the hosts would wait until the job tem…

---

## [Ansible Not Running in SELINUX Enforcing Mode](https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951)

<div class="topic-metadata">

**Author:** [@Mr\_Who](https://forum.ansible.com/u/Mr_Who)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 6:13am UTC](https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951 "2021-11-03T06:13:38Z")

</div>

Hi Gurus, Can I check if there is any guide on what we need to do to make the AWX Up and Running with SELINUX in enforcing mode? Our installation will run in permissive mode but not in enforcing mode. Hope there is some…

---

## [Ansible 5.0.0a3 available for testing](https://forum.ansible.com/t/ansible-5-0-0a3-available-for-testing/35952)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 5:40pm UTC](https://forum.ansible.com/t/ansible-5-0-0a3-available-for-testing/35952 "2021-11-02T17:40:44Z")

</div>

Hi all, We're happy to announce that the Ansible 5.0.0 alpha3 package is now available! This version is based on ansible-core 2.12.0rc1 which is a major update from ansible-core 2.11.x used in Ansible 4. There may be…

---

## [action\_plugins and ansible\_facts](https://forum.ansible.com/t/action-plugins-and-ansible-facts/35948)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 2:59pm UTC](https://forum.ansible.com/t/action-plugins-and-ansible-facts/35948 "2021-11-02T14:59:03Z")

</div>

I’m using action plugins to collect data from an internal API. We’ve been setting the “ansible\_facts” key of the results dictionary to return values. Most of the time, this seems to work as if we had called set\_fact. But…

---

## [Ansible 4.8.0 has been released](https://forum.ansible.com/t/ansible-4-8-0-has-been-released/35949)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 2:21pm UTC](https://forum.ansible.com/t/ansible-4-8-0-has-been-released/35949 "2021-11-02T14:21:12Z")

</div>

Hi all, We're happy to announce that the ansible-4.8.0 package has been released to PyPi: https://pypi.org/project/ansible/4.8.0/ This new version contains bug fixes as well as new, backwards compatible features in …

---

## [azcollection.azure\_rm\_keyvault  with RBAC](https://forum.ansible.com/t/azcollection-azure-rm-keyvault-with-rbac/35947)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 2\
**Last updated:** [November 2, 2021, 10:55am UTC](https://forum.ansible.com/t/azcollection-azure-rm-keyvault-with-rbac/35947 "2021-11-02T10:55:19Z")

</div>

Hello Team, I want to create Azure keyvault using azcollection.azure\_rm\_keyvault module and in this case I would like to enable the Azure role-based access control in permission module. By default is taking Vault acces…

---

## [Automatically update survey from inventory](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 2\
**Last updated:** [November 2, 2021, 7:20am UTC](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944 "2021-11-02T07:20:56Z")

</div>

Hi, Does anyone know of a way to automatically update a job template survey with all hosts from an inventory? Cheers

---

## [job and project in pending state after upgrade to 19.4.0](https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 1\
**Last updated:** [November 1, 2021, 2:33pm UTC](https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946 "2021-11-01T14:33:36Z")

</div>

Hi! I have updated awx from 19.3.0 to 19.4.0. After the upgrade when I initiate project sync or submit the job, it is going into pending state. no logs showed in the job. when I checked the awx-web, the job is submitte…

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

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