# Archives

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

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

**Page:** 48

---

## [AWX](https://forum.ansible.com/t/awx/37502)

<div class="topic-metadata">

**Author:** [@Suchi\_Bhargav](https://forum.ansible.com/u/Suchi_Bhargav)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 7:58pm UTC](https://forum.ansible.com/t/awx/37502 "2023-01-04T19:58:29Z")

</div>

Hey , do we have to put variable in hosts configuration for connecting host with awx ui using ssh ? ansible\_host: 172.16.145.49 ansible\_connection: local //ansible\_python\_interpreter: ‘{{ ansible\_playbook\_python }}’ …

---

## [AWX LDAPS  authentication - disable REQUIRE CERT](https://forum.ansible.com/t/awx-ldaps-authentication-disable-require-cert/37388)

<div class="topic-metadata">

**Author:** [@Joe](https://forum.ansible.com/u/Joe)\
**Replies:** 4\
**Last updated:** [January 4, 2023, 7:45pm UTC](https://forum.ansible.com/t/awx-ldaps-authentication-disable-require-cert/37388 "2023-01-04T19:45:43Z")

</div>

Hello, Running AWX 21.9 with operator 1.1.0 on K3s. Active Directory LDAP authentication works fine, Active Directory LDAPS does not. I have set the ldap\_cacert\_secret ldap-ca.crt and bundle\_cacert\_secret bundle-ca.cr…

---

## [Stopping and starting of services on RHES servers](https://forum.ansible.com/t/stopping-and-starting-of-services-on-rhes-servers/37519)

<div class="topic-metadata">

**Author:** [@Andrew\_Robert](https://forum.ansible.com/u/Andrew_Robert)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 6:16pm UTC](https://forum.ansible.com/t/stopping-and-starting-of-services-on-rhes-servers/37519 "2023-01-04T18:16:37Z")

</div>

Good afternoon, I am able to stop/start services on a server with ansible using ssh keys if I specify the services as items. Is there a way to modify the hosts file to supply the service names by server and pick up as …

---

## [enabling ssl/tls for awx turtorial please](https://forum.ansible.com/t/enabling-ssl-tls-for-awx-turtorial-please/37503)

<div class="topic-metadata">

**Author:** [@R\_Mitura](https://forum.ansible.com/u/R_Mitura)\
**Replies:** 3\
**Last updated:** [January 4, 2023, 2:00pm UTC](https://forum.ansible.com/t/enabling-ssl-tls-for-awx-turtorial-please/37503 "2023-01-04T14:00:22Z")

</div>

Hello, I am very new to kubernetes. I managed to install awx v18 using awx-operator since that process was well explained in README.md however I am struggling to enable awx gui to work over https. 1 do I need to insta…

---

## [How to handle later configuration changes of installed software ?](https://forum.ansible.com/t/how-to-handle-later-configuration-changes-of-installed-software/37516)

<div class="topic-metadata">

**Author:** [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 12:19pm UTC](https://forum.ansible.com/t/how-to-handle-later-configuration-changes-of-installed-software/37516 "2023-01-04T12:19:39Z")

</div>

Hello all, I use ansible to install software and do the first configuration and i like this very much. But I want to achieve that I can recreate the running systems as detailled as posible from the outside with scripts…

---

## [backup latest two war files and delete old war in jenkins](https://forum.ansible.com/t/backup-latest-two-war-files-and-delete-old-war-in-jenkins/37514)

<div class="topic-metadata">

**Author:** [@mahesh\_kumar](https://forum.ansible.com/u/mahesh_kumar)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 2:18am UTC](https://forum.ansible.com/t/backup-latest-two-war-files-and-delete-old-war-in-jenkins/37514 "2023-01-04T02:18:15Z")

</div>

Hi team, How to backup only latest two war files in jenkins and delete old war files how can we achieve using ansible playbook. can u someone share playbook for that please Regards Mahesh Kumar

---

## [Ansible inaccessible due to Cisco Secure Endpoint antivirus](https://forum.ansible.com/t/ansible-inaccessible-due-to-cisco-secure-endpoint-antivirus/37513)

<div class="topic-metadata">

**Author:** [@Joelle\_Boillat](https://forum.ansible.com/u/Joelle_Boillat)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 3:39pm UTC](https://forum.ansible.com/t/ansible-inaccessible-due-to-cisco-secure-endpoint-antivirus/37513 "2023-01-03T15:39:56Z")

</div>

Good Morning, At the beginning of December I can’t reach a server from a client. This is due to Cisco Secure Endpoint. So I want to create an exclusion for this specific server. Can anyone help me on what to exclude f…

---

## [Can we selectively install Windows Updates with Ansible](https://forum.ansible.com/t/can-we-selectively-install-windows-updates-with-ansible/27245)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 3:06pm UTC](https://forum.ansible.com/t/can-we-selectively-install-windows-updates-with-ansible/27245 "2023-01-03T15:06:57Z")

</div>

Hello Team, I am using win\_updates module in playbook with Ansible Version 2.4.2.0. Have a requirement for Automation of Windows Security and Roll-up updates patching, therefore categories selected are: SecurityUpdates,…

---

## [tasks ordering:: is it guaranteed by register/when usage?](https://forum.ansible.com/t/tasks-ordering-is-it-guaranteed-by-register-when-usage/37472)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 3\
**Last updated:** [December 31, 2022, 11:44pm UTC](https://forum.ansible.com/t/tasks-ordering-is-it-guaranteed-by-register-when-usage/37472 "2022-12-31T23:44:31Z")

</div>

Hi! Would the tasks be automatically ordered when i register a task1\_status and then i require task2 a when: task1\_status is succeeded ? Is there any chance even if the ordering in file is "task1 -\> task2" that task2…

---

## [Exit role without failure (stop processing role on condition) without ending play or stoping execution of other roles in a stack/ Ensure all roles in a stack get run even if one ends with failure](https://forum.ansible.com/t/exit-role-without-failure-stop-processing-role-on-condition-without-ending-play-or-stoping-execution-of-other-roles-in-a-stack-ensure-all-roles-in-a-stack-get-run-even-if-one-ends-with-failure/37512)

<div class="topic-metadata">

**Author:** [@sinnl](https://forum.ansible.com/u/sinnl)\
**Replies:** 0\
**Last updated:** [December 30, 2022, 12:58pm UTC](https://forum.ansible.com/t/exit-role-without-failure-stop-processing-role-on-condition-without-ending-play-or-stoping-execution-of-other-roles-in-a-stack-ensure-all-roles-in-a-stack-get-run-even-if-one-ends-with-failure/37512 "2022-12-30T12:58:34Z")

</div>

Hi, Trying what I believe to be common use case where a playbook has set of roles to configure system. this looks something like name: Do X, Y and Z hosts: all roles: role: roleA var1: value1 var2: value2 role:…

---

## [Ansible version upgrade to 3.0.0 error](https://forum.ansible.com/t/ansible-version-upgrade-to-3-0-0-error/37510)

<div class="topic-metadata">

**Author:** [@Sivaraman](https://forum.ansible.com/u/Sivaraman)\
**Replies:** 1\
**Last updated:** [December 30, 2022, 5:51am UTC](https://forum.ansible.com/t/ansible-version-upgrade-to-3-0-0-error/37510 "2022-12-30T05:51:12Z")

</div>

Hi Team, I am getting below error while installing the ansible version 3.0.0. Trackback (most recent call last): File “/usr/bin/ansible”. line 47, in from ansible.utils.unicode import to\_unicode ImportError: cannot…

---

## [Modify a password of a 'Source Control' type credential in command line](https://forum.ansible.com/t/modify-a-password-of-a-source-control-type-credential-in-command-line/37507)

<div class="topic-metadata">

**Author:** [@P\_Nom](https://forum.ansible.com/u/P_Nom)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 8:02pm UTC](https://forum.ansible.com/t/modify-a-password-of-a-source-control-type-credential-in-command-line/37507 "2022-12-29T20:02:54Z")

</div>

Hi, I use AWX 17.1.0 on Linux CentOS server. How to modify a password of a ‘Source Control’ type credential, in command line under Linux CentOS? Regards,

---

## [General question about ansible CI/CD strategy](https://forum.ansible.com/t/general-question-about-ansible-ci-cd-strategy/37484)

<div class="topic-metadata">

**Author:** [@lordofire](https://forum.ansible.com/u/lordofire)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 6:52pm UTC](https://forum.ansible.com/t/general-question-about-ansible-ci-cd-strategy/37484 "2022-12-29T18:52:51Z")

</div>

Hi team, I’m having a question about the CI/CD strategy for ansible managed resources. From my understanding, there are basically two ways: Having a periodic deployment triggered per playbook with customized running f…

---

## [To extract information from all hosts.](https://forum.ansible.com/t/to-extract-information-from-all-hosts/37494)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 3\
**Last updated:** [December 29, 2022, 6:35pm UTC](https://forum.ansible.com/t/to-extract-information-from-all-hosts/37494 "2022-12-29T18:35:49Z")

</div>

Hi All, I’m looking for extract information like Load, memory usage, uptime,swap space from all linux servers in csv farmat. could please anyone suggest playbook for the same. Regards, Shivu

---

## [Admin password not working in new build](https://forum.ansible.com/t/admin-password-not-working-in-new-build/37504)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 8\
**Last updated:** [December 28, 2022, 7:52pm UTC](https://forum.ansible.com/t/admin-password-not-working-in-new-build/37504 "2022-12-28T19:52:58Z")

</div>

I’m new to building AWX 21.10.2, but it has been working for me in OpenShift. Suddenly, 2 things happened. First, I noticed the admin password I’m setting in my scripts is not accepted by my new install. I can look at th…

---

## [Add Servers to Server Manager using PowerShell](https://forum.ansible.com/t/add-servers-to-server-manager-using-powershell/37488)

<div class="topic-metadata">

**Author:** [@Sabrthor](https://forum.ansible.com/u/Sabrthor)\
**Replies:** 5\
**Last updated:** [December 28, 2022, 10:12am UTC](https://forum.ansible.com/t/add-servers-to-server-manager-using-powershell/37488 "2022-12-28T10:12:19Z")

</div>

Hi All, I am trying to run a PowerShell code as ansible task and it isn’t working. The same script when run locally from the remote server works fine. Code: name: Session Based Desktop Deployment - Add Servers to Ser…

---

## [How to split string twice in ansible playbook hosts section.](https://forum.ansible.com/t/how-to-split-string-twice-in-ansible-playbook-hosts-section/37499)

<div class="topic-metadata">

**Author:** [@Know\_Your\_Tech](https://forum.ansible.com/u/Know_Your_Tech)\
**Replies:** 4\
**Last updated:** [December 28, 2022, 3:19am UTC](https://forum.ansible.com/t/how-to-split-string-twice-in-ansible-playbook-hosts-section/37499 "2022-12-28T03:19:26Z")

</div>

Below is how i call my ansible-playbook and pass application names as parameters APP1 & APP2 ansible-playbook -i /web/aes/admin/playbooks/updated.hosts /web/aes/admin/playbooks/split.yml -e ENV=qa -e NODE=cluster -e ins…

---

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

<div class="topic-metadata">

**Author:** [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Replies:** 2\
**Last updated:** [December 27, 2022, 8:39pm UTC](https://forum.ansible.com/t/ansible-combine-output/37276 "2022-12-27T20:39:30Z")

</div>

We need to see the playbook. We can’t help by seeing only out. Walter

---

## [Add Ansible Template as RPC dependancy for Privilege Vault/Secret Server](https://forum.ansible.com/t/add-ansible-template-as-rpc-dependancy-for-privilege-vault-secret-server/37500)

<div class="topic-metadata">

**Author:** [@Tim2](https://forum.ansible.com/u/Tim2)\
**Replies:** 0\
**Last updated:** [December 27, 2022, 7:57pm UTC](https://forum.ansible.com/t/add-ansible-template-as-rpc-dependancy-for-privilege-vault-secret-server/37500 "2022-12-27T19:57:41Z")

</div>

We’re running Delinea/Thycotic Privilege Vault in our environment. We’re trying to onboard all credentials into Privilege Vault as much as possible to leverage Auto-Change, where the password is rotated by Privilege Vau…

---

## [Cannot load env file](https://forum.ansible.com/t/cannot-load-env-file/37498)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [December 26, 2022, 5:00pm UTC](https://forum.ansible.com/t/cannot-load-env-file/37498 "2022-12-26T17:00:59Z")

</div>

include\_vars expects a yaml formatted file, so that won't understand your shell environment variables file. You could write an ansible task that parses that .env file. But I would just source that .env file from the s…

---

## [Schedule playbook](https://forum.ansible.com/t/schedule-playbook/36904)

<div class="topic-metadata">

**Author:** [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Replies:** 6\
**Last updated:** [December 26, 2022, 3:45pm UTC](https://forum.ansible.com/t/schedule-playbook/36904 "2022-12-26T15:45:07Z")

</div>

Hi Team, can any one help me ,how to create the schedule playbook and how we can schedule the play book for the same. Regards, Kumar.M

---

## [Overriding detected file kind 'yaml' with 'playbook' for given positional argument](https://forum.ansible.com/t/overriding-detected-file-kind-yaml-with-playbook-for-given-positional-argument/37489)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 5\
**Last updated:** [December 26, 2022, 7:11am UTC](https://forum.ansible.com/t/overriding-detected-file-kind-yaml-with-playbook-for-given-positional-argument/37489 "2022-12-26T07:11:41Z")

</div>

Hi Team, I am facing below error while doing ansible-lint, Any help would be appreciated command: ansible-lint test.yaml Overriding detected file kind ‘yaml’ with ‘playbook’ for given positional argument Thanks, Raj …

---

## [Issues with CentOS 8](https://forum.ansible.com/t/issues-with-centos-8/37497)

<div class="topic-metadata">

**Author:** [@tor\_eng](https://forum.ansible.com/u/tor_eng)\
**Replies:** 4\
**Last updated:** [December 25, 2022, 6:18pm UTC](https://forum.ansible.com/t/issues-with-centos-8/37497 "2022-12-25T18:18:58Z")

</div>

Hello all, I am new to ansible, trying to learn the basis so I can use it to automate some of my networking stuffs. I currently have setup a small lab with for Ubuntu and 2 CentOS systems. Anything I do on the Ubuntu wo…

---

## [running awx in a shared cluster with restricted permissions](https://forum.ansible.com/t/running-awx-in-a-shared-cluster-with-restricted-permissions/37496)

<div class="topic-metadata">

**Author:** [@Andreas](https://forum.ansible.com/u/Andreas)\
**Replies:** 1\
**Last updated:** [December 24, 2022, 8:25am UTC](https://forum.ansible.com/t/running-awx-in-a-shared-cluster-with-restricted-permissions/37496 "2022-12-24T08:25:55Z")

</div>

Hi, I have a shared Openshift cluster and my idea was to provide users which do not have admin access the ability to deploy their awx instances on demand. The operator seems to need admin access to deploy which is fine…

---

## [Identify most recent directory in a directory.](https://forum.ansible.com/t/identify-most-recent-directory-in-a-directory/37411)

<div class="topic-metadata">

**Author:** [@Jason\_Wood](https://forum.ansible.com/u/Jason_Wood)\
**Replies:** 4\
**Last updated:** [December 23, 2022, 4:12am UTC](https://forum.ansible.com/t/identify-most-recent-directory-in-a-directory/37411 "2022-12-23T04:12:31Z")

</div>

After performing a shell script, a new directory is created and I need to work with that directory, but I don’t know the name. How can I get the name of the most recent directory created? The name will be formatted lik…

---

## [win\_package how can it know package has been installed when product\_id is not specified](https://forum.ansible.com/t/win-package-how-can-it-know-package-has-been-installed-when-product-id-is-not-specified/37493)

<div class="topic-metadata">

**Author:** [@Alex\_Lu](https://forum.ansible.com/u/Alex_Lu)\
**Replies:** 1\
**Last updated:** [December 23, 2022, 3:56am UTC](https://forum.ansible.com/t/win-package-how-can-it-know-package-has-been-installed-when-product-id-is-not-specified/37493 "2022-12-23T03:56:57Z")

</div>

Hi everyone, About win\_package, in the official document, it mentions: product\_id value is ignored if path is set to a local accesible file path and the package is not an exe. So, if I want to install MSI package, and …

---

## [Python venv, Error " Ansible could not initialize the preferred locale "](https://forum.ansible.com/t/python-venv-error-ansible-could-not-initialize-the-preferred-locale/37492)

<div class="topic-metadata">

**Author:** [@Por](https://forum.ansible.com/u/Por)\
**Replies:** 1\
**Last updated:** [December 23, 2022, 3:53am UTC](https://forum.ansible.com/t/python-venv-error-ansible-could-not-initialize-the-preferred-locale/37492 "2022-12-23T03:53:52Z")

</div>

Hi, is there who is like me? I’ve tried python3 -m venv venv # and activate it # then pip install ansible # pip in virtualenv not seems to support "--user" option # run ansible ansible # error "Ansible could not in…

---

## [Please help with AWX Configure OpenLDAP Authentication](https://forum.ansible.com/t/please-help-with-awx-configure-openldap-authentication/37460)

<div class="topic-metadata">

**Author:** [@russell.cecala](https://forum.ansible.com/u/russell.cecala)\
**Replies:** 4\
**Last updated:** [December 22, 2022, 7:47pm UTC](https://forum.ansible.com/t/please-help-with-awx-configure-openldap-authentication/37460 "2022-12-22T19:47:34Z")

</div>

I am trying to configure Ansible AWX to use my ldap server to authentication. I can use ldapsearch to query my ldap server like so … ldapsearch -H ldaps://ldap.example.com -D "cn=Manager,dc=example,dc=com" -W -b "dc=ex…

---

## [using register stdout\_lines in with\_items loop](https://forum.ansible.com/t/using-register-stdout-lines-in-with-items-loop/20649)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 6\
**Last updated:** [December 22, 2022, 5:51pm UTC](https://forum.ansible.com/t/using-register-stdout-lines-in-with-items-loop/20649 "2022-12-22T17:51:04Z")

</div>

Hello All, I’m ultimately attempting to pull a list of files with wildcarded paths and pass the results into the replace module so it can cycle through them all. However, starting with a more simple example, i’m having …

---

## [Abridged summary of ansible-project@googlegroups.com - 8 updates in 3 topics](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-8-updates-in-3-topics/37491)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 0\
**Last updated:** [December 22, 2022, 4:51pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-8-updates-in-3-topics/37491 "2022-12-22T16:51:23Z")

</div>

Hi All Am using rhel8 and installed the 2.13.3 but not able to edit the /etc/ansible/hosts can some one assist me on this and also any cheetsheet for ansible-config

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

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