# Archives

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

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

**Page:** 94

---

## [Ansible command output](https://forum.ansible.com/t/ansible-command-output/36157)

<div class="topic-metadata">

**Author:** [@Dip\_Giri](https://forum.ansible.com/u/Dip_Giri)\
**Replies:** 1\
**Last updated:** [December 27, 2021, 8:31pm UTC](https://forum.ansible.com/t/ansible-command-output/36157 "2021-12-27T20:31:42Z")

</div>

name: start ping shell: ping google.com i want to show live output of ping command when i execute the playbook. How to do it? If anyone have any idea plz replay

---

## [Run podman container in a pod](https://forum.ansible.com/t/run-podman-container-in-a-pod/36155)

<div class="topic-metadata">

**Author:** [@Sudheer\_S](https://forum.ansible.com/u/Sudheer_S)\
**Replies:** 1\
**Last updated:** [December 26, 2021, 6:40pm UTC](https://forum.ansible.com/t/run-podman-container-in-a-pod/36155 "2021-12-26T18:40:36Z")

</div>

Hello, I came across the documentation for podman\_container: https://docs.ansible.com/ansible/latest/collections/containers/podman/podman\_container\_module.html#ansible-collections-containers-podman-podman-container-modu…

---

## [Print stout of failed task in recap](https://forum.ansible.com/t/print-stout-of-failed-task-in-recap/36154)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 3\
**Last updated:** [December 25, 2021, 7:39am UTC](https://forum.ansible.com/t/print-stout-of-failed-task-in-recap/36154 "2021-12-25T07:39:43Z")

</div>

Hi Team, Hope everyone is doing good, I am wondering if there is a way to print stdout of a failed task in playbook recap PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Not able to detach kibana service using nohup](https://forum.ansible.com/t/not-able-to-detach-kibana-service-using-nohup/36153)

<div class="topic-metadata">

**Author:** [@Aman\_Choudhary](https://forum.ansible.com/u/Aman_Choudhary)\
**Replies:** 0\
**Last updated:** [December 24, 2021, 12:52pm UTC](https://forum.ansible.com/t/not-able-to-detach-kibana-service-using-nohup/36153 "2021-12-24T12:52:21Z")

</div>

Hi Everyone, i need to start kibana service using ansible. This service can’t be encoded in system services due to access issues. We are running kibana on a remote linux server. This is the shell command we are trying to…

---

## [Shell Module Code Not Executing](https://forum.ansible.com/t/shell-module-code-not-executing/36149)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 4\
**Last updated:** [December 24, 2021, 12:48pm UTC](https://forum.ansible.com/t/shell-module-code-not-executing/36149 "2021-12-24T12:48:32Z")

</div>

Hi Team, Need you help on below issue I am facing issue where code inside shell module is not getting executed over some remote server, ansible just passing the got without executing without any error,

---

## [Switch Interface UP then playbook should end with error msg](https://forum.ansible.com/t/switch-interface-up-then-playbook-should-end-with-error-msg/36148)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 4\
**Last updated:** [December 23, 2021, 1:29pm UTC](https://forum.ansible.com/t/switch-interface-up-then-playbook-should-end-with-error-msg/36148 "2021-12-23T13:29:27Z")

</div>

Hi all, I need a help from you guys for writing a play if Switch Interface UP then playbook should end with error msg using when condition. I am kind of new to ansible. So please help me out for writing this task. Than…

---

## [Clean up debug output](https://forum.ansible.com/t/clean-up-debug-output/36150)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 2\
**Last updated:** [December 23, 2021, 11:59am UTC](https://forum.ansible.com/t/clean-up-debug-output/36150 "2021-12-23T11:59:00Z")

</div>

Hi, I have a small Ansible playbook. -----------------%\<----------------- hosts: localhost tasks: name: Populate service facts ansible.builtin.service\_facts: name: Print service facts loop: postfix rs…

---

## [How to pass dynamic value of Ansible variable to Shell script variable and vice versa.](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36144)

<div class="topic-metadata">

**Author:** [@Girish\_Attarde](https://forum.ansible.com/u/Girish_Attarde)\
**Replies:** 1\
**Last updated:** [December 23, 2021, 7:56am UTC](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36144 "2021-12-23T07:56:35Z")

</div>

Can anyone help to for syntax or logic. Thanks in advance.

---

## [ansible-galaxy and git verify-tag](https://forum.ansible.com/t/ansible-galaxy-and-git-verify-tag/36146)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 3\
**Last updated:** [December 22, 2021, 5:43pm UTC](https://forum.ansible.com/t/ansible-galaxy-and-git-verify-tag/36146 "2021-12-22T17:43:15Z")

</div>

HI! Is it possible to make ansible-galaxy invoke 'git verify-tag' with a locally configured GPG public key on tags specified as version: in requirements.yml? Thx in advance for any hint. Ciao, Michael.

---

## [Deploy a Firewall in Ansible](https://forum.ansible.com/t/deploy-a-firewall-in-ansible/36131)

<div class="topic-metadata">

**Author:** [@Liliana\_Achig](https://forum.ansible.com/u/Liliana_Achig)\
**Replies:** 5\
**Last updated:** [December 22, 2021, 1:12pm UTC](https://forum.ansible.com/t/deploy-a-firewall-in-ansible/36131 "2021-12-22T13:12:02Z")

</div>

Please have a playbook template to deploy a Firewall in Ansible, there are not many on the internet, I have tried with them but they don’t work for me, not Ansible firewallD, I was trying with UFW but I have not had any …

---

## [How to pass dynamic value of Ansible variable to Shell script variable and vice versa.](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36145)

<div class="topic-metadata">

**Author:** [@Girish\_Attarde](https://forum.ansible.com/u/Girish_Attarde)\
**Replies:** 0\
**Last updated:** [December 22, 2021, 6:00am UTC](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36145 "2021-12-22T06:00:42Z")

</div>

Can anyone please help me for syntax or logic. Thanks in advance.

---

## [Ansible 5.1.0 has been released](https://forum.ansible.com/t/ansible-5-1-0-has-been-released/36143)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 6:34pm UTC](https://forum.ansible.com/t/ansible-5-1-0-has-been-released/36143 "2021-12-21T18:34:41Z")

</div>

Hi all, We're happy to announce that the Ansible 5.1.0 package has been released ! Ansible 5.1.0 includes the newly released ansible-core 2.12.1 as well as a curated set of Ansible collections to provide a vast number…

---

## [automate ansible pull to remote repository](https://forum.ansible.com/t/automate-ansible-pull-to-remote-repository/36142)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 5:51pm UTC](https://forum.ansible.com/t/automate-ansible-pull-to-remote-repository/36142 "2021-12-21T17:51:12Z")

</div>

Hello, i new with Ansible, very very very newbie, I am reading a book of approximately 400 pages, haven’t finished reading yet, but I need to automate a process as soon as possible, so I request your help. I’m trying to…

---

## [Changing the PATH environment variable inside awx\_task container](https://forum.ansible.com/t/changing-the-path-environment-variable-inside-awx-task-container/36116)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [December 21, 2021, 4:20pm UTC](https://forum.ansible.com/t/changing-the-path-environment-variable-inside-awx-task-container/36116 "2021-12-21T16:20:57Z")

</div>

Hello everyone, The challenge I’m facing seems quite simple but proves to be quite difficult to solve. Some roles call some scripts which contain calls to other scripts. AWX 17.1.0 fails by complaining that it cannot …

---

## [WinRM Slowness - ansible](https://forum.ansible.com/t/winrm-slowness-ansible/36141)

<div class="topic-metadata">

**Author:** [@RAJ\_SPEED](https://forum.ansible.com/u/RAJ_SPEED)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 2:44pm UTC](https://forum.ansible.com/t/winrm-slowness-ansible/36141 "2021-12-21T14:44:17Z")

</div>

Hi All, I’m facing huge slowness, for any task to perform on windows machines(through Ansible AWX). Does anyone had any success in overcoming WINRM slowness. Thanks

---

## [Need an urgent help on Awx 17.x Project sync and template run is not working](https://forum.ansible.com/t/need-an-urgent-help-on-awx-17-x-project-sync-and-template-run-is-not-working/36137)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 1\
**Last updated:** [December 21, 2021, 1:47pm UTC](https://forum.ansible.com/t/need-an-urgent-help-on-awx-17-x-project-sync-and-template-run-is-not-working/36137 "2021-12-21T13:47:56Z")

</div>

Dear users, I have awx 17.x and have been working fine for years with no issues found. Today we faced an issue when we sync the git project. It just shows as running for 7+ hours but nothing showing on the job logs. th…

---

## [How to end play in a role based on condition, but keep playing the rest of the roles](https://forum.ansible.com/t/how-to-end-play-in-a-role-based-on-condition-but-keep-playing-the-rest-of-the-roles/36140)

<div class="topic-metadata">

**Author:** [@Rijesh\_Puthiya\_Puray](https://forum.ansible.com/u/Rijesh_Puthiya_Puray)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 1:07pm UTC](https://forum.ansible.com/t/how-to-end-play-in-a-role-based-on-condition-but-keep-playing-the-rest-of-the-roles/36140 "2021-12-21T13:07:41Z")

</div>

Hello, I have a playbook that has multiple roles in it. How can I exit from the execution of a role’s task while continuing to play the other roles?The module meta: end\_play just ends the play at the place it is called,…

---

## [Error while copying the file](https://forum.ansible.com/t/error-while-copying-the-file/36139)

<div class="topic-metadata">

**Author:** [@Kumar\_Rahul](https://forum.ansible.com/u/Kumar_Rahul)\
**Replies:** 1\
**Last updated:** [December 21, 2021, 10:18am UTC](https://forum.ansible.com/t/error-while-copying-the-file/36139 "2021-12-21T10:18:47Z")

</div>

Hello all , I am new to this please help and reply when i was trying to copy one file to other location i am getting

---

## [How to set the docker current working directory via commandline ansible-runner?](https://forum.ansible.com/t/how-to-set-the-docker-current-working-directory-via-commandline-ansible-runner/36092)

<div class="topic-metadata">

**Author:** [@Vincent\_Rubiolo](https://forum.ansible.com/u/Vincent_Rubiolo)\
**Replies:** 2\
**Last updated:** [December 20, 2021, 7:57pm UTC](https://forum.ansible.com/t/how-to-set-the-docker-current-working-directory-via-commandline-ansible-runner/36092 "2021-12-20T19:57:23Z")

</div>

Hi everyone, Apart from running locally the AWX jobs (see the other thread at https://groups.google.com/g/awx-project/c/XhY-uDSxDIo for the motivation), I am also focusing on running ansible-runner locally in commandlin…

---

## [Execute an .sql script on mysql with secure installation](https://forum.ansible.com/t/execute-an-sql-script-on-mysql-with-secure-installation/36136)

<div class="topic-metadata">

**Author:** [@Mythicale](https://forum.ansible.com/u/Mythicale)\
**Replies:** 5\
**Last updated:** [December 20, 2021, 7:17pm UTC](https://forum.ansible.com/t/execute-an-sql-script-on-mysql-with-secure-installation/36136 "2021-12-20T19:17:29Z")

</div>

Hi, I am trying to use an sql script to create a database in mariadb on a openbsd server with ansible. My playbook first create the script with the name of the database to create and then uses expect to give the comman…

---

## [Facing Issue Ansible Summary](https://forum.ansible.com/t/facing-issue-ansible-summary/36134)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 3\
**Last updated:** [December 20, 2021, 2:58pm UTC](https://forum.ansible.com/t/facing-issue-ansible-summary/36134 "2021-12-20T14:58:39Z")

</div>

Hi Team, Facing a very strange issue, my failed task output getting swapped with another task, in summary, we have done some modification in the callback module but never saw like this before, any suggestion

---

## [Prevent single failure killing playbook](https://forum.ansible.com/t/prevent-single-failure-killing-playbook/36109)

<div class="topic-metadata">

**Author:** [@Thomas\_Zarowski](https://forum.ansible.com/u/Thomas_Zarowski)\
**Replies:** 2\
**Last updated:** [December 20, 2021, 2:25pm UTC](https://forum.ansible.com/t/prevent-single-failure-killing-playbook/36109 "2021-12-20T14:25:35Z")

</div>

Hi All, I am currently running a playbook of several tasks, with serial:1 specified. If any of the tasks fail on host 1, I would like to still try them on host 2 and host 3 etc. Perhaps host 1 is just too busy at the t…

---

## [vars dictionary](https://forum.ansible.com/t/vars-dictionary/36132)

<div class="topic-metadata">

**Author:** [@Andrew\_K](https://forum.ansible.com/u/Andrew_K)\
**Replies:** 0\
**Last updated:** [December 20, 2021, 12:13am UTC](https://forum.ansible.com/t/vars-dictionary/36132 "2021-12-20T00:13:52Z")

</div>

Hello, A few years back I wrote a playbook that defined a variable like this: variable\_names: “{{ vars.keys() }}” The playbook is still working fine, but when I recently revisited it and tried to refresh myself on how…

---

## [export all ec2 tags](https://forum.ansible.com/t/export-all-ec2-tags/36129)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [December 19, 2021, 5:49am UTC](https://forum.ansible.com/t/export-all-ec2-tags/36129 "2021-12-19T05:49:36Z")

</div>

Hi below playbook only export 1 ec2 tags Any please suggestions how can i modify to export all

---

## [Formatting facts as a variable list to another module](https://forum.ansible.com/t/formatting-facts-as-a-variable-list-to-another-module/36127)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 0\
**Last updated:** [December 17, 2021, 2:22pm UTC](https://forum.ansible.com/t/formatting-facts-as-a-variable-list-to-another-module/36127 "2021-12-17T14:22:53Z")

</div>

I’m trying to use the ansible-freeipa user module to disable a list of users (https://github.com/freeipa/ansible-freeipa/blob/master/README-user.md). The module accepts a list for its users parameter. I can get the list …

---

## [AWX + Minikube+/etc/tower/settings.py  edit (ro)](https://forum.ansible.com/t/awx-minikube-etc-tower-settings-py-edit-ro/36023)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 3\
**Last updated:** [December 17, 2021, 10:45am UTC](https://forum.ansible.com/t/awx-minikube-etc-tower-settings-py-edit-ro/36023 "2021-12-17T10:45:37Z")

</div>

How to change awx’s CSRF to false? I know it’s in /etc/tower/settings.py . The default directory is /var/lib/awx/projects, and I want to change this to a different directory. However, there is an issue because I insta…

---

## [Why "message has been deleted"?](https://forum.ansible.com/t/why-message-has-been-deleted/36115)

<div class="topic-metadata">

**Author:** [@Vincent\_Rubiolo](https://forum.ansible.com/u/Vincent_Rubiolo)\
**Replies:** 4\
**Last updated:** [December 17, 2021, 9:30am UTC](https://forum.ansible.com/t/why-message-has-been-deleted/36115 "2021-12-17T09:30:26Z")

</div>

Hi there, I tried to replied 3 times to the OP at https://groups.google.com/g/awx-project/c/SiGsMKMrchY and my message got deleted 3 times as a result (cf capture below). Does someone know what happened? I find this ve…

---

## [Need Help! JuniperJunosModule' object has no attribute '\_pyez\_conn'\\n"](https://forum.ansible.com/t/need-help-juniperjunosmodule-object-has-no-attribute-pyez-conn-n/36124)

<div class="topic-metadata">

**Author:** [@nishant\_shah](https://forum.ansible.com/u/nishant_shah)\
**Replies:** 1\
**Last updated:** [December 17, 2021, 7:41am UTC](https://forum.ansible.com/t/need-help-juniperjunosmodule-object-has-no-attribute-pyez-conn-n/36124 "2021-12-17T07:41:40Z")

</div>

Hi, I am working on managing Juniper devices using Ansible. I am trying to add a new user using a playbook- PLAYBOOK-

---

## [Append DNS Suffix to some hosts in inventory](https://forum.ansible.com/t/append-dns-suffix-to-some-hosts-in-inventory/36125)

<div class="topic-metadata">

**Author:** [@Ian\_Batchelder](https://forum.ansible.com/u/Ian_Batchelder)\
**Replies:** 0\
**Last updated:** [December 17, 2021, 12:27am UTC](https://forum.ansible.com/t/append-dns-suffix-to-some-hosts-in-inventory/36125 "2021-12-17T00:27:19Z")

</div>

Q: append a specific DNS suffix to a subset of hosts via group\_vars? My organization uses a dynamic inventory generated from multiple sources that contains hosts with varying DNS suffixes listed by hostname only, not FQ…

---

## [Iterate host definitions into single file](https://forum.ansible.com/t/iterate-host-definitions-into-single-file/36089)

<div class="topic-metadata">

**Author:** [@chrisjx](https://forum.ansible.com/u/chrisjx)\
**Replies:** 7\
**Last updated:** [December 16, 2021, 8:40pm UTC](https://forum.ansible.com/t/iterate-host-definitions-into-single-file/36089 "2021-12-16T20:40:37Z")

</div>

I use ansible a lot for work and for my home lab. I love it. I keep needing an approach that so far has stumped me, so asking here for advice. I want to create a single file (an icinga2\_hosts.conf) which has a separate…

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

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