# Archives

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

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

**Page:** 226

---

## [dynamic load yaml using include\_vars and use these vars later](https://forum.ansible.com/t/dynamic-load-yaml-using-include-vars-and-use-these-vars-later/32231)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 2\
**Last updated:** [February 15, 2020, 1:08am UTC](https://forum.ansible.com/t/dynamic-load-yaml-using-include-vars-and-use-these-vars-later/32231 "2020-02-15T01:08:50Z")

</div>

I have dozens of yaml files , and I want to use these yaml files as vars in playbook. so I try to dynamic load vars like aaa.yaml , bbb.yaml,ccc.yaml name: get all yaml files name shell: find /home/yaml -name \*.yam…

---

## [Docker container is not starting on ubuntu 18.0 ver for ansible. Any idea?](https://forum.ansible.com/t/docker-container-is-not-starting-on-ubuntu-18-0-ver-for-ansible-any-idea/32229)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 10:46pm UTC](https://forum.ansible.com/t/docker-container-is-not-starting-on-ubuntu-18-0-ver-for-ansible-any-idea/32229 "2020-02-14T22:46:02Z")

</div>

Docker container is not starting on ubuntu 18.0 ver for ansible. Any idea? TASK \[local\_docker : Start the containers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible - Wacom Tablet](https://forum.ansible.com/t/ansible-wacom-tablet/32237)

<div class="topic-metadata">

**Author:** [@J\_Driz](https://forum.ansible.com/u/J_Driz)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 10:06pm UTC](https://forum.ansible.com/t/ansible-wacom-tablet/32237 "2020-02-14T22:06:25Z")

</div>

Hi, Im trying to turn off a wacom tablet’s touch:

---

## [timout-playbook for ubuntu after reboot](https://forum.ansible.com/t/timout-playbook-for-ubuntu-after-reboot/32224)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 6:28pm UTC](https://forum.ansible.com/t/timout-playbook-for-ubuntu-after-reboot/32224 "2020-02-14T18:28:52Z")

</div>

Hi, can someone please explain why my playbook for instance timeout after a reboot: /dev/null 2\>&1 && sleep 0’ The full traceback is: WARNING: The below traceback may not be related to the actual failure. File “/tmp/…

---

## [AWX error on webpage "A server error has occurred."](https://forum.ansible.com/t/awx-error-on-webpage-a-server-error-has-occurred/32236)

<div class="topic-metadata">

**Author:** [@Kurt\_Mitchell](https://forum.ansible.com/u/Kurt_Mitchell)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 3:18pm UTC](https://forum.ansible.com/t/awx-error-on-webpage-a-server-error-has-occurred/32236 "2020-02-14T15:18:31Z")

</div>

Hello! I’m an novice to Linux and Ansible, and am trying to expand my skill set. I’ve been playing around with Ansible for a little while, and decided we wanted to explore AWX to see about expanding the use for Ansible.…

---

## [Ansible user home directory issue](https://forum.ansible.com/t/ansible-user-home-directory-issue/32220)

<div class="topic-metadata">

**Author:** [@Bala\_Mutyam](https://forum.ansible.com/u/Bala_Mutyam)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 11:02am UTC](https://forum.ansible.com/t/ansible-user-home-directory-issue/32220 "2020-02-14T11:02:47Z")

</div>

Hi all, ansible --version ansible 2.7.7 I’m not sure if it’s a bug? I’m creating a system user & group without home directory and --disabled-login but in the /etc/passwd , it’s showing as home directory created but i…

---

## [Replace a string in multiple lines in a file not working in windows](https://forum.ansible.com/t/replace-a-string-in-multiple-lines-in-a-file-not-working-in-windows/32235)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 10:42am UTC](https://forum.ansible.com/t/replace-a-string-in-multiple-lines-in-a-file-not-working-in-windows/32235 "2020-02-14T10:42:33Z")

</div>

Hi all, I'm written a play book to replace a string in multiple lines in a file but it not reflected, It has changed in last line of a file. not replace in multiple places. - name: updating driver letter as in confi…

---

## [running a mysql command via ansible to create a user in a mysql docker container](https://forum.ansible.com/t/running-a-mysql-command-via-ansible-to-create-a-user-in-a-mysql-docker-container/32234)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 10:33am UTC](https://forum.ansible.com/t/running-a-mysql-command-via-ansible-to-create-a-user-in-a-mysql-docker-container/32234 "2020-02-14T10:33:15Z")

</div>

Hi all Run into a bit of a problem when trying to run this command inside a docker container: CREATE USER ‘{{ item.user }}’@‘%’ IDENTIFIED BY ‘{{ item.password }}’; this is what I’ve done but it’s not working. Doe…

---

## [import tasks depending on fact: import task name substitution possible?](https://forum.ansible.com/t/import-tasks-depending-on-fact-import-task-name-substitution-possible/32233)

<div class="topic-metadata">

**Author:** [@Heinz\_Meier](https://forum.ansible.com/u/Heinz_Meier)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 10:32am UTC](https://forum.ansible.com/t/import-tasks-depending-on-fact-import-task-name-substitution-possible/32233 "2020-02-14T10:32:23Z")

</div>

Hi, I want to execute a task on my minions. The problem is, that there are different tasks depending on facts of the devices. How can ansible deal with it? Basically I want to upgrade the operating system on Cisco netw…

---

## [Replace a string in multiple lines in a file not working](https://forum.ansible.com/t/replace-a-string-in-multiple-lines-in-a-file-not-working/32232)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 6\
**Last updated:** [February 14, 2020, 10:25am UTC](https://forum.ansible.com/t/replace-a-string-in-multiple-lines-in-a-file-not-working/32232 "2020-02-14T10:25:39Z")

</div>

Hi all, I’m written a play book to replace a string in multiple lines in a file but it not reflected, It has changed in last line of a file. not replace in multiple places. name: updating driver letter as in config f…

---

## [unable to use a remote node file in uri module](https://forum.ansible.com/t/unable-to-use-a-remote-node-file-in-uri-module/32230)

<div class="topic-metadata">

**Author:** [@Vishal\_Bobade](https://forum.ansible.com/u/Vishal_Bobade)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 9:19am UTC](https://forum.ansible.com/t/unable-to-use-a-remote-node-file-in-uri-module/32230 "2020-02-14T09:19:11Z")

</div>

Hi, below is my task where in the “body” section in the below task - I am currently using a file and it is throwing error (I actually check the location file is present there) when I am trying to run a jenkins job. e\[1…

---

## [Why does include/import\_role require a name argument?](https://forum.ansible.com/t/why-does-include-import-role-require-a-name-argument/32228)

<div class="topic-metadata">

**Author:** [@M\_Alegre](https://forum.ansible.com/u/M_Alegre)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 4:06am UTC](https://forum.ansible.com/t/why-does-include-import-role-require-a-name-argument/32228 "2020-02-14T04:06:00Z")

</div>

Hello, I know this is a relatively frivolous concern, but it’s really bugging me. If I want to import a playbook foo.yml I can just pass it directly: - include\_playbook: foo.yml Similarly with tasks: tasks: - includ…

---

## [Ansible Meta resetconnection](https://forum.ansible.com/t/ansible-meta-resetconnection/26971)

<div class="topic-metadata">

**Author:** [@Malcolm\_Hussain-Gamb](https://forum.ansible.com/u/Malcolm_Hussain-Gamb)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 3:33am UTC](https://forum.ansible.com/t/ansible-meta-resetconnection/26971 "2020-02-14T03:33:08Z")

</div>

As part of an ansible run I need to update a profile and reconnect. I'm using pipelines, so I was hoping the ansible meta reset\_connection would work. However it tries to delete a random control file (that doesn't exist…

---

## [New Ansible release 2.9.5](https://forum.ansible.com/t/new-ansible-release-2-9-5/32226)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 9:27pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-5/32226 "2020-02-13T21:27:30Z")

</div>

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

---

## [New Ansible release 2.9.5](https://forum.ansible.com/t/new-ansible-release-2-9-5/32225)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 9:26pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-5/32225 "2020-02-13T21:26:59Z")

</div>

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

---

## [How can I search for an specific IP-Address on all of my Ansible-connected hosts](https://forum.ansible.com/t/how-can-i-search-for-an-specific-ip-address-on-all-of-my-ansible-connected-hosts/32216)

<div class="topic-metadata">

**Author:** [@Matthias\_Steffens](https://forum.ansible.com/u/Matthias_Steffens)\
**Replies:** 8\
**Last updated:** [February 13, 2020, 5:03pm UTC](https://forum.ansible.com/t/how-can-i-search-for-an-specific-ip-address-on-all-of-my-ansible-connected-hosts/32216 "2020-02-13T17:03:35Z")

</div>

Hi everyone! I’m looking for an method by which I can have a look on all of my ‘Ansible-Clients’ for an specific IP-Address. I thought about grepping for this in my root-directory (/) but is this possible or are there …

---

## [Question about variables.](https://forum.ansible.com/t/question-about-variables/32223)

<div class="topic-metadata">

**Author:** [@Jamal\_Gardiner](https://forum.ansible.com/u/Jamal_Gardiner)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 4:58pm UTC](https://forum.ansible.com/t/question-about-variables/32223 "2020-02-13T16:58:44Z")

</div>

name: Gather EC2 Snapshot Info ec2\_snapshot\_info: filters: “tag:Name”: fortune register: snap name: AMI registration from EBS Snapshot ec2\_ami: name: fortune state: present architecture: x86\_64 virtualizati…

---

## [Comparing two hosts with ansible (installed packages and configuration files)](https://forum.ansible.com/t/comparing-two-hosts-with-ansible-installed-packages-and-configuration-files/32193)

<div class="topic-metadata">

**Author:** [@Elb\_Isna](https://forum.ansible.com/u/Elb_Isna)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 4:15pm UTC](https://forum.ansible.com/t/comparing-two-hosts-with-ansible-installed-packages-and-configuration-files/32193 "2020-02-13T16:15:41Z")

</div>

How can I use ansible to check out the software differences (installed packages and configuration files) between two debian hosts?

---

## [Skipping plugin](https://forum.ansible.com/t/skipping-plugin/32222)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 11:59am UTC](https://forum.ansible.com/t/skipping-plugin/32222 "2020-02-13T11:59:24Z")

</div>

Hello Team, Am getting below warning message while running ansible Ad hoc command. There is no changes made in ansible.cfg file. How to avoid the below warning message. Could you please some one help me on this. \[WARNI…

---

## [Pulling roles from github and run through ansible](https://forum.ansible.com/t/pulling-roles-from-github-and-run-through-ansible/32221)

<div class="topic-metadata">

**Author:** [@soumya\_dutta](https://forum.ansible.com/u/soumya_dutta)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 10:36am UTC](https://forum.ansible.com/t/pulling-roles-from-github-and-run-through-ansible/32221 "2020-02-13T10:36:15Z")

</div>

Hi, I have created roles for ansible and put them in git. Now I want to use it in a playbook and I have specified roles in requirements.yml. Now I need to run this playbook through an ansible master server CLI. What is …

---

## [parted - azure managed disks - unrecognized disk label](https://forum.ansible.com/t/parted-azure-managed-disks-unrecognized-disk-label/32185)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 5\
**Last updated:** [February 13, 2020, 9:54am UTC](https://forum.ansible.com/t/parted-azure-managed-disks-unrecognized-disk-label/32185 "2020-02-13T09:54:12Z")

</div>

Hi all, I’m pretty certain someone has figured this out so any hints will be appreciated I’ve attached an azure managed disk to a linux vm but noticed it doesn’t have any disk label i.e. Error: /dev/sdc: unrecognised …

---

## [ansible proxy settings](https://forum.ansible.com/t/ansible-proxy-settings/32219)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 9:05am UTC](https://forum.ansible.com/t/ansible-proxy-settings/32219 "2020-02-13T09:05:16Z")

</div>

Guys, idea to fix this issue. Goals is to build the connection with winrm to a windows server from a ansible server. { “unreachable”: true, “msg”: “ssl: HTTPSConnectionPool(host=‘host01’, port=5986): Max retries exc…

---

## [Use ansible/AWX authentication to awscli with an attached iam-role on instance](https://forum.ansible.com/t/use-ansible-awx-authentication-to-awscli-with-an-attached-iam-role-on-instance/32172)

<div class="topic-metadata">

**Author:** [@Carsten\_Burger](https://forum.ansible.com/u/Carsten_Burger)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 8:18am UTC](https://forum.ansible.com/t/use-ansible-awx-authentication-to-awscli-with-an-attached-iam-role-on-instance/32172 "2020-02-13T08:18:47Z")

</div>

Hello @ll, we use ansible / AWX in AWS. For security we have IAM-Roles attached to the AWX instance. Now I want to get the data of the instances from multiple AWS-accounts with ansible template to create Snapshots for…

---

## [Custom dynamic inventory script how to toggle node as enable/disable in AWX inventory?](https://forum.ansible.com/t/custom-dynamic-inventory-script-how-to-toggle-node-as-enable-disable-in-awx-inventory/32218)

<div class="topic-metadata">

**Author:** [@Ryan\_M](https://forum.ansible.com/u/Ryan_M)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 7:23am UTC](https://forum.ansible.com/t/custom-dynamic-inventory-script-how-to-toggle-node-as-enable-disable-in-awx-inventory/32218 "2020-02-13T07:23:07Z")

</div>

In a dynamic inventory script how can we tell AWX to import a node as disabled state in AWX inventory by dafault they are imported as enable state. (attachments)

---

## [Playbook doesn't run completely stuck after "check if reboot required"](https://forum.ansible.com/t/playbook-doesnt-run-completely-stuck-after-check-if-reboot-required/32214)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 10:20pm UTC](https://forum.ansible.com/t/playbook-doesnt-run-completely-stuck-after-check-if-reboot-required/32214 "2020-02-12T22:20:01Z")

</div>

Playbook doesn’t run completely stuck after “check if reboot required”. Please assist! Play-Book

---

## [How to get clean output ?](https://forum.ansible.com/t/how-to-get-clean-output/32206)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 10\
**Last updated:** [February 12, 2020, 8:49pm UTC](https://forum.ansible.com/t/how-to-get-clean-output/32206 "2020-02-12T20:49:03Z")

</div>

Hi, How will I get only the sql statement from the json output ? I am registering this as " register: query\_result" Here is my json output \` “msg”: { “ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin/py…

---

## [Ansible Vault online tool for encrypt/decrypt](https://forum.ansible.com/t/ansible-vault-online-tool-for-encrypt-decrypt/32207)

<div class="topic-metadata">

**Author:** [@Mamed\_Shahmaliyev](https://forum.ansible.com/u/Mamed_Shahmaliyev)\
**Replies:** 2\
**Last updated:** [February 12, 2020, 6:19pm UTC](https://forum.ansible.com/t/ansible-vault-online-tool-for-encrypt-decrypt/32207 "2020-02-12T18:19:55Z")

</div>

Dear Ansible users, recently i have been looking for some online service for on-hand ansible vault encrypt decrypt service and could not find anything. So i decided to write my own web interface: https://ansible-vault-t…

---

## [pass a dictionary to copy module while using the ansible api](https://forum.ansible.com/t/pass-a-dictionary-to-copy-module-while-using-the-ansible-api/32213)

<div class="topic-metadata">

**Author:** [@Mario\_Garcia](https://forum.ansible.com/u/Mario_Garcia)\
**Replies:** 0\
**Last updated:** [February 12, 2020, 4:43pm UTC](https://forum.ansible.com/t/pass-a-dictionary-to-copy-module-while-using-the-ansible-api/32213 "2020-02-12T16:43:16Z")

</div>

Hello, I would like to use the copy module while using the ansible api and instead of passing a source I would like to pass directtly the content… the content is stored in a dictionary wher ethe key is the hostname and …

---

## [AWX install - failed docker compose](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 7\
**Last updated:** [February 12, 2020, 3:30pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157 "2020-02-12T15:30:26Z")

</div>

some idea? TASK \[local\_docker : Start the containers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]: FAILED! =\> {“changed”: false,…

---

## [/awx\_devel is not a valid repository](https://forum.ansible.com/t/awx-devel-is-not-a-valid-repository/32212)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 2\
**Last updated:** [February 12, 2020, 2:36pm UTC](https://forum.ansible.com/t/awx-devel-is-not-a-valid-repository/32212 "2020-02-12T14:36:07Z")

</div>

Hi guys… idea about this error?b awx pulling is in error status… docker-compose -f /u01/awx/tools/docker-compose.yml pull WARNING: The CURRENT\_UID variable is not set. Defaulting to a blank string. WARNING: The DEV\_D…

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

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