# Archives

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

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

**Page:** 38

---

## [Conditionals within roles](https://forum.ansible.com/t/conditionals-within-roles/37801)

<div class="topic-metadata">

**Author:** [@Chip\_Burke](https://forum.ansible.com/u/Chip_Burke)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 2:57pm UTC](https://forum.ansible.com/t/conditionals-within-roles/37801 "2023-03-23T14:57:40Z")

</div>

I have a playbook with a role hosts: somehost roles: role: community.some.role hostname: “{{ansible\_hostname}}” server: 192.168.1.2 api\_server\_url: https://some.server.com url\_path: /api api\_use\_ssl: yes userpar…

---

## [Proxy SG (Blue Coat) enable mode](https://forum.ansible.com/t/proxy-sg-blue-coat-enable-mode/37490)

<div class="topic-metadata">

**Author:** [@Vicente\_Dominguez](https://forum.ansible.com/u/Vicente_Dominguez)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 1:03pm UTC](https://forum.ansible.com/t/proxy-sg-blue-coat-enable-mode/37490 "2023-03-23T13:03:25Z")

</div>

Dear all, Does anybody know how to perform the privilege escalation to “enable” in Proxy SG via Ansible? I have tried the following code, with no luck: \*\*\*OS = JUNOS because I could not find SG OS and somebody told us…

---

## [How to get a list of dict with a cat from command module](https://forum.ansible.com/t/how-to-get-a-list-of-dict-with-a-cat-from-command-module/37797)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 10:13am UTC](https://forum.ansible.com/t/how-to-get-a-list-of-dict-with-a-cat-from-command-module/37797 "2023-03-23T10:13:57Z")

</div>

Hi everyone, I’m using the cat command with the command module to retrieve remote files content. With a loop within a find module I get filename and call a task, so like this: \[…\] name: Read the content of all files …

---

## [Location of aws credentials for awx-operator](https://forum.ansible.com/t/location-of-aws-credentials-for-awx-operator/36038)

<div class="topic-metadata">

**Author:** [@Frederic\_EGMORTE](https://forum.ansible.com/u/Frederic_EGMORTE)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 8:18am UTC](https://forum.ansible.com/t/location-of-aws-credentials-for-awx-operator/36038 "2023-03-23T08:18:21Z")

</div>

Hi everyone, I deployed awx-operator with Kubernetes. I try to get inventories working with boto\_profile but that doesn’t work. When I define credential in awx everything is okay but with .aws/credentials and .aws/con…

---

## [azure\_rm\_resourcegroup\_info usage help](https://forum.ansible.com/t/azure-rm-resourcegroup-info-usage-help/37771)

<div class="topic-metadata">

**Author:** [@callmeshawn](https://forum.ansible.com/u/callmeshawn)\
**Replies:** 5\
**Last updated:** [March 22, 2023, 7:20pm UTC](https://forum.ansible.com/t/azure-rm-resourcegroup-info-usage-help/37771 "2023-03-22T19:20:21Z")

</div>

Hello, I have a playbook where I am calling my az commands via the command module. It works as expected. I’m trying to convert it to PoSH (different thread) and as I’m seeing some issues there, falling back to using s…

---

## [Running ansible content fails on kubernetes host](https://forum.ansible.com/t/running-ansible-content-fails-on-kubernetes-host/37798)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 6:49pm UTC](https://forum.ansible.com/t/running-ansible-content-fails-on-kubernetes-host/37798 "2023-03-22T18:49:20Z")

</div>

Good Afternoon, So I have a problem, I am wondering if there is an easy way around it that I am just not seeing. So, we have AWX running in a kubernetes environment. The cluster nodes are all ansible managed. We have no…

---

## [Lost in external secrets battle please help!](https://forum.ansible.com/t/lost-in-external-secrets-battle-please-help/37714)

<div class="topic-metadata">

**Author:** [@shrutebattlestargala](https://forum.ansible.com/u/shrutebattlestargala)\
**Replies:** 3\
**Last updated:** [March 22, 2023, 6:43pm UTC](https://forum.ansible.com/t/lost-in-external-secrets-battle-please-help/37714 "2023-03-22T18:43:12Z")

</div>

Hello! I have been using AWX for over 4 years now and have seen much improvement along the way. Something that is a bit unclear is how to utilize AWS Secrets Manager for a machine credential. That way - it pulls the pas…

---

## [AWX - conection via ssh key problem](https://forum.ansible.com/t/awx-conection-via-ssh-key-problem/37591)

<div class="topic-metadata">

**Author:** [@dawid.grygrzc](https://forum.ansible.com/u/dawid.grygrzc)\
**Replies:** 20\
**Last updated:** [March 22, 2023, 6:37pm UTC](https://forum.ansible.com/t/awx-conection-via-ssh-key-problem/37591 "2023-03-22T18:37:35Z")

</div>

Welcome, I have the following problem: When I try to execute the ping command on an external server (authentication via ssh), a connection timeout message is displayed. When creating credentials, the type was selected …

---

## [make docker-compose-build error](https://forum.ansible.com/t/make-docker-compose-build-error/37681)

<div class="topic-metadata">

**Author:** [@Yuefeng\_Yuan](https://forum.ansible.com/u/Yuefeng_Yuan)\
**Replies:** 4\
**Last updated:** [March 22, 2023, 3:04pm UTC](https://forum.ansible.com/t/make-docker-compose-build-error/37681 "2023-03-22T15:04:36Z")

</div>

Hi all, Happen error during run "make docker-compose-build“ as below: Traceback (most recent call last): File “setup.py”, line 9, in from setuptools import setup ModuleNotFoundError: No module named ‘setuptools’ T…

---

## [Creating Hop nodes on runtime](https://forum.ansible.com/t/creating-hop-nodes-on-runtime/37782)

<div class="topic-metadata">

**Author:** [@Erez\_Tamam](https://forum.ansible.com/u/Erez_Tamam)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 2:43pm UTC](https://forum.ansible.com/t/creating-hop-nodes-on-runtime/37782 "2023-03-22T14:43:07Z")

</div>

Hi, So I saw there is now an option to add execution nodes on k8s installation on runtime, which is a great feature, but I haven’t seen any documentation/implementation on how to add hop nodes, and the add an execution …

---

## [Problem with file transfer](https://forum.ansible.com/t/problem-with-file-transfer/37788)

<div class="topic-metadata">

**Author:** [@Axel\_Kurowski](https://forum.ansible.com/u/Axel_Kurowski)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 7:49am UTC](https://forum.ansible.com/t/problem-with-file-transfer/37788 "2023-03-22T07:49:00Z")

</div>

Hello, I have two hosts and I would like to transfer a file between them. So I have the file.tar.gz and I need to copy it from HOST1 to HOST2. When we execute the playbook, it hangs on the step: Using module file /us…

---

## [New release candidate: ansible-core 2.14.4rc1](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-14-4rc1/37795)

<div class="topic-metadata">

**Author:** [@Matt\_Davis2](https://forum.ansible.com/u/Matt_Davis2)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 8:15pm UTC](https://forum.ansible.com/t/new-release-candidate-ansible-core-2-14-4rc1/37795 "2023-03-21T20:15:44Z")

</div>

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

---

## [Specify CA file for httpapi connection plugin](https://forum.ansible.com/t/specify-ca-file-for-httpapi-connection-plugin/37793)

<div class="topic-metadata">

**Author:** [@Roman\_Dodin](https://forum.ansible.com/u/Roman_Dodin)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 7:51pm UTC](https://forum.ansible.com/t/specify-ca-file-for-httpapi-connection-plugin/37793 "2023-03-21T19:51:05Z")

</div>

Hi all, for an httpapi connection plugin is there a way to specify a path to the ca.pem file to validate client certificate? I see options to use\_ssl and ansible\_httpapi\_validate\_certs, but nothing that enables me to s…

---

## [Changing towerhost to a clickable link](https://forum.ansible.com/t/changing-towerhost-to-a-clickable-link/37784)

<div class="topic-metadata">

**Author:** [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 4:41pm UTC](https://forum.ansible.com/t/changing-towerhost-to-a-clickable-link/37784 "2023-03-21T16:41:48Z")

</div>

I have created a notification that sends job results to our slack workspace. The url in the messages starts with ‘https://towerhost/#/jobs/playbook/…’ How do I change ‘towerhost’ so that the url contains a clickable li…

---

## [Issue with a shell command](https://forum.ansible.com/t/issue-with-a-shell-command/37789)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [March 21, 2023, 4:25pm UTC](https://forum.ansible.com/t/issue-with-a-shell-command/37789 "2023-03-21T16:25:41Z")

</div>

We have a role that implements the CIS benchmarks on our systems. When we get to the following play, we get the error described below: name: Disable System Accounts - preparation ansible.builtin.shell: | set -o pipef…

---

## [Task timeout not triggered](https://forum.ansible.com/t/task-timeout-not-triggered/37792)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 3:48pm UTC](https://forum.ansible.com/t/task-timeout-not-triggered/37792 "2023-03-21T15:48:33Z")

</div>

Hello, We had a situation where our OS update playbook hung on the task below: name: Call Oracle relink script ansible.builtin.shell: “{{ relink\_oracle\_binaries }}” args: warn: false register: relink\_output {{rel…

---

## [Suppressing secrets in Ansible console output](https://forum.ansible.com/t/suppressing-secrets-in-ansible-console-output/37791)

<div class="topic-metadata">

**Author:** [@Ed\_Ravin](https://forum.ansible.com/u/Ed_Ravin)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 3:18pm UTC](https://forum.ansible.com/t/suppressing-secrets-in-ansible-console-output/37791 "2023-03-21T15:18:26Z")

</div>

At my current shop we’re trying to clean up the display of secrets in Ansible output. The standard recommendation, using “no\_log” in the playbook, isn’t good for our environment, as we have many playbooks that don’t use …

---

## [how to handle prompts in aruba\_command module](https://forum.ansible.com/t/how-to-handle-prompts-in-aruba-command-module/37787)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 11:46am UTC](https://forum.ansible.com/t/how-to-handle-prompts-in-aruba-command-module/37787 "2023-03-21T11:46:33Z")

</div>

Hi, i want to copy os image from tftp server to aruba switch . when i tried manually its asking for prompt Continue(y/n)? How to handle this prompt in ansible playbook task for aruba switches. Thanks in advance.

---

## [unreachable and retries](https://forum.ansible.com/t/unreachable-and-retries/37785)

<div class="topic-metadata">

**Author:** [@Francisco\_Palomares](https://forum.ansible.com/u/Francisco_Palomares)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 7:57pm UTC](https://forum.ansible.com/t/unreachable-and-retries/37785 "2023-03-20T19:57:47Z")

</div>

Hi Ansible Experts ! I am working in a playbook that executes a long running task (patching), that if the session gets disconnected half-way in the execution can cause serious damage in the target server. Using async m…

---

## [Ansible Molecule help](https://forum.ansible.com/t/ansible-molecule-help/37786)

<div class="topic-metadata">

**Author:** [@kyle\_jones](https://forum.ansible.com/u/kyle_jones)\
**Replies:** 0\
**Last updated:** [March 20, 2023, 6:54pm UTC](https://forum.ansible.com/t/ansible-molecule-help/37786 "2023-03-20T18:54:04Z")

</div>

Hey folks, I have been attempting to configure a consistent Ansible Molecule stack, but I seem to never find up to date instructions and I have had issues with the using Molecule’s documentation (which probably issues o…

---

## [Vmware.Collection: vmware\_guest\_snapshot setting expiration](https://forum.ansible.com/t/vmware-collection-vmware-guest-snapshot-setting-expiration/37757)

<div class="topic-metadata">

**Author:** [@kyle\_jones](https://forum.ansible.com/u/kyle_jones)\
**Replies:** 6\
**Last updated:** [March 20, 2023, 6:49pm UTC](https://forum.ansible.com/t/vmware-collection-vmware-guest-snapshot-setting-expiration/37757 "2023-03-20T18:49:12Z")

</div>

Hello, Does anyone have any documentation or know what parameters to use when using vmware\_guest\_snapshot to take snapshot, but adding an expiration period? I looked over the ansible docs a few times and I did not see …

---

## [How to install 2 awx on the same cluster in 2 different namespace ?](https://forum.ansible.com/t/how-to-install-2-awx-on-the-same-cluster-in-2-different-namespace/37717)

<div class="topic-metadata">

**Author:** [@milod](https://forum.ansible.com/u/milod)\
**Replies:** 2\
**Last updated:** [March 20, 2023, 7:28am UTC](https://forum.ansible.com/t/how-to-install-2-awx-on-the-same-cluster-in-2-different-namespace/37717 "2023-03-20T07:28:14Z")

</div>

Hello, I have 2 namespace : infra-int and infra-dev. AWX run in infra-dev. When I try to install with helm the second AWX in infra-int I get the following message : Error: INSTALLATION FAILED: rendered manifests conta…

---

## [ssh-agent module does error connecting to agent](https://forum.ansible.com/t/ssh-agent-module-does-error-connecting-to-agent/37783)

<div class="topic-metadata">

**Author:** [@Frans\_van\_Berckel](https://forum.ansible.com/u/Frans_van_Berckel)\
**Replies:** 0\
**Last updated:** [March 20, 2023, 4:55am UTC](https://forum.ansible.com/t/ssh-agent-module-does-error-connecting-to-agent/37783 "2023-03-20T04:55:02Z")

</div>

I found ssh\_agent.py by Google and tweaked a bit, but running does … $ ansible -vvvvv -m ssh\_agent -a ‘ssh\_key\_file=/home/ansible/ssh/rsa\_id ssh\_env\_file=/home/ansible/.ssh-agent-env ssh\_passphrase=’ localhost localhos…

---

## [Not able to pass hostname as extra var from ansible tower](https://forum.ansible.com/t/not-able-to-pass-hostname-as-extra-var-from-ansible-tower/37780)

<div class="topic-metadata">

**Author:** [@Abhiroxxx](https://forum.ansible.com/u/Abhiroxxx)\
**Replies:** 5\
**Last updated:** [March 20, 2023, 12:58am UTC](https://forum.ansible.com/t/not-able-to-pass-hostname-as-extra-var-from-ansible-tower/37780 "2023-03-20T00:58:08Z")

</div>

Hi there, I want to pass hostname as extra variable from ansible tower to Playbook.how can i do this and how can i add this hostname to playbook? Regards, Abhi

---

## [ansible error](https://forum.ansible.com/t/ansible-error/37781)

<div class="topic-metadata">

**Author:** [@Ismayil\_Eyyublu](https://forum.ansible.com/u/Ismayil_Eyyublu)\
**Replies:** 2\
**Last updated:** [March 18, 2023, 9:02pm UTC](https://forum.ansible.com/t/ansible-error/37781 "2023-03-18T21:02:40Z")

</div>

Hi, there is some problem with ansible-playbook. I want to lock multiple laptops using i3lock.

---

## [best design for dmz ?](https://forum.ansible.com/t/best-design-for-dmz/37697)

<div class="topic-metadata">

**Author:** [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 5:53pm UTC](https://forum.ansible.com/t/best-design-for-dmz/37697 "2023-03-17T17:53:00Z")

</div>

hello I wonder about the design of the infra for a dmz, It is possible from the controller to send jobs to another kubernetes cluster which only requires the apiserver between the controller and the remote Or the autom…

---

## ["HTTP Error 404: Not Found"](https://forum.ansible.com/t/http-error-404-not-found/37779)

<div class="topic-metadata">

**Author:** [@Manuel\_Busse](https://forum.ansible.com/u/Manuel_Busse)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 5:46pm UTC](https://forum.ansible.com/t/http-error-404-not-found/37779 "2023-03-17T17:46:38Z")

</div>

Hello, I am currently facing the following error, when trying to use the httpapi connection to connect to a Extreme Summit X460-48p switch which has web http enabled. If I try to access the device via a browser and its…

---

## [Create more hosts in one group using API](https://forum.ansible.com/t/create-more-hosts-in-one-group-using-api/37773)

<div class="topic-metadata">

**Author:** [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Replies:** 4\
**Last updated:** [March 17, 2023, 5:44pm UTC](https://forum.ansible.com/t/create-more-hosts-in-one-group-using-api/37773 "2023-03-17T17:44:45Z")

</div>

Hi All, We have an AWX instance hosted on Ubuntu. We don’t have access to the server and just the AWX UI access. Here I need to create an inventory with groups having more than 100+ servers. In the UI, using ‘add newhos…

---

## [cleanup\_jobs is not deleting the old jobs but skipping it](https://forum.ansible.com/t/cleanup-jobs-is-not-deleting-the-old-jobs-but-skipping-it/37772)

<div class="topic-metadata">

**Author:** [@Imran\_Khan](https://forum.ansible.com/u/Imran_Khan)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 5:36pm UTC](https://forum.ansible.com/t/cleanup-jobs-is-not-deleting-the-old-jobs-but-skipping-it/37772 "2023-03-17T17:36:33Z")

</div>

Hello Team, Please help me understand why the below command is not deleting the old jobs but skipping them all. Attached snapshot for reference. awx version: 15.0.0 awx-manage cleanup\_jobs --days=60 Thanks, Imran Kh…

---

## [Resilience and scaling with AWX-Operator](https://forum.ansible.com/t/resilience-and-scaling-with-awx-operator/37770)

<div class="topic-metadata">

**Author:** [@Nathan\_McGee](https://forum.ansible.com/u/Nathan_McGee)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 5:33pm UTC](https://forum.ansible.com/t/resilience-and-scaling-with-awx-operator/37770 "2023-03-17T17:33:31Z")

</div>

Hey all, I’m new to the operator sdk. Could anyone advise on what resilience scaling options are available? I’d like to ensure that the AWX web interface is always available in the event of planned/unplanned outages. …

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

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