# Latest

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

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

**Page:** 266

---

## [ansible playbook to create aws storage gateway](https://forum.ansible.com/t/ansible-playbook-to-create-aws-storage-gateway/36230)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 9:24am UTC](https://forum.ansible.com/t/ansible-playbook-to-create-aws-storage-gateway/36230 "2022-01-21T09:24:19Z")

</div>

I create an ec2 appliance with ansible. now I want to have another role to create the file storage gateway any idea how to do this? I dont see anything for aws storage gateway in ansible doc

---

## [roles - apply variable values from /defaults/main.yml](https://forum.ansible.com/t/roles-apply-variable-values-from-defaults-main-yml/36228)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [January 21, 2022, 6:50am UTC](https://forum.ansible.com/t/roles-apply-variable-values-from-defaults-main-yml/36228 "2022-01-21T06:50:39Z")

</div>

using roles with this type of structure and face a problem with variable values apparently not being applied from the /defaults/main.yml role01 \_\_/tasks \_\_main.yml \_\_/defaults \_\_main.yml As far my un…

---

## [The "mount' module and adding a mount option](https://forum.ansible.com/t/the-mount-module-and-adding-a-mount-option/36213)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 2\
**Last updated:** [January 21, 2022, 3:32am UTC](https://forum.ansible.com/t/the-mount-module-and-adding-a-mount-option/36213 "2022-01-21T03:32:29Z")

</div>

I’ve got a variety of mounts that I want to ensure specific flags are set on each. For other reasons, the mounts don’t have the same flags. I mistakenly thought the ‘mount’ module would ensure each had the flag, but ins…

---

## [Looping over l2\_interfaces only show the interface name](https://forum.ansible.com/t/looping-over-l2-interfaces-only-show-the-interface-name/36229)

<div class="topic-metadata">

**Author:** [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 8:53pm UTC](https://forum.ansible.com/t/looping-over-l2-interfaces-only-show-the-interface-name/36229 "2022-01-20T20:53:00Z")

</div>

Hi, In the past when I have used ansible\_network\_resources.l2\_interfaces it provided me with a dictionary. But now I am getting a class type list variable instead of a dictionary (which is odd). Therefore I am missing a…

---

## [Ansible + ACI very slow execution](https://forum.ansible.com/t/ansible-aci-very-slow-execution/36227)

<div class="topic-metadata">

**Author:** [@JP1](https://forum.ansible.com/u/JP1)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 8:13am UTC](https://forum.ansible.com/t/ansible-aci-very-slow-execution/36227 "2022-01-20T08:13:46Z")

</div>

Hi, I wrote playbook that should assign static port mappings in 130 EPG for 25 interfaces and it took about 1 hour to execute. Playbook : name: Do static port mapping include: do\_static\_binding.yaml with\_items: “{{…

---

## [Automating the playbooks promotion to production](https://forum.ansible.com/t/automating-the-playbooks-promotion-to-production/36197)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 6\
**Last updated:** [January 19, 2022, 9:04pm UTC](https://forum.ansible.com/t/automating-the-playbooks-promotion-to-production/36197 "2022-01-19T21:04:41Z")

</div>

Hello team, I am new to Awx and I find tool very interesting to learn. Recently , our project went live but we had to manually create and deploy playbooks from dev to production. I am looking for options on how to aut…

---

## [Problem awx-operator deployment("dial tcp 10.96.0.1:443: connect: no route to host")](https://forum.ansible.com/t/problem-awx-operator-deployment-dial-tcp-10-96-0-1-connect-no-route-to-host/36212)

<div class="topic-metadata">

**Author:** [@test\_test](https://forum.ansible.com/u/test_test)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 8:36pm UTC](https://forum.ansible.com/t/problem-awx-operator-deployment-dial-tcp-10-96-0-1-connect-no-route-to-host/36212 "2022-01-19T20:36:06Z")

</div>

Hello, when i deploy awx-operator on K8s cluster (1 Master+ 3 Nodes) i have this issue: {“level”:“info”,“ts”:1642466453.5412004,“logger”:“cmd”,“msg”:“Version”,“Go Version”:“go1.16.9”,“GOOS”:“linux”,“GOARCH”:“amd64”,“an…

---

## [Can I modify Ansible 'remote\_tmp' on a per task basis?](https://forum.ansible.com/t/can-i-modify-ansible-remote-tmp-on-a-per-task-basis/36217)

<div class="topic-metadata">

**Author:** [@BOB\_BOB](https://forum.ansible.com/u/BOB_BOB)\
**Replies:** 3\
**Last updated:** [January 19, 2022, 6:50pm UTC](https://forum.ansible.com/t/can-i-modify-ansible-remote-tmp-on-a-per-task-basis/36217 "2022-01-19T18:50:49Z")

</div>

I am running some tasks with delegate\_to. When those tasks run, they use the same remote\_tmp directory setup from the ansible.cfg. However, due to permissions and directory size issues, I need to change the remote\_tmp di…

---

## [ansible\_fqdn only contains the hostname](https://forum.ansible.com/t/ansible-fqdn-only-contains-the-hostname/19494)

<div class="topic-metadata">

**Author:** [@Toby\_Corkindale](https://forum.ansible.com/u/Toby_Corkindale)\
**Replies:** 6\
**Last updated:** [January 19, 2022, 3:35pm UTC](https://forum.ansible.com/t/ansible-fqdn-only-contains-the-hostname/19494 "2022-01-19T15:35:42Z")

</div>

I’ve been having trouble with this for a while… On Ubuntu 14.04 (current LTS), the ansible\_fqdn variable often only contains the hostname, not the hostname+domainname. I’ve tried to fix this by having ansible insert a …

---

## [I cannot see your replies to my post](https://forum.ansible.com/t/i-cannot-see-your-replies-to-my-post/36224)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 3:23pm UTC](https://forum.ansible.com/t/i-cannot-see-your-replies-to-my-post/36224 "2022-01-19T15:23:32Z")

</div>

Hi please see the below. It looks like my post has 3 replies. but when i clicked on it, I can see no body’s reply. what is wrong? Thank you

---

## [Error while re-directing ansible playbook output.](https://forum.ansible.com/t/error-while-re-directing-ansible-playbook-output/36223)

<div class="topic-metadata">

**Author:** [@Marian\_Saldhana](https://forum.ansible.com/u/Marian_Saldhana)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 11:02am UTC](https://forum.ansible.com/t/error-while-re-directing-ansible-playbook-output/36223 "2022-01-19T11:02:59Z")

</div>

Hi All, I have a simple playbook where I am re-directing output of crontab -l command. However its gives me an empty output file once the playbook is executed. Any suggestion please.

---

## [Install lxml for community.general.xml](https://forum.ansible.com/t/install-lxml-for-community-general-xml/36221)

<div class="topic-metadata">

**Author:** [@Jason\_Wood](https://forum.ansible.com/u/Jason_Wood)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 5:45am UTC](https://forum.ansible.com/t/install-lxml-for-community-general-xml/36221 "2022-01-19T05:45:01Z")

</div>

I am running Ansible on Ubuntu 20.04. I’d like to use the community.general.xml module. I get a “ModuleNotFoundError” relating to lxml when I try to run the playbook. I tried sudo apt-get install python3-lxml There w…

---

## [Help with acme\_certificate / letsencrypt and empty challenge\_data](https://forum.ansible.com/t/help-with-acme-certificate-letsencrypt-and-empty-challenge-data/36214)

<div class="topic-metadata">

**Author:** [@Jason\_Wood](https://forum.ansible.com/u/Jason_Wood)\
**Replies:** 9\
**Last updated:** [January 19, 2022, 12:43am UTC](https://forum.ansible.com/t/help-with-acme-certificate-letsencrypt-and-empty-challenge-data/36214 "2022-01-19T00:43:17Z")

</div>

I’m fairly new to this. I’m using ansible 2.9.6 on Ubuntu 20.04. I followed the Digital Ocean tutorial to get started with letsencrypt/acme\_certificate The problem I run into is that if I run the play again, I get an e…

---

## [Minio and Ansible](https://forum.ansible.com/t/minio-and-ansible/36215)

<div class="topic-metadata">

**Author:** [@Andreas\_Wachter](https://forum.ansible.com/u/Andreas_Wachter)\
**Replies:** 3\
**Last updated:** [January 18, 2022, 6:29pm UTC](https://forum.ansible.com/t/minio-and-ansible/36215 "2022-01-18T18:29:56Z")

</div>

Hi, I try to download a file from my minio with the following playbook: name: download file aws\_s3: s3\_url: https://minio.xxx.yyy bucket: artifacts object: awesome/file.jar dest: /some/where/file.jar mode: get …

---

## [AWX fresh install : All jobs still pending](https://forum.ansible.com/t/awx-fresh-install-all-jobs-still-pending/36219)

<div class="topic-metadata">

**Author:** [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Replies:** 1\
**Last updated:** [January 18, 2022, 4:21pm UTC](https://forum.ansible.com/t/awx-fresh-install-all-jobs-still-pending/36219 "2022-01-18T16:21:55Z")

</div>

Hello, On fresh install of AWX (19.5.0), all jobs still pending. On awx task container, I have this error message in loop : Traceback (most recent call last): File “/usr/bin/awx-manage”, line 8, in sys.exit(manage(…

---

## [Trick to remove a backslash liternal in Ansible?](https://forum.ansible.com/t/trick-to-remove-a-backslash-liternal-in-ansible/36202)

<div class="topic-metadata">

**Author:** [@Jibun\_no\_Kage](https://forum.ansible.com/u/Jibun_no_Kage)\
**Replies:** 2\
**Last updated:** [January 18, 2022, 3:27am UTC](https://forum.ansible.com/t/trick-to-remove-a-backslash-liternal-in-ansible/36202 "2022-01-18T03:27:23Z")

</div>

New to Ansible, having trouble doing the following: shell command returns a “This is a test\\u0000” string. I can’t seem to find a way to trim the ‘\\u0000’. Since it seem to be tricking to remove a backslash literal in An…

---

## [Using Ansible with IAP tunneling returns \[Errno -3\] Temporary failure in name resolution](https://forum.ansible.com/t/using-ansible-with-iap-tunneling-returns-errno-3-temporary-failure-in-name-resolution/36211)

<div class="topic-metadata">

**Author:** [@Halima\_Mounsiit](https://forum.ansible.com/u/Halima_Mounsiit)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 10:08pm UTC](https://forum.ansible.com/t/using-ansible-with-iap-tunneling-returns-errno-3-temporary-failure-in-name-resolution/36211 "2022-01-17T22:08:47Z")

</div>

Hello, I am trying to run ansible playbooks using IAP tunneling to connect to my virtual machines on GCP that do not have external IP addresses. But, I am having this error : test-vm-ee64a2421adb46ba-1 | UNREACHABLE! =\>…

---

## [Can I modify Ansible 'remote\_tmp' on a per task basis?](https://forum.ansible.com/t/can-i-modify-ansible-remote-tmp-on-a-per-task-basis/36210)

<div class="topic-metadata">

**Author:** [@BOB\_BOB](https://forum.ansible.com/u/BOB_BOB)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 10:00pm UTC](https://forum.ansible.com/t/can-i-modify-ansible-remote-tmp-on-a-per-task-basis/36210 "2022-01-17T22:00:28Z")

</div>

I am running some tasks with delegate\_to. When those tasks run, they use the same remote\_tmp directory setup from the ansible.cfg. However, due to permissions and directory size issues, I need to change the remote\_tmp d…

---

## [mariadb install from tar archive - systemd daemon-reload fails](https://forum.ansible.com/t/mariadb-install-from-tar-archive-systemd-daemon-reload-fails/36206)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 4:40pm UTC](https://forum.ansible.com/t/mariadb-install-from-tar-archive-systemd-daemon-reload-fails/36206 "2022-01-17T16:40:56Z")

</div>

I am trying to install mariadb from a tar-archive and then make systemd mange the service with these 5 TASKS name: install mariadb - run the install script shell: cmd: ./mariadb-install-db --defaults-file=/opt/db/da…

---

## [How to verify cookies collected/configured](https://forum.ansible.com/t/how-to-verify-cookies-collected-configured/36209)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 4:03pm UTC](https://forum.ansible.com/t/how-to-verify-cookies-collected-configured/36209 "2022-01-17T16:03:26Z")

</div>

Hello, Greetings. I am looking for somehelp on how to find what cookies Awx is collecting and how it’s used in application. Can you help me with references to it? Thank you Venkata

---

## [ansible 2.12 is slower than 2.7](https://forum.ansible.com/t/ansible-2-12-is-slower-than-2-7/36207)

<div class="topic-metadata">

**Author:** [@Rahul\_Bhatu](https://forum.ansible.com/u/Rahul_Bhatu)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 2:40pm UTC](https://forum.ansible.com/t/ansible-2-12-is-slower-than-2-7/36207 "2022-01-17T14:40:12Z")

</div>

hello everyone, we upgraded ansible to ansible \[core 2.12.1\] from ansible 2.7 and now the playbook are executing slower than before. the same playbook on ansible 2.7 is being completed in less than 5 min, whereas it ta…

---

## [Unable to get collections to work](https://forum.ansible.com/t/unable-to-get-collections-to-work/36200)

<div class="topic-metadata">

**Author:** [@Mark\_vd\_Boogaard](https://forum.ansible.com/u/Mark_vd_Boogaard)\
**Replies:** 5\
**Last updated:** [January 17, 2022, 12:49pm UTC](https://forum.ansible.com/t/unable-to-get-collections-to-work/36200 "2022-01-17T12:49:20Z")

</div>

I just installed AWX recently and I’ve some problems getting the collections working. I installed AWX via the AWX operator on a k3s instance (single node). I followed the instructions according to the AWX-operator page …

---

## [How to fix TypeError : Cant compile non template nodes While running ansible-test](https://forum.ansible.com/t/how-to-fix-typeerror-cant-compile-non-template-nodes-while-running-ansible-test/36201)

<div class="topic-metadata">

**Author:** [@selvigp](https://forum.ansible.com/u/selvigp)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 11:34am UTC](https://forum.ansible.com/t/how-to-fix-typeerror-cant-compile-non-template-nodes-while-running-ansible-test/36201 "2022-01-16T11:34:03Z")

</div>

Hey, I have used Ubuntu 18.04 LTS and installed ansible 2.9.27 and python 2.7.17. I am going to test ansible-collection with the ansible-test command. When I give “ansible-test unit” , I am getting the below error. Kind…

---

## [AWX marks long running jobs in ERROR, though the job completes successfully](https://forum.ansible.com/t/awx-marks-long-running-jobs-in-error-though-the-job-completes-successfully/36183)

<div class="topic-metadata">

**Author:** [@Kannan\_Somaiah](https://forum.ansible.com/u/Kannan_Somaiah)\
**Replies:** 7\
**Last updated:** [January 15, 2022, 11:02pm UTC](https://forum.ansible.com/t/awx-marks-long-running-jobs-in-error-though-the-job-completes-successfully/36183 "2022-01-15T23:02:51Z")

</div>

We have a long running asynchronous job which will run for 5 hours. After job completes, instead of marking it as successful, AWX marks it as ERROR. We had this error in AWX version 19.4.0. If anyone is aware of this is…

---

## [replace a line in a file with lineinfile](https://forum.ansible.com/t/replace-a-line-in-a-file-with-lineinfile/36205)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 7\
**Last updated:** [January 15, 2022, 10:02pm UTC](https://forum.ansible.com/t/replace-a-line-in-a-file-with-lineinfile/36205 "2022-01-15T22:02:04Z")

</div>

I want to change replace a particular line in an exiting file (after having pushed a template of it to the remote) this is ant extract of the file content cat bin/.myenv Mysql Environment … MYBASE=/opt/db/mysql/mar…

---

## [Odd results from query of /proc/meminfo?](https://forum.ansible.com/t/odd-results-from-query-of-proc-meminfo/36204)

<div class="topic-metadata">

**Author:** [@Jibun\_no\_Kage](https://forum.ansible.com/u/Jibun_no_Kage)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 7:22pm UTC](https://forum.ansible.com/t/odd-results-from-query-of-proc-meminfo/36204 "2022-01-14T19:22:17Z")

</div>

Odd results from query of /proc/meminfo? When I do the following from shell... # cat /proc/meminfo | grep MemTotal MemTotal: 8087276 kB But when I do the same via Ansible... ok: \[192.168.1.212\] =\> { "msg": "…

---

## [Email results , either failure or success](https://forum.ansible.com/t/email-results-either-failure-or-success/36203)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 4:16pm UTC](https://forum.ansible.com/t/email-results-either-failure-or-success/36203 "2022-01-14T16:16:08Z")

</div>

We have 3 playbooks, that all acheive different tasks when building a server. Each playbook can have either a role in it or a module from collection. How can I email result of when either a task fails in any of 3 playb…

---

## [RPM tools for ansible 5.2.0 available for Fedora, RHEL 7, RHEL 8](https://forum.ansible.com/t/rpm-tools-for-ansible-5-2-0-available-for-fedora-rhel-7-rhel-8/36199)

<div class="topic-metadata">

**Author:** [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 3:48am UTC](https://forum.ansible.com/t/rpm-tools-for-ansible-5-2-0-available-for-fedora-rhel-7-rhel-8/36199 "2022-01-14T03:48:46Z")

</div>

I've updated my published RPM building tools for ansible-core and ansible at: https://github.com/nkadel/ansiblerepo/ They build ansible 5.2.0 for RHEL 7, RHEL 8, and Fedora 35, and they build ansible-core 2.11.7 f…

---

## [Unable to create EC2 Instance](https://forum.ansible.com/t/unable-to-create-ec2-instance/36198)

<div class="topic-metadata">

**Author:** [@Karuppasamy\_Nallusam](https://forum.ansible.com/u/Karuppasamy_Nallusam)\
**Replies:** 1\
**Last updated:** [January 13, 2022, 7:20pm UTC](https://forum.ansible.com/t/unable-to-create-ec2-instance/36198 "2022-01-13T19:20:26Z")

</div>

Hi, I just started learning Ansible. I am trying to create EC2 instance from my managed host, configured on Mac OS Sierra but getting below error. Playbook: Output Error: Kindly help.

---

## [Need assist with Ansible conn to Cisco router](https://forum.ansible.com/t/need-assist-with-ansible-conn-to-cisco-router/36196)

<div class="topic-metadata">

**Author:** [@Sharon\_Day](https://forum.ansible.com/u/Sharon_Day)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 12:44pm UTC](https://forum.ansible.com/t/need-assist-with-ansible-conn-to-cisco-router/36196 "2022-01-13T12:44:01Z")

</div>

It’s pretty basic playbook so not sure why its not working. name: Config Sys hosts: router2 vars: ansible\_network\_os: ios ansible\_connection: network\_cli ansible\_user: Mxxxxx ansible\_password: password ansible\_b…

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

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