# Archives

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

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

**Page:** 88

---

## [Shell script doesn't run completely even on using async](https://forum.ansible.com/t/shell-script-doesnt-run-completely-even-on-using-async/36326)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 8:55pm UTC](https://forum.ansible.com/t/shell-script-doesnt-run-completely-even-on-using-async/36326 "2022-02-15T20:55:05Z")

</div>

Hi all, I have an interactive shell script(vendor install script ) that i need to run. The script has 50+ Q’s and i used Ansible shell module with “expect” args to automate it . Manually the script takes 10+ mins to c…

---

## [Live GPT partition expansion](https://forum.ansible.com/t/live-gpt-partition-expansion/36332)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 9:18am UTC](https://forum.ansible.com/t/live-gpt-partition-expansion/36332 "2022-02-15T09:18:48Z")

</div>

Hello, Has anybody worked on expanding GPT partitions live, without unmounting the associated xfs or ext4 filesystem? (We don’t use LVM, by the way.) I have a working playbook that does that during VM deployments using…

---

## [Retry in job templates](https://forum.ansible.com/t/retry-in-job-templates/36325)

<div class="topic-metadata">

**Author:** [@Ankur\_Porwal](https://forum.ansible.com/u/Ankur_Porwal)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 5:55pm UTC](https://forum.ansible.com/t/retry-in-job-templates/36325 "2022-02-14T17:55:36Z")

</div>

Hi All, Hope you all are doing good in these trying times ! I have AWX 15.0.0 in my environment. And some times job templates gets failed due to random errors, which does get correctly when we re run that job template…

---

## [dateutil required for this module](https://forum.ansible.com/t/dateutil-required-for-this-module/36306)

<div class="topic-metadata">

**Author:** [@Jason\_Bourne](https://forum.ansible.com/u/Jason_Bourne)\
**Replies:** 4\
**Last updated:** [February 14, 2022, 4:07pm UTC](https://forum.ansible.com/t/dateutil-required-for-this-module/36306 "2022-02-14T16:07:00Z")

</div>

I guys, I need to some help on this one. I create a task to upload some files on an S3 bucket. When running the playbook I get the following error: FAILED! =\> {“changed”: false, “msg”: “dateutil required for this modu…

---

## [openssl\_certificate\_info subject\_hash?](https://forum.ansible.com/t/openssl-certificate-info-subject-hash/36328)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 1:28pm UTC](https://forum.ansible.com/t/openssl-certificate-info-subject-hash/36328 "2022-02-14T13:28:34Z")

</div>

Hi I am moving some older code that uses openssl shell commands to use the newer community crypto OpenSSL ansible modules. Most of that works well. However, I have this task to find the issuer's hash: shell: echo "{…

---

## [Failed : 7 test scenario while running sanity test for collection](https://forum.ansible.com/t/failed-7-test-scenario-while-running-sanity-test-for-collection/36330)

<div class="topic-metadata">

**Author:** [@selvigp](https://forum.ansible.com/u/selvigp)\
**Replies:** 0\
**Last updated:** [February 14, 2022, 5:56am UTC](https://forum.ansible.com/t/failed-7-test-scenario-while-running-sanity-test-for-collection/36330 "2022-02-14T05:56:53Z")

</div>

Hi, I have tried to run ansible- test sanity in the path where my collection located. But I am getting testcases failing for only 7 scenario. I have searched in official website and other blogs. I couldn’t get answers f…

---

## [problem while running role](https://forum.ansible.com/t/problem-while-running-role/36322)

<div class="topic-metadata">

**Author:** [@Ashir](https://forum.ansible.com/u/Ashir)\
**Replies:** 9\
**Last updated:** [February 13, 2022, 10:37am UTC](https://forum.ansible.com/t/problem-while-running-role/36322 "2022-02-13T10:37:39Z")

</div>

module\_stdout": “\\r\\nTraceback (most recent call last):\\r\\n File "/tmp/ansible\_dfQNUM/ansible\_module\_setup.py", line 139, in \\r\\n main()\\r\\n File "/tmp/ansible\_dfQNUM/ansible\_module\_setup.py", line 131, in main\\r\\n data …

---

## [AWX gather\_facts not writing results to host field](https://forum.ansible.com/t/awx-gather-facts-not-writing-results-to-host-field/36327)

<div class="topic-metadata">

**Author:** [@Harald\_Thomas](https://forum.ansible.com/u/Harald_Thomas)\
**Replies:** 0\
**Last updated:** [February 12, 2022, 9:09pm UTC](https://forum.ansible.com/t/awx-gather-facts-not-writing-results-to-host-field/36327 "2022-02-12T21:09:02Z")

</div>

Hi all, I’m a newbie to ansible and awx. gather\_facts is able to collect facts about the hosts. Running it on cli gives me the output that I want. But running the playbook via AWX is not writing the facts into the host…

---

## [INSTALL AWX V19](https://forum.ansible.com/t/install-awx-v19/36324)

<div class="topic-metadata">

**Author:** [@Jef\_Contreras](https://forum.ansible.com/u/Jef_Contreras)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 8:50pm UTC](https://forum.ansible.com/t/install-awx-v19/36324 "2022-02-11T20:50:27Z")

</div>

Estoy tratando de instalar awx 19 en docker pero me salen errores de instalación, me podrían compartir documentación de instalacion.

---

## [ansible -a sudo command hangs](https://forum.ansible.com/t/ansible-a-sudo-command-hangs/36319)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [February 11, 2022, 7:35pm UTC](https://forum.ansible.com/t/ansible-a-sudo-command-hangs/36319 "2022-02-11T19:35:36Z")

</div>

I am trying to run remote commands on few servers ansible -a “df -h” myservers -i hosts -u “user” --assk-pass this works but when i do ansible -a “sudo systemctl status docker” -i hosts -u "user --ask-pass then i en…

---

## [Project sync SSH issues on brand-new AWX instance](https://forum.ansible.com/t/project-sync-ssh-issues-on-brand-new-awx-instance/36314)

<div class="topic-metadata">

**Author:** [@Max\_Hosel](https://forum.ansible.com/u/Max_Hosel)\
**Replies:** 4\
**Last updated:** [February 11, 2022, 1:29pm UTC](https://forum.ansible.com/t/project-sync-ssh-issues-on-brand-new-awx-instance/36314 "2022-02-11T13:29:44Z")

</div>

Hello! I’m trying to set up a fresh AWX instance and I’ve run into an issue while creating/syncing a project. I’m trying to pull a private repo from GitHub using an SSH credential, but no matter what I do, the sync job…

---

## [Problem clean SPN from Ansible but works in MSTSC session](https://forum.ansible.com/t/problem-clean-spn-from-ansible-but-works-in-mstsc-session/36315)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 9:13am UTC](https://forum.ansible.com/t/problem-clean-spn-from-ansible-but-works-in-mstsc-session/36315 "2022-02-11T09:13:19Z")

</div>

Hi everyone, I have a problem to clean SPN of MSSQL database instance by Ansible. First i copy a script on the server : name : “{{ titre\_clean\_spn }} - Copie du fichier ps1 pour le nettoyage des SPN sur le serveur” …

---

## [sqlite3.Row not working in module](https://forum.ansible.com/t/sqlite3-row-not-working-in-module/36321)

<div class="topic-metadata">

**Author:** [@Joe\_Gainey](https://forum.ansible.com/u/Joe_Gainey)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 3:10am UTC](https://forum.ansible.com/t/sqlite3-row-not-working-in-module/36321 "2022-02-11T03:10:09Z")

</div>

I have a very simple module to query sqlite database. it works except that the sqlite3.Row does not seem to be functional. if anyone has run into similar issues please let me know I’m using python 3.6.8, ansible 4.9.0 …

---

## [Extracting data from a table in confluence](https://forum.ansible.com/t/extracting-data-from-a-table-in-confluence/36320)

<div class="topic-metadata">

**Author:** [@olyx11](https://forum.ansible.com/u/olyx11)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 9:48pm UTC](https://forum.ansible.com/t/extracting-data-from-a-table-in-confluence/36320 "2022-02-10T21:48:53Z")

</div>

All, I am trying to extract data from a table on confluence page. Is there a way to convert this to json or something easily parsible? Thanks, Ox

---

## [sudo not being used on remote host](https://forum.ansible.com/t/sudo-not-being-used-on-remote-host/36313)

<div class="topic-metadata">

**Author:** [@Ralph\_Hershkowitz](https://forum.ansible.com/u/Ralph_Hershkowitz)\
**Replies:** 6\
**Last updated:** [February 10, 2022, 9:38pm UTC](https://forum.ansible.com/t/sudo-not-being-used-on-remote-host/36313 "2022-02-10T21:38:44Z")

</div>

I am on server A logged in as user A with sudo permissions. I am attempting to run a privileged command on server b as user A. User A on server b also has sudo permissions. However I am getting permission errors: Inven…

---

## [Invoking copy action plugin](https://forum.ansible.com/t/invoking-copy-action-plugin/36318)

<div class="topic-metadata">

**Author:** [@yves\_baumes](https://forum.ansible.com/u/yves_baumes)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 4:04pm UTC](https://forum.ansible.com/t/invoking-copy-action-plugin/36318 "2022-02-10T16:04:02Z")

</div>

Hello, I’m trying to invoke the copy action plugin with a timestamp var. Here is the code: def copy(self, task\_vars): new\_task = self.\_task.copy() new\_task.args.update( dict( src="/etc/systemd/network/", dest="/etc/sys…

---

## [Ansible execute remote shell script with source to other files](https://forum.ansible.com/t/ansible-execute-remote-shell-script-with-source-to-other-files/36317)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 3\
**Last updated:** [February 10, 2022, 3:24pm UTC](https://forum.ansible.com/t/ansible-execute-remote-shell-script-with-source-to-other-files/36317 "2022-02-10T15:24:00Z")

</div>

Hello, I’m trying to run a playbook which executes a shell script in a remote instance. Playbook

---

## [How are artifcats copied between controller and execution nodes](https://forum.ansible.com/t/how-are-artifcats-copied-between-controller-and-execution-nodes/36295)

<div class="topic-metadata">

**Author:** [@riadhhamdi](https://forum.ansible.com/u/riadhhamdi)\
**Replies:** 2\
**Last updated:** [February 10, 2022, 9:33am UTC](https://forum.ansible.com/t/how-are-artifcats-copied-between-controller-and-execution-nodes/36295 "2022-02-10T09:33:56Z")

</div>

Hello, With the later versions of AWX we moved to receptor (automation mesh). I am trying to understand how artifacts (playbooks, inventories) are copied from controller to execution nodes. Does receptor copy them ? R…

---

## [certificate: the specified credentials were rejected by the server](https://forum.ansible.com/t/certificate-the-specified-credentials-were-rejected-by-the-server/36316)

<div class="topic-metadata">

**Author:** [@soonoman](https://forum.ansible.com/u/soonoman)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 7:43am UTC](https://forum.ansible.com/t/certificate-the-specified-credentials-were-rejected-by-the-server/36316 "2022-02-10T07:43:00Z")

</div>

I can’t connect even after completing the winrm configuration. NMAP(Linux → Windows) \[root@aeansibleapp01 ~\]# /bin/nmap -PN 1.1.1.1 -p 5986 Starting Nmap 6.40 ( http://nmap.org ) at 2022-02-09 14:30 KST Nmap scan repor…

---

## [Cant't connect GitHub repository](https://forum.ansible.com/t/cantt-connect-github-repository/36291)

<div class="topic-metadata">

**Author:** [@zuo\_tian](https://forum.ansible.com/u/zuo_tian)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 10:28pm UTC](https://forum.ansible.com/t/cantt-connect-github-repository/36291 "2022-02-09T22:28:41Z")

</div>

I installed AWX via AWX Operator. Versions: AWX: 19.5.0 AWX Operator: 0.15.0 After create a GitHub Personal Access Token and set it to AWX credential On the project setting page, I can’t find the credential create…

---

## [Action failed\_when not working with condition](https://forum.ansible.com/t/action-failed-when-not-working-with-condition/36311)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 5\
**Last updated:** [February 9, 2022, 9:34pm UTC](https://forum.ansible.com/t/action-failed-when-not-working-with-condition/36311 "2022-02-09T21:34:07Z")

</div>

Hello, I am creating a playbook, in the first task I am checking if a database exists which is previously created with another task. I need to finish the playbook if the database does not exist, for this to assemble the…

---

## [AWX inventory - can you display extra columns?](https://forum.ansible.com/t/awx-inventory-can-you-display-extra-columns/36294)

<div class="topic-metadata">

**Author:** [@Andrew\_Mulheirn](https://forum.ansible.com/u/Andrew_Mulheirn)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:28pm UTC](https://forum.ansible.com/t/awx-inventory-can-you-display-extra-columns/36294 "2022-02-09T21:28:17Z")

</div>

Hi all, I’m using the AWX inventory for a customer job because it is simpler for them to have the inventory in the same GUI as the job templates they are launching. However, I think the inventory has a couple of GUI sho…

---

## [best to deploy AWX tower on kubernetes](https://forum.ansible.com/t/best-to-deploy-awx-tower-on-kubernetes/36273)

<div class="topic-metadata">

**Author:** [@Jai\_Awasthi](https://forum.ansible.com/u/Jai_Awasthi)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:18pm UTC](https://forum.ansible.com/t/best-to-deploy-awx-tower-on-kubernetes/36273 "2022-02-09T21:18:40Z")

</div>

Hello everyone, Currently we are deploying AWX on VM’s using caddy / postgres/ rabbitmq/ memcached images \[the image versions are also very old\]. However we want to migrate to kubernetes environment. What would be the …

---

## [Safe to kill DB connection for a few seconds?](https://forum.ansible.com/t/safe-to-kill-db-connection-for-a-few-seconds/36274)

<div class="topic-metadata">

**Author:** [@ek\_8](https://forum.ansible.com/u/ek_8)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:10pm UTC](https://forum.ansible.com/t/safe-to-kill-db-connection-for-a-few-seconds/36274 "2022-02-09T21:10:23Z")

</div>

Hi everyone, We currently use HAProxy as a loadbalancer and want to reload the configuration without restarting in order to avoid downtimes. That creates new HAProxy processes and the old ones should exit as soon as the…

---

## [AWX on Openshift anyone ? (non-root)   -  awx-ee container crashing](https://forum.ansible.com/t/awx-on-openshift-anyone-non-root-awx-ee-container-crashing/36288)

<div class="topic-metadata">

**Author:** [@Dani\_Brost](https://forum.ansible.com/u/Dani_Brost)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:01pm UTC](https://forum.ansible.com/t/awx-on-openshift-anyone-non-root-awx-ee-container-crashing/36288 "2022-02-09T21:01:24Z")

</div>

Hi Is it possible to run AWX on Openshift ? (with non-root containers) I tried installing as noted in awx-operator https://github.com/ansible/awx-operator#basic-install , but container awx-ee keeps crashing: oc logs -…

---

## [cant access to lxd container through ansible](https://forum.ansible.com/t/cant-access-to-lxd-container-through-ansible/36312)

<div class="topic-metadata">

**Author:** [@Sanjay\_Luitel](https://forum.ansible.com/u/Sanjay_Luitel)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 4:58pm UTC](https://forum.ansible.com/t/cant-access-to-lxd-container-through-ansible/36312 "2022-02-09T16:58:02Z")

</div>

lxd container is created but while trying to create user it creates user in main server not in created lxd container. how can i solve this issue. thank you

---

## [How to incorporate password along with passwordless login in ansible dynamic inventory](https://forum.ansible.com/t/how-to-incorporate-password-along-with-passwordless-login-in-ansible-dynamic-inventory/36308)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 5:36am UTC](https://forum.ansible.com/t/how-to-incorporate-password-along-with-passwordless-login-in-ansible-dynamic-inventory/36308 "2022-02-09T05:36:42Z")

</div>

I give the end user to either provide username i.e dest\_user for which ssh-keys is already setup on Linux for all destination hosts i.e dest\_host. Below is how i setup dynamic inventory for passwordless user add\_host:…

---

## [sudo not working on remote server](https://forum.ansible.com/t/sudo-not-working-on-remote-server/36307)

<div class="topic-metadata">

**Author:** [@Ralph\_Hershkowitz](https://forum.ansible.com/u/Ralph_Hershkowitz)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 8:48pm UTC](https://forum.ansible.com/t/sudo-not-working-on-remote-server/36307 "2022-02-08T20:48:10Z")

</div>

I am on server A logged in as user A with sudo permissions. I am attempting to run a privileged command on server b as user A. User A on server b also has sudo permissions. However I am getting permission errors: Inven…

---

## [Unable to run sudo commands on remote server](https://forum.ansible.com/t/unable-to-run-sudo-commands-on-remote-server/36305)

<div class="topic-metadata">

**Author:** [@Ralph\_Hershkowitz](https://forum.ansible.com/u/Ralph_Hershkowitz)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 8:09pm UTC](https://forum.ansible.com/t/unable-to-run-sudo-commands-on-remote-server/36305 "2022-02-08T20:09:06Z")

</div>

I am on server A logged in as user A with sudo permissions. I am attempting to run a privileged command on server b as user A. User A on server b also has sudo permissions. However I am getting permission errors: \[rhers…

---

## [create multiple ec2 instances assign statis IP and tags](https://forum.ansible.com/t/create-multiple-ec2-instances-assign-statis-ip-and-tags/36236)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 12\
**Last updated:** [February 8, 2022, 4:08pm UTC](https://forum.ansible.com/t/create-multiple-ec2-instances-assign-statis-ip-and-tags/36236 "2022-02-08T16:08:02Z")

</div>

hi any idea how I can create multiple ec2 instances and tag it main.yml include\_vars: vars/main.yml name: create the ec2 instance ec2: assign\_public\_ip: no group\_id: ‘{{ deploy\_env.sg\_group }}’ instance\_type: “{{…

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

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