# Latest

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

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

**Page:** 231

---

## [Not able to use any collection modules](https://forum.ansible.com/t/not-able-to-use-any-collection-modules/37259)

<div class="topic-metadata">

**Author:** [@Peto\_Laszlo](https://forum.ansible.com/u/Peto_Laszlo)\
**Replies:** 1\
**Last updated:** [October 26, 2022, 6:43pm UTC](https://forum.ansible.com/t/not-able-to-use-any-collection-modules/37259 "2022-10-26T18:43:22Z")

</div>

Hey guys, It is already driving me crazy as in the last days is all I am trying to do. So I was using awx docker 17.1.0 since forever and decided to make the move to the latest. My issue is that however I did try I bu…

---

## [Assigning a vNIC Profile to an oVirt VM](https://forum.ansible.com/t/assigning-a-vnic-profile-to-an-ovirt-vm/37269)

<div class="topic-metadata">

**Author:** [@Will1](https://forum.ansible.com/u/Will1)\
**Replies:** 0\
**Last updated:** [October 26, 2022, 3:26am UTC](https://forum.ansible.com/t/assigning-a-vnic-profile-to-an-ovirt-vm/37269 "2022-10-26T03:26:15Z")

</div>

Hello, I’m attempting to create a VM with the simple playbook below, and attach an existing NIC profile to it. In the oVirt web-gui, I would do this by simply selecting the profile in the VM settings under “Instantiate V…

---

## [Ansible variables](https://forum.ansible.com/t/ansible-variables/37266)

<div class="topic-metadata">

**Author:** [@Andreas\_Stoller](https://forum.ansible.com/u/Andreas_Stoller)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 9:26pm UTC](https://forum.ansible.com/t/ansible-variables/37266 "2022-10-25T21:26:06Z")

</div>

Can Someone help me with tow Ansible Files I need the following Configuration php::version::current::installed ‘8.1.11’ → test.yml (php\_version: 'read\_from\_puppet\_file) → remember this variable or write it in a Jinja t…

---

## [Ansible 7.0.0a2 has been released!](https://forum.ansible.com/t/ansible-7-0-0a2-has-been-released/37268)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 8:52pm UTC](https://forum.ansible.com/t/ansible-7-0-0a2-has-been-released/37268 "2022-10-25T20:52:18Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.0.0a2 package has been released! Ansible 7.0.0a2 will include ansible-core 2.14.0rc1 as well as a curated set of Ansible collections to provide a vast number of modul…

---

## [Ansible 7.0.0a2 has been released!](https://forum.ansible.com/t/ansible-7-0-0a2-has-been-released/37267)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 8:47pm UTC](https://forum.ansible.com/t/ansible-7-0-0a2-has-been-released/37267 "2022-10-25T20:47:51Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.0.0a2 package has been released! Ansible 7.0.0a2 will include ansible-core 2.14.0rc1 as well as a curated set of Ansible collections to provide a vast number of modul…

---

## [How to use a variable in a vars file](https://forum.ansible.com/t/how-to-use-a-variable-in-a-vars-file/37264)

<div class="topic-metadata">

**Author:** [@Jacquelin\_C](https://forum.ansible.com/u/Jacquelin_C)\
**Replies:** 4\
**Last updated:** [October 25, 2022, 3:59pm UTC](https://forum.ansible.com/t/how-to-use-a-variable-in-a-vars-file/37264 "2022-10-25T15:59:00Z")

</div>

Hello team, I would like to use variables in a vars file, like this :

---

## [Async issues in ansible](https://forum.ansible.com/t/async-issues-in-ansible/37263)

<div class="topic-metadata">

**Author:** [@Shivani\_Arora](https://forum.ansible.com/u/Shivani_Arora)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 10:50am UTC](https://forum.ansible.com/t/async-issues-in-ansible/37263 "2022-10-25T10:50:18Z")

</div>

Hi All, I’m trying to take snapshots of aws ebs volumes using ansible. But my playbook fails when the volume size is big ( \>1024 GB) with the below error. Unable to figure out if it is an async issue or if something els…

---

## [How to run the restore process from an awx backup?](https://forum.ansible.com/t/how-to-run-the-restore-process-from-an-awx-backup/37255)

<div class="topic-metadata">

**Author:** [@Guilherme\_Torres](https://forum.ansible.com/u/Guilherme_Torres)\
**Replies:** 2\
**Last updated:** [October 24, 2022, 7:18pm UTC](https://forum.ansible.com/t/how-to-run-the-restore-process-from-an-awx-backup/37255 "2022-10-24T19:18:26Z")

</div>

Hello! I’m trying to restore a backup of my awx unsuccessfully. If anyone has gone through this, could you please help me? I made the backup using the process described here: https://github.com/kurokobo/awx-on-k3s/tree…

---

## [Use encyrpted pwd in ansible inventory file](https://forum.ansible.com/t/use-encyrpted-pwd-in-ansible-inventory-file/37251)

<div class="topic-metadata">

**Author:** [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Replies:** 3\
**Last updated:** [October 24, 2022, 5:26pm UTC](https://forum.ansible.com/t/use-encyrpted-pwd-in-ansible-inventory-file/37251 "2022-10-24T17:26:11Z")

</div>

Hi. I am novice to this ansible and trying out a few basic use cases to apply patches on remote linux servers. We are using a host based authentication approach to connect to remote servers and execute ansible playbooks…

---

## [Register Variable /Setfacts and use it in Jinja2](https://forum.ansible.com/t/register-variable-setfacts-and-use-it-in-jinja2/37261)

<div class="topic-metadata">

**Author:** [@Jatashankar\_Mishra](https://forum.ansible.com/u/Jatashankar_Mishra)\
**Replies:** 0\
**Last updated:** [October 24, 2022, 10:55am UTC](https://forum.ansible.com/t/register-variable-setfacts-and-use-it-in-jinja2/37261 "2022-10-24T10:55:13Z")

</div>

Hello team, I am trying to register variable /setfacts and use it in jinja2 template for printing the output but it says variable not define , Please can yo suggest something what is missing ========================Pla…

---

## [Job failing after SCM Update fails](https://forum.ansible.com/t/job-failing-after-scm-update-fails/37242)

<div class="topic-metadata">

**Author:** [@anasaizg](https://forum.ansible.com/u/anasaizg)\
**Replies:** 2\
**Last updated:** [October 24, 2022, 9:18am UTC](https://forum.ansible.com/t/job-failing-after-scm-update-fails/37242 "2022-10-24T09:18:26Z")

</div>

Hello Last Monday we found out some of the scheduled jobs we had for the weekend had failed because, as for the error, there was some kind of issue with project’s SCM Update: Traceback (most recent call last): File “/v…

---

## [Playbook to create gmail account](https://forum.ansible.com/t/playbook-to-create-gmail-account/37258)

<div class="topic-metadata">

**Author:** [@ricardobarbosams](https://forum.ansible.com/u/ricardobarbosams)\
**Replies:** 0\
**Last updated:** [October 21, 2022, 5:39pm UTC](https://forum.ansible.com/t/playbook-to-create-gmail-account/37258 "2022-10-21T17:39:05Z")

</div>

Hello all, Does Anyone know if possible to create a playbook to create a Gmail account? I found only GCP module to create infra-structure in GCP Regards

---

## [Upgrade from postgres 12 to 13 AWX](https://forum.ansible.com/t/upgrade-from-postgres-12-to-13-awx/37257)

<div class="topic-metadata">

**Author:** [@Zack\_Brewer](https://forum.ansible.com/u/Zack_Brewer)\
**Replies:** 0\
**Last updated:** [October 21, 2022, 5:24pm UTC](https://forum.ansible.com/t/upgrade-from-postgres-12-to-13-awx/37257 "2022-10-21T17:24:00Z")

</div>

I’m running AWX 21.3.0 (Operator 0.25.0). I upgrade to this from 0.12.0 without issue, however, I attempted to change the postgres version to 13 in the operator resource when I upgraded and it failed. When I changed it b…

---

## [AWX installation failed at TASK \[Create secret key secret](https://forum.ansible.com/t/awx-installation-failed-at-task-create-secret-key-secret/37238)

<div class="topic-metadata">

**Author:** [@Mancoba\_sanele](https://forum.ansible.com/u/Mancoba_sanele)\
**Replies:** 5\
**Last updated:** [October 21, 2022, 5:07pm UTC](https://forum.ansible.com/t/awx-installation-failed-at-task-create-secret-key-secret/37238 "2022-10-21T17:07:38Z")

</div>

Good day, kindly assist AWX 0.28.0 installation is failing with attach error; TASK \[installer : Check for presence of Deployment\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /opt/ansible/roles/installer/tasks/main.yml:2 (…

---

## [create a file based on grep result](https://forum.ansible.com/t/create-a-file-based-on-grep-result/37256)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [October 21, 2022, 4:15pm UTC](https://forum.ansible.com/t/create-a-file-based-on-grep-result/37256 "2022-10-21T16:15:04Z")

</div>

I want to create a file based on a grep result of another file on the host It can be achieved with a shell TASK I believe … name: create 10-ssl.conf based on old postgresql.conf ansible.builtin.shell: cmd: grep ssh …

---

## [ansible shell module unable to 'vagrant up' on remote host via playbook](https://forum.ansible.com/t/ansible-shell-module-unable-to-vagrant-up-on-remote-host-via-playbook/37235)

<div class="topic-metadata">

**Author:** [@Oremo\_Ojwang](https://forum.ansible.com/u/Oremo_Ojwang)\
**Replies:** 3\
**Last updated:** [October 21, 2022, 7:57am UTC](https://forum.ansible.com/t/ansible-shell-module-unable-to-vagrant-up-on-remote-host-via-playbook/37235 "2022-10-21T07:57:27Z")

</div>

I intend to launch a number of of vms on multiple host machines. So I have a playbook that installs vagrant and virtualbox on the host machine. Following the installations, the playbook then copies specific Vagrantfile f…

---

## [Quit a playbook without error for a particular host](https://forum.ansible.com/t/quit-a-playbook-without-error-for-a-particular-host/37249)

<div class="topic-metadata">

**Author:** [@Rai\_Ner](https://forum.ansible.com/u/Rai_Ner)\
**Replies:** 1\
**Last updated:** [October 20, 2022, 7:40pm UTC](https://forum.ansible.com/t/quit-a-playbook-without-error-for-a-particular-host/37249 "2022-10-20T19:40:06Z")

</div>

Hi, I have a playbook containing several Plays and each Play is executed on a bunch of hosts. I would like to quit the whole playbook (not only the current play) for a particular host if a “when: condition” is met. Ex…

---

## [ERROR: Error reading config file (/Users/user/.ansible.cfg): Source contains parsing errors: '\<string\>'](https://forum.ansible.com/t/error-error-reading-config-file-users-user-ansible-cfg-source-contains-parsing-errors-string/37254)

<div class="topic-metadata">

**Author:** [@Caglayan\_Sancaktar](https://forum.ansible.com/u/Caglayan_Sancaktar)\
**Replies:** 2\
**Last updated:** [October 20, 2022, 6:05pm UTC](https://forum.ansible.com/t/error-error-reading-config-file-users-user-ansible-cfg-source-contains-parsing-errors-string/37254 "2022-10-20T18:05:09Z")

</div>

Hi, I got this error ERROR: Error reading config file (/Users/sahabt/.ansible.cfg): Source contains parsing errors: ‘’ \<\< My .ansible.cfg file’s content like this: \[node5\] 172.17.0.2

---

## [How to merge inventories from other ansible projects?](https://forum.ansible.com/t/how-to-merge-inventories-from-other-ansible-projects/37243)

<div class="topic-metadata">

**Author:** [@Glen\_Huang](https://forum.ansible.com/u/Glen_Huang)\
**Replies:** 5\
**Last updated:** [October 20, 2022, 11:20am UTC](https://forum.ansible.com/t/how-to-merge-inventories-from-other-ansible-projects/37243 "2022-10-20T11:20:27Z")

</div>

I have existing two ansible projects: proj1/inventory/host.yml all: vars:… hosts: … children: … proj2/inventory/host.yml all: vars:… hosts: … children: … I want to create a new ansible project, whose inventory…

---

## [how to Backup and restore ?](https://forum.ansible.com/t/how-to-backup-and-restore/37250)

<div class="topic-metadata">

**Author:** [@V111](https://forum.ansible.com/u/V111)\
**Replies:** 4\
**Last updated:** [October 20, 2022, 10:56am UTC](https://forum.ansible.com/t/how-to-backup-and-restore/37250 "2022-10-20T10:56:16Z")

</div>

As subject suggest i tried to follow https://github.com/ansible/awx-operator/tree/devel/roles/backup Im running k3s with awx-operator 0.30 created the resource and have copied the content fra awx-operator folder backup…

---

## [Implementing a finite state machine in Ansible](https://forum.ansible.com/t/implementing-a-finite-state-machine-in-ansible/37229)

<div class="topic-metadata">

**Author:** [@Josh\_K](https://forum.ansible.com/u/Josh_K)\
**Replies:** 5\
**Last updated:** [October 19, 2022, 7:23pm UTC](https://forum.ansible.com/t/implementing-a-finite-state-machine-in-ansible/37229 "2022-10-19T19:23:25Z")

</div>

I have a playbook that depends on knowing where a certain git repository is on the local machine. All of our developers have this repo somewhere, but no assumptions can be made about the name of the dir or its location o…

---

## [Is there a way to pass inventory directly to a job template?](https://forum.ansible.com/t/is-there-a-way-to-pass-inventory-directly-to-a-job-template/37247)

<div class="topic-metadata">

**Author:** [@T\_K\_Sourabh](https://forum.ansible.com/u/T_K_Sourabh)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 5:06pm UTC](https://forum.ansible.com/t/is-there-a-way-to-pass-inventory-directly-to-a-job-template/37247 "2022-10-19T17:06:29Z")

</div>

Hi, I wanted to do away with custom script and have a cron tab that would collect host information and call the awx job template launch API. Is there way we could supply the host information(inventory file) to the job t…

---

## [AWX Operator now on OperatorHub.io](https://forum.ansible.com/t/awx-operator-now-on-operatorhub-io/37241)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 12:21pm UTC](https://forum.ansible.com/t/awx-operator-now-on-operatorhub-io/37241 "2022-10-19T12:21:23Z")

</div>

Hello all! We are happy to announce that the AWX Operator is now available on OperatorHub.io! You can find it at: https://operatorhub.io/operator/awx-operator What does this mean? OperatorHub is a catalog of operators…

---

## [failed\_when condition is not working](https://forum.ansible.com/t/failed-when-condition-is-not-working/37244)

<div class="topic-metadata">

**Author:** [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 11:34am UTC](https://forum.ansible.com/t/failed-when-condition-is-not-working/37244 "2022-10-19T11:34:05Z")

</div>

Hi Team, I was trying to add one condition, in which if it should failed on that particular point. So, entire playbook should stop. Below is the written playbook. - hosts: all gather\_facts: yes pre\_tasks: - name: Ve…

---

## [Ansible distribution when upgrading centos 6 dict object' has no attribute error](https://forum.ansible.com/t/ansible-distribution-when-upgrading-centos-6-dict-object-has-no-attribute-error/37226)

<div class="topic-metadata">

**Author:** [@Dave\_Tackyon](https://forum.ansible.com/u/Dave_Tackyon)\
**Replies:** 3\
**Last updated:** [October 19, 2022, 11:25am UTC](https://forum.ansible.com/t/ansible-distribution-when-upgrading-centos-6-dict-object-has-no-attribute-error/37226 "2022-10-19T11:25:19Z")

</div>

Please could someone give some help to this problem. I have I cant see anything wrong. I have what looks like a bug in ansible\_distribution. where it looks like its not getting picked up properly. Not sure how it obtain…

---

## [error connecting ansible to azure portal](https://forum.ansible.com/t/error-connecting-ansible-to-azure-portal/37246)

<div class="topic-metadata">

**Author:** [@Mahdi\_Idriss](https://forum.ansible.com/u/Mahdi_Idriss)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 10:38am UTC](https://forum.ansible.com/t/error-connecting-ansible-to-azure-portal/37246 "2022-10-19T10:38:22Z")

</div>

Dears, while i am trying to connect my Ansible Platform to my Azure Portal, i am facing below error when lunching the job from Ansible portal, so any idea? ansible-inventory \[core 2.12.1\] config file = /etc/ansible/an…

---

## [Task was marked as running in Tower (Problem Execute Job in other instance)](https://forum.ansible.com/t/task-was-marked-as-running-in-tower-problem-execute-job-in-other-instance/35728)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 5:35am UTC](https://forum.ansible.com/t/task-was-marked-as-running-in-tower-problem-execute-job-in-other-instance/35728 "2022-10-19T05:35:08Z")

</div>

Hello, i execute job with specific instance group , the job is failed with this message : (Task was marked as running in Tower but was not present in the job queue, so it has been marked as failed. ) What is the problem…

---

## [Is there a module that can encrypt a file with vault in tasks?](https://forum.ansible.com/t/is-there-a-module-that-can-encrypt-a-file-with-vault-in-tasks/37237)

<div class="topic-metadata">

**Author:** [@Glen\_Huang](https://forum.ansible.com/u/Glen_Huang)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 2:38am UTC](https://forum.ansible.com/t/is-there-a-module-that-can-encrypt-a-file-with-vault-in-tasks/37237 "2022-10-19T02:38:55Z")

</div>

I use playbook to locally generate a private key, and after that I’d like to encrypt it with vault so another playbook can use it to copy to a remote hosts. Is there a module that can encrypt a file with vault? Or shoul…

---

## [Encrypted SSH Key leads to Invalid format](https://forum.ansible.com/t/encrypted-ssh-key-leads-to-invalid-format/37166)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 10\
**Last updated:** [October 18, 2022, 8:38am UTC](https://forum.ansible.com/t/encrypted-ssh-key-leads-to-invalid-format/37166 "2022-10-18T08:38:24Z")

</div>

I’m using in inventory/group\_vars/all.yaml: … ansible\_ssh\_private\_key\_file: ‘{{inventory\_dir}}/group\_vars/path/to/key’ This Key is working well when it’s plain text When I encrypt the file with ansible-vault, i get t…

---

## [New release candidates: ansible-core 2.14.0rc1 - C'mon Everybody](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-14-0rc1-cmon-everybody/37240)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [October 17, 2022, 8:01pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-14-0rc1-cmon-everybody/37240 "2022-10-17T20:01:29Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.14.0rc1 How to get it

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

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