# Archives

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

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

**Page:** 253

---

## [AWX: Unable to change Host Fact](https://forum.ansible.com/t/awx-unable-to-change-host-fact/31444)

<div class="topic-metadata">

**Author:** [@Danny\_van\_der\_Aa](https://forum.ansible.com/u/Danny_van_der_Aa)\
**Replies:** 3\
**Last updated:** [October 10, 2019, 11:58am UTC](https://forum.ansible.com/t/awx-unable-to-change-host-fact/31444 "2019-10-10T11:58:49Z")

</div>

Hi all, I am new with Ansible/Awx. I just trying/playing a little bit with the environment. When i try to launch a template, i get the error it can’t retrieve the os\_family Now i am trying to add that as a fact to th…

---

## [Ansible version support](https://forum.ansible.com/t/ansible-version-support/31445)

<div class="topic-metadata">

**Author:** [@Chiku](https://forum.ansible.com/u/Chiku)\
**Replies:** 2\
**Last updated:** [October 10, 2019, 10:58am UTC](https://forum.ansible.com/t/ansible-version-support/31445 "2019-10-10T10:58:26Z")

</div>

Hello, Soon, version 2.9.0 will be release. I wonder how many versions will still be supported. 3 or more? Will versions 2.8, 2.7 and 2.6 still have patches ? Thank you

---

## [AWX unable to execute a playbook with a shell script](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-with-a-shell-script/31441)

<div class="topic-metadata">

**Author:** [@Fernando\_Scarlazzari](https://forum.ansible.com/u/Fernando_Scarlazzari)\
**Replies:** 1\
**Last updated:** [October 10, 2019, 10:38am UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-with-a-shell-script/31441 "2019-10-10T10:38:21Z")

</div>

Hello friends, I have a simple playbook that calls a shell script:

---

## [Manual VS Ansible playbook in window server](https://forum.ansible.com/t/manual-vs-ansible-playbook-in-window-server/31442)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 7\
**Last updated:** [October 10, 2019, 9:45am UTC](https://forum.ansible.com/t/manual-vs-ansible-playbook-in-window-server/31442 "2019-10-10T09:45:44Z")

</div>

Dear All, Below task gets completed while running it manually from window dos however nothing happens while we execute it using ansible playbook and there is no error as well. How to debug such issue and get it working…

---

## [Reduce the No. of script files with same content](https://forum.ansible.com/t/reduce-the-no-of-script-files-with-same-content/31440)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 11:33am UTC](https://forum.ansible.com/t/reduce-the-no-of-script-files-with-same-content/31440 "2019-10-09T11:33:52Z")

</div>

Hi all, I have 13 script files in a directory content is same for all the files name will be change as below: the script file is like this bean -d UCMDB service=Packaging\\ Services run deployPackages 1 D:/Software/pa…

---

## [shell script gives different output when invoked using Ansible shell module.](https://forum.ansible.com/t/shell-script-gives-different-output-when-invoked-using-ansible-shell-module/31196)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 11:12am UTC](https://forum.ansible.com/t/shell-script-gives-different-output-when-invoked-using-ansible-shell-module/31196 "2019-10-09T11:12:47Z")

</div>

I have check.sh script that I wish to run on the target nodes: \` cat check.sh str=echo $1 | sed -e 's#\[\\\]\[\\\]n# #g' echo $str\>check.row \` It is suppose to replace \\n with a single white space from the argument and s…

---

## [win\_shell command execution](https://forum.ansible.com/t/win-shell-command-execution/31434)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 10:48am UTC](https://forum.ansible.com/t/win-shell-command-execution/31434 "2019-10-09T10:48:19Z")

</div>

Hi all, I’m trying to list the files with the name of “PackageDeploy” using as below but getting all other files also in the directory. win\_shell: ‘dir PackageDeploy\*.\* /b {{directory}}\\configurations\\jmxterm \> {{dire…

---

## [unexpected output while executing lengthy commands](https://forum.ansible.com/t/unexpected-output-while-executing-lengthy-commands/31439)

<div class="topic-metadata">

**Author:** [@Netizen\_Bhoomi](https://forum.ansible.com/u/Netizen_Bhoomi)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 8:10am UTC](https://forum.ansible.com/t/unexpected-output-while-executing-lengthy-commands/31439 "2019-10-09T08:10:54Z")

</div>

Have a playbook executes the below command looking for VPN session, and registers the output. When I execute commands which are longer ( here col len \> 52 ) , the output gets messed up , as in, it’s kind of printing the …

---

## [Awx Kubernetes Database Migration failure](https://forum.ansible.com/t/awx-kubernetes-database-migration-failure/31437)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 5:07pm UTC](https://forum.ansible.com/t/awx-kubernetes-database-migration-failure/31437 "2019-10-08T17:07:43Z")

</div>

Hi, I am installing Awx with Kubernetes for the first time . The Awx Management pod is running and Postgres deployment is successful. But it tries to run the Migrate database step and after some times times out with th…

---

## [Ansible role README generator](https://forum.ansible.com/t/ansible-role-readme-generator/31436)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 3:11pm UTC](https://forum.ansible.com/t/ansible-role-readme-generator/31436 "2019-10-08T15:11:40Z")

</div>

I think I have seen at some point a role that used a yaml array to specify the contents of the REAMDE. That’s all I remember. In any case, are there tools to automatically generate a README for a role or based on a templ…

---

## [ansible - shell module using expect](https://forum.ansible.com/t/ansible-shell-module-using-expect/31433)

<div class="topic-metadata">

**Author:** [@Troy\_Cosson](https://forum.ansible.com/u/Troy_Cosson)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 1:24pm UTC](https://forum.ansible.com/t/ansible-shell-module-using-expect/31433 "2019-10-08T13:24:19Z")

</div>

I’m trying to get a Red Hat server (RHEL7) to join a Windows Active Directory domain and I can’t seem to get the expect command to send a password. The playbook asks for the username and password and should then put the…

---

## [dnf module problem with modularity appstreams and groups](https://forum.ansible.com/t/dnf-module-problem-with-modularity-appstreams-and-groups/31435)

<div class="topic-metadata">

**Author:** [@mike2](https://forum.ansible.com/u/mike2)\
**Replies:** 0\
**Last updated:** [October 8, 2019, 12:40pm UTC](https://forum.ansible.com/t/dnf-module-problem-with-modularity-appstreams-and-groups/31435 "2019-10-08T12:40:00Z")

</div>

Ansible 2.8.5 I’m having trouble with installing package groups and modularity appstreams on a CentOS 8 host using the dnf module. Whilst it mostly seems like two separate issues, the errors I’m getting make me wonder i…

---

## [Unable to read credentials in Jenkins Job](https://forum.ansible.com/t/unable-to-read-credentials-in-jenkins-job/31428)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 6:47am UTC](https://forum.ansible.com/t/unable-to-read-credentials-in-jenkins-job/31428 "2019-10-08T06:47:31Z")

</div>

Below code works and helps fetch username and password from Jenkins credentials in a piepeline. withCredentials(\[usernamePassword(credentialsId: 'mysql\_creds', passwordVariable: 'sqlpassword', usernameVariable: 'sqluser…

---

## [Understanding of REMOTE\_USER II: Command ID in the managed host](https://forum.ansible.com/t/understanding-of-remote-user-ii-command-id-in-the-managed-host/31431)

<div class="topic-metadata">

**Author:** [@Vicente\_Dominguez](https://forum.ansible.com/u/Vicente_Dominguez)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 9:21pm UTC](https://forum.ansible.com/t/understanding-of-remote-user-ii-command-id-in-the-managed-host/31431 "2019-10-07T21:21:35Z")

</div>

Hello everybody, Regarding the understanding of how the REMOTE\_USER works in managed hosts… I’ve created a playbook which executes the command ID, with the aim of knowing who is the user executing the action in the man…

---

## [Workflow Visualizer hangs](https://forum.ansible.com/t/workflow-visualizer-hangs/31432)

<div class="topic-metadata">

**Author:** [@Sherry\_Ausen](https://forum.ansible.com/u/Sherry_Ausen)\
**Replies:** 0\
**Last updated:** [October 7, 2019, 7:19pm UTC](https://forum.ansible.com/t/workflow-visualizer-hangs/31432 "2019-10-07T19:19:56Z")

</div>

When I edit workflow and click save - its just hangs with working… Has anyone else run into this? Thanks

---

## [Understanding Ansible remote user](https://forum.ansible.com/t/understanding-ansible-remote-user/31430)

<div class="topic-metadata">

**Author:** [@Vicente\_Dominguez](https://forum.ansible.com/u/Vicente_Dominguez)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 5:02pm UTC](https://forum.ansible.com/t/understanding-ansible-remote-user/31430 "2019-10-07T17:02:38Z")

</div>

I am sure that this is probably a silly question, but It’s the basis for the preparation for Ansible certification exam. I have troubles with the understanding of the Ansible remote\_user. Let’s imagine that you have a c…

---

## [Logs are not displaying](https://forum.ansible.com/t/logs-are-not-displaying/31429)

<div class="topic-metadata">

**Author:** [@Revanth\_Mallikarjun](https://forum.ansible.com/u/Revanth_Mallikarjun)\
**Replies:** 1\
**Last updated:** [October 7, 2019, 4:22pm UTC](https://forum.ansible.com/t/logs-are-not-displaying/31429 "2019-10-07T16:22:44Z")

</div>

I'm not able to see the logs for few of the tasks, Awx job will get failed and it doesn't show any logs . For example, if the task was to install a package using yum . It just stops there and get failed.I have trie…

---

## [Managing Windows Host?](https://forum.ansible.com/t/managing-windows-host/31424)

<div class="topic-metadata">

**Author:** [@Stephen\_Feyrer](https://forum.ansible.com/u/Stephen_Feyrer)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 2:04pm UTC](https://forum.ansible.com/t/managing-windows-host/31424 "2019-10-07T14:04:00Z")

</div>

Hi everyone, I apologise, I am new to Ansible and this is rather open ended. After extensive use of the documentation I have my inventory, vars, vault and playbook all working together. However, there is room for impro…

---

## [win\_find and nested loops](https://forum.ansible.com/t/win-find-and-nested-loops/31423)

<div class="topic-metadata">

**Author:** [@Jeremy\_Rogers](https://forum.ansible.com/u/Jeremy_Rogers)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 1:30pm UTC](https://forum.ansible.com/t/win-find-and-nested-loops/31423 "2019-10-07T13:30:48Z")

</div>

I’m attempting to write a playbook using the win\_find module. We are looking for files in a set of specific directories that are older than 30 days. I’m able to get a list of files from the playbook, but getting all the…

---

## [How to use variables from one task in another task](https://forum.ansible.com/t/how-to-use-variables-from-one-task-in-another-task/31321)

<div class="topic-metadata">

**Author:** [@Srinivas\_Naram](https://forum.ansible.com/u/Srinivas_Naram)\
**Replies:** 16\
**Last updated:** [October 7, 2019, 11:55am UTC](https://forum.ansible.com/t/how-to-use-variables-from-one-task-in-another-task/31321 "2019-10-07T11:55:47Z")

</div>

Hello Ansible Gurus, I am new to Ansible and trying to get my hands dirty on playbooks. I wrote an yaml file to use a variable from one host tasks to another. Here is my code ( logically this code may not make sense in …

---

## [win\_domain\_group returns no output/error](https://forum.ansible.com/t/win-domain-group-returns-no-output-error/31427)

<div class="topic-metadata">

**Author:** [@Philipp-Michael\_Radl](https://forum.ansible.com/u/Philipp-Michael_Radl)\
**Replies:** 0\
**Last updated:** [October 7, 2019, 6:16am UTC](https://forum.ansible.com/t/win-domain-group-returns-no-output-error/31427 "2019-10-07T06:16:14Z")

</div>

I am trying to create a few AD groups from a remote RHEL development machine. However, when my playbook reaches this task: \` name: “AD | Create access group” win\_domain\_group: name: “GLS\_{{ servername }}access" cat…

---

## [How to execute two tasks under a play ?](https://forum.ansible.com/t/how-to-execute-two-tasks-under-a-play/31412)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [October 6, 2019, 4:37am UTC](https://forum.ansible.com/t/how-to-execute-two-tasks-under-a-play/31412 "2019-10-06T04:37:11Z")

</div>

My requirement is to run two tasks i.e “Load Deployment1.” & “Load Deployment2.” in my Play 4. Below is my playbook: \` name: Play 4 hosts: localhost tasks: name: “Load Deployment1.” tags: deploy include\_vars: fi…

---

## [Ansible return code ok or ko](https://forum.ansible.com/t/ansible-return-code-ok-or-ko/31416)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 4\
**Last updated:** [October 5, 2019, 8:35am UTC](https://forum.ansible.com/t/ansible-return-code-ok-or-ko/31416 "2019-10-05T08:35:08Z")

</div>

Hey, I want to know if possible that Ansible, when he finish deployment, he display return code. I d’ont know the value of this return code but i want a return code. For exemple : 0 → The deploiement it’s OK 1 → The…

---

## [Ansible.cfg strategies](https://forum.ansible.com/t/ansible-cfg-strategies/31418)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating1](https://forum.ansible.com/u/Jesse_Keating1)\
**Replies:** 6\
**Last updated:** [October 4, 2019, 8:21pm UTC](https://forum.ansible.com/t/ansible-cfg-strategies/31418 "2019-10-04T20:21:09Z")

</div>

Complicating this, our inventory comes from one project and is shared with many other projects. We want to disable some warnings that come from our inventory, which requires settings in ansible.cfg. But each project woul…

---

## [\--servicelevel option for redhat\_subscription module](https://forum.ansible.com/t/servicelevel-option-for-redhat-subscription-module/31426)

<div class="topic-metadata">

**Author:** [@Roland\_Ibanez](https://forum.ansible.com/u/Roland_Ibanez)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 2:17pm UTC](https://forum.ansible.com/t/servicelevel-option-for-redhat-subscription-module/31426 "2019-10-04T14:17:18Z")

</div>

Hello, An implementation of the --servicelevel option in the redhat-subscription module would be useful. That eliminates the need to add new pools, when buying new subscriptions from redhat. Regards

---

## [Learning Ansible - No exposure to Linux](https://forum.ansible.com/t/learning-ansible-no-exposure-to-linux/31420)

<div class="topic-metadata">

**Author:** [@Ramesh\_RK](https://forum.ansible.com/u/Ramesh_RK)\
**Replies:** 4\
**Last updated:** [October 4, 2019, 2:08pm UTC](https://forum.ansible.com/t/learning-ansible-no-exposure-to-linux/31420 "2019-10-04T14:08:16Z")

</div>

Hi All I am working on MS technologies from last 15 yrs, do have knowledge in scripting like PowerShell, VBS. Never worked on Linux in my career, and now planning to learn Ansible. Understand that it does required ‘bas…

---

## [Reloading python modules/environment mid-play](https://forum.ansible.com/t/reloading-python-modules-environment-mid-play/31425)

<div class="topic-metadata">

**Author:** [@Mike\_A](https://forum.ansible.com/u/Mike_A)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 10:57am UTC](https://forum.ansible.com/t/reloading-python-modules-environment-mid-play/31425 "2019-10-04T10:57:24Z")

</div>

I currently have an interesting scenario that I wonder if anyone has found the solution for. We are running ansible on RHEL7 managing Windows boxes which unfortunately means we hit a couple of issues around pyOpenSSL ve…

---

## [Software Update using Ansible with Zero system down time](https://forum.ansible.com/t/software-update-using-ansible-with-zero-system-down-time/31421)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 1\
**Last updated:** [October 4, 2019, 10:40am UTC](https://forum.ansible.com/t/software-update-using-ansible-with-zero-system-down-time/31421 "2019-10-04T10:40:21Z")

</div>

Hi All, I am trying to address the use case of Software update(can be downgrade or upgrade) using yum or shell module. So i have Application server with some application (.ear ) deployed . But when I upate the rpms (wh…

---

## [pip docker install](https://forum.ansible.com/t/pip-docker-install/31407)

<div class="topic-metadata">

**Author:** [@Alfredo\_De\_Luca](https://forum.ansible.com/u/Alfredo_De_Luca)\
**Replies:** 10\
**Last updated:** [October 4, 2019, 9:56am UTC](https://forum.ansible.com/t/pip-docker-install/31407 "2019-10-04T09:56:25Z")

</div>

Hi all. I have the following… name: Install pip package: name: python-pip update\_cache: true state: present name: Install docker libs with pip pip: name: docker state: present executable: pip When I run…

---

## [New Ansible release 2.9.0rc2](https://forum.ansible.com/t/new-ansible-release-2-9-0rc2/31419)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 1:35am UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0rc2/31419 "2019-10-04T01:35:26Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.0rc2 is now available! How do you get it?

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

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