# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=142

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

**Page:** 143

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32256)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 6:22pm UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32256 "2020-02-17T18:22:04Z")

</div>

I now see that the error you’re getting isn’t from the aws\_s3 taks that you posted. Instead it’s from an ec2 task - that you did NOT provide. This is quite frustrating - next time provide ALL the information and not le…

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32248)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [February 17, 2020, 6:08pm UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32248 "2020-02-17T18:08:06Z")

</div>

As you are beginning with ansible, start with the simplest option, which is just a single playbook file, and don't bother with roles yet. Something like this should already work to create a bucket: - hosts: localhost …

---

## [Connecting Radware cli](https://forum.ansible.com/t/connecting-radware-cli/32253)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 4:29pm UTC](https://forum.ansible.com/t/connecting-radware-cli/32253 "2020-02-17T16:29:10Z")

</div>

Hi, Has anyone connected Cli of Radware(Loadbalancer device) using Ansible? Thanks, Raj

---

## [How to gather kernel parameters of remote hosts](https://forum.ansible.com/t/how-to-gather-kernel-parameters-of-remote-hosts/32250)

<div class="topic-metadata">

**Author:** [@Vikrant\_Agarwal](https://forum.ansible.com/u/Vikrant_Agarwal)\
**Replies:** 3\
**Last updated:** [February 17, 2020, 2:31pm UTC](https://forum.ansible.com/t/how-to-gather-kernel-parameters-of-remote-hosts/32250 "2020-02-17T14:31:41Z")

</div>

How to i collect remote hosts kernel parameters using ansible. I’m looking to below type collect info of remote hosts . setup module doesn’t collect this info . And sysctl module is to edit , can i use sysctl module jus…

---

## [The Complete Guide to using AppViewX and Ansible for NetOps and DevSecOps Orchestration](https://forum.ansible.com/t/the-complete-guide-to-using-appviewx-and-ansible-for-netops-and-devsecops-orchestration/32246)

<div class="topic-metadata">

**Author:** [@Vidhya\_Kumar](https://forum.ansible.com/u/Vidhya_Kumar)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 9:19am UTC](https://forum.ansible.com/t/the-complete-guide-to-using-appviewx-and-ansible-for-netops-and-devsecops-orchestration/32246 "2020-02-17T09:19:08Z")

</div>

Download the complete guide to using AppViewX and Ansible for NetOps and DevSecOps Orchsetration

---

## [KEY: VALUE iterations](https://forum.ansible.com/t/key-value-iterations/32217)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 20\
**Last updated:** [February 16, 2020, 1:37pm UTC](https://forum.ansible.com/t/key-value-iterations/32217 "2020-02-16T13:37:00Z")

</div>

Hi, What is the best way to loop the below KEY : VALUE ? main.yml var\_files: /home/ansible/sqlvar.yml name: Script oracle\_sql: sql: {{Value}} environment: “{{oracle\_env}}” register: query\_result connection:…

---

## [run task in a sorted manner](https://forum.ansible.com/t/run-task-in-a-sorted-manner/32243)

<div class="topic-metadata">

**Author:** [@sandkan](https://forum.ansible.com/u/sandkan)\
**Replies:** 3\
**Last updated:** [February 16, 2020, 12:35pm UTC](https://forum.ansible.com/t/run-task-in-a-sorted-manner/32243 "2020-02-16T12:35:16Z")

</div>

Playbook is running task on wrong node: I have two nodes and this task has to run on a specific one and not the other, as well as only running once. I have tried adding a sort() like this: {{ansible\_play\_batch | join(’ …

---

## [Get a value from a fact from type type](https://forum.ansible.com/t/get-a-value-from-a-fact-from-type-type/32242)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 4\
**Last updated:** [February 15, 2020, 7:08pm UTC](https://forum.ansible.com/t/get-a-value-from-a-fact-from-type-type/32242 "2020-02-15T19:08:23Z")

</div>

I have a fact hostUUid when I display it with the following debug command \` name: debug uuid debug: msg: “{{ hostUUid | type\_debug }}” “{{ hostUUid }}” \` I get the following result: ok: \[localhost\] =\> { "msg": \[ …

---

## [include\_vars in folders](https://forum.ansible.com/t/include-vars-in-folders/32240)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 3\
**Last updated:** [February 15, 2020, 9:42am UTC](https://forum.ansible.com/t/include-vars-in-folders/32240 "2020-02-15T09:42:39Z")

</div>

according to https://docs.ansible.com/ansible/2.5/modules/include\_vars\_module.html this task should load all yaml files in /home/yaml/users and assign to var ‘users’ name: load yaml using include\_vars with dir incl…

---

## [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/…

---

## [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?

---

## [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…

---

## [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

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=141)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=143)
