# Ansible Project

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

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

**Page:** 260

---

## [Create AWS WAF rate based rule](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561)

<div class="topic-metadata">

**Author:** [@daniel.plappert](https://forum.ansible.com/u/daniel.plappert)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 4:33pm UTC](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561 "2018-05-18T16:33:15Z")

</div>

Hi, I am trying to create a rate based WAF rule, but I don’t see how to do it. I am only able to create a “normal” rule with a condition of type IP, geo, etc. The aws\_waf\_condition and aws\_waf\_rule modules have no optio…

---

## [Loading all group\_vars content even if only one is needed](https://forum.ansible.com/t/loading-all-group-vars-content-even-if-only-one-is-needed/26641)

<div class="topic-metadata">

**Author:** [@0lai.mariano](https://forum.ansible.com/u/0lai.mariano)\
**Replies:** 4\
**Last updated:** [May 18, 2018, 4:15pm UTC](https://forum.ansible.com/t/loading-all-group-vars-content-even-if-only-one-is-needed/26641 "2018-05-18T16:15:07Z")

</div>

Hi. I’m encountering a problem in my deployments which may or may not be a bug. In my inventories directory, I have the following files – inventories/prod/group\_vars/a\_server inventories/prod/group\_vars/b\_server inve…

---

## [Cisco jump host](https://forum.ansible.com/t/cisco-jump-host/27554)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 2\
**Last updated:** [May 18, 2018, 3:36pm UTC](https://forum.ansible.com/t/cisco-jump-host/27554 "2018-05-18T15:36:14Z")

</div>

Hi all, I’m using Ansible for network tasks, I would like to know if I can use Ansible to configure a network device having a device in the middle. This is what I mean. Ansible Server —\> Cisco Device —\> Target. I wou…

---

## [How to create a sysadmin via ansible](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559)

<div class="topic-metadata">

**Author:** [@boy\_fantastico](https://forum.ansible.com/u/boy_fantastico)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 10:37am UTC](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559 "2018-05-18T10:37:12Z")

</div>

Good morning I would like to know how would be the easiest way to create a sysadmin for ckan through ansible. In manual installation the command I run is the following: docker exec -it ckan /usr/local/bin/ckan-paster -…

---

## [Ansible with TextFSM](https://forum.ansible.com/t/ansible-with-textfsm/27558)

<div class="topic-metadata">

**Author:** [@YK\_K](https://forum.ansible.com/u/YK_K)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 9:45am UTC](https://forum.ansible.com/t/ansible-with-textfsm/27558 "2018-05-18T09:45:24Z")

</div>

Hi All, I’d like to get "show module " from cisco devices. Although /‘ntc\_module/’ helps to get some information as below(module #, Port #, Module type, model, status) , I need More information is needed. \` Mod Port…

---

## [access to register stdout\_lines attributes](https://forum.ansible.com/t/access-to-register-stdout-lines-attributes/27532)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 9:05am UTC](https://forum.ansible.com/t/access-to-register-stdout-lines-attributes/27532 "2018-05-18T09:05:40Z")

</div>

Hi, I have a task that executes a shell command and spews out a few lines. Specifically, it probes a remote DB and and returns some information . Please see below: \` name: Test role delegation to apps hosts: appbox…

---

## [Trying to connect with another user if previews user unable to connect in playbook](https://forum.ansible.com/t/trying-to-connect-with-another-user-if-previews-user-unable-to-connect-in-playbook/27557)

<div class="topic-metadata">

**Author:** [@abhay\_srivastava](https://forum.ansible.com/u/abhay_srivastava)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 8:57am UTC](https://forum.ansible.com/t/trying-to-connect-with-another-user-if-previews-user-unable-to-connect-in-playbook/27557 "2018-05-18T08:57:06Z")

</div>

name: PLAY 1 hosts: all gather\_facts: false remote\_user: centos tasks: import\_tasks: centos\_change\_user.yml ignore\_errors: yes name: PLAY 2 hosts: all gather\_facts: false remote\_user: cloud any\_errors\_fat…

---

## [Ansible 2.5.3 is available](https://forum.ansible.com/t/ansible-2-5-3-is-available/27555)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 6:11am UTC](https://forum.ansible.com/t/ansible-2-5-3-is-available/27555 "2018-05-18T06:11:12Z")

</div>

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

---

## [Powershell script failing when run in playbook - works on other servers and runs ok manually on target host - cannot find path](https://forum.ansible.com/t/powershell-script-failing-when-run-in-playbook-works-on-other-servers-and-runs-ok-manually-on-target-host-cannot-find-path/27553)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 1:09am UTC](https://forum.ansible.com/t/powershell-script-failing-when-run-in-playbook-works-on-other-servers-and-runs-ok-manually-on-target-host-cannot-find-path/27553 "2018-05-18T01:09:45Z")

</div>

The play copies a powershell script and runs it on the target - the script looks up files in C:\\Temp. This path definitely exists. I can run this play without issues against other test servers - now that I want to run t…

---

## [win\_updates fail](https://forum.ansible.com/t/win-updates-fail/27540)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 7:18pm UTC](https://forum.ansible.com/t/win-updates-fail/27540 "2018-05-17T19:18:11Z")

</div>

Hi there, I’m using the win\_updates module but the module fails to install any updates. \` name: Install all security, critical, and rollup updates block: win\_updates: category\_names: SecurityUpdates CriticalUpdates …

---

## [Installing Java JRE on windows 2016 core](https://forum.ansible.com/t/installing-java-jre-on-windows-2016-core/27549)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [May 17, 2018, 6:50pm UTC](https://forum.ansible.com/t/installing-java-jre-on-windows-2016-core/27549 "2018-05-17T18:50:33Z")

</div>

Hi, I had problems getting ansible to install java on a windows 2016 server… I started using the 64 bit version and then it worked fine. Now I am trying to do the same on 2016 server core and it fails with the 64 bit v…

---

## [Host lists, facts and handlers](https://forum.ansible.com/t/host-lists-facts-and-handlers/27164)

<div class="topic-metadata">

**Author:** [@Marc\_Haber](https://forum.ansible.com/u/Marc_Haber)\
**Replies:** 8\
**Last updated:** [May 17, 2018, 4:58pm UTC](https://forum.ansible.com/t/host-lists-facts-and-handlers/27164 "2018-05-17T16:58:00Z")

</div>

Hi, I do regularly have the problem that I want to manage directory contents. To make things easier, we take an every day example such as /etc/apt/sources.list.d on a Debian system. While I am aware that there is a s…

---

## [azure\_rm\_virtualmachine: error to import AzureRMModuleBase](https://forum.ansible.com/t/azure-rm-virtualmachine-error-to-import-azurermmodulebase/27541)

<div class="topic-metadata">

**Author:** [@Irfan\_Sayed](https://forum.ansible.com/u/Irfan_Sayed)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 1:36pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-error-to-import-azurermmodulebase/27541 "2018-05-17T13:36:48Z")

</div>

Hello, I am trying to create the azure VM using ansible module : azure\_rm\_virtualmachine document referred : https://docs.ansible.com/ansible/2.4/azure\_rm\_virtualmachine\_module.html Actual error TASK \[azure\_vm\_creat…

---

## [File copy/Create folder on Windows server based upon json output from Powershell](https://forum.ansible.com/t/file-copy-create-folder-on-windows-server-based-upon-json-output-from-powershell/27527)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 9\
**Last updated:** [May 17, 2018, 10:46am UTC](https://forum.ansible.com/t/file-copy-create-folder-on-windows-server-based-upon-json-output-from-powershell/27527 "2018-05-17T10:46:06Z")

</div>

Firstly - sorry for the noob question. I’ve written a Powershell script that is run from a play that returns in json the name of a zip file. Output from Powershell { “Name”: “latest-ansible v0.1.zip” } playbook

---

## [winrm send\_input failed](https://forum.ansible.com/t/winrm-send-input-failed/25384)

<div class="topic-metadata">

**Author:** [@sohail.prodevans](https://forum.ansible.com/u/sohail.prodevans)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 8:58am UTC](https://forum.ansible.com/t/winrm-send-input-failed/25384 "2018-05-17T08:58:14Z")

</div>

\[WARNING\]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call last): File “/usr/lib/python2.7/site- packages/ansible/plugins/connection/winrm.py”, line 267, in \_winrm\_exec self.\_winrm\_send\_input(self.protoc…

---

## [delegate\_to with --extra-vars usage](https://forum.ansible.com/t/delegate-to-with-extra-vars-usage/27535)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 8:15am UTC](https://forum.ansible.com/t/delegate-to-with-extra-vars-usage/27535 "2018-05-17T08:15:23Z")

</div>

Trying to do something that seems straightforward but can’t work out why its failing. I’m simply trying to pass a random server within a group whose name is supplied at execution time to a task using “delegate\_to” and “…

---

## [Getting UUID of a VMware Virtual Machine using Ansible](https://forum.ansible.com/t/getting-uuid-of-a-vmware-virtual-machine-using-ansible/27551)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 5:07am UTC](https://forum.ansible.com/t/getting-uuid-of-a-vmware-virtual-machine-using-ansible/27551 "2018-05-17T05:07:36Z")

</div>

We are working on Ansible Environemt. We wanted to connect to a Newly Deployed VM using its UUUID. How to Get the UUID of a VMware Virtual Machine using Ansible so that i can establish the connection.

---

## [ansible error with loops (with\_items)](https://forum.ansible.com/t/ansible-error-with-loops-with-items/27548)

<div class="topic-metadata">

**Author:** [@jeyyu2003](https://forum.ansible.com/u/jeyyu2003)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 3:12am UTC](https://forum.ansible.com/t/ansible-error-with-loops-with-items/27548 "2018-05-17T03:12:19Z")

</div>

Hi, I am trying to use Ansible to reference a file to populate variables onto my mail playbook and having issues. Inline and using Jinja templates work but not with this specific configuration. Here’s my main loop3.yml …

---

## [Send commands to a not supported router](https://forum.ansible.com/t/send-commands-to-a-not-supported-router/27550)

<div class="topic-metadata">

**Author:** [@Juan\_Manuel\_Fernande](https://forum.ansible.com/u/Juan_Manuel_Fernande)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 2:36am UTC](https://forum.ansible.com/t/send-commands-to-a-not-supported-router/27550 "2018-05-17T02:36:51Z")

</div>

Hi! I’m a newbie to the ansible world. I want to generate a .yml file that send commands to a router. I try with routers cisco with the ios\_command module and works fine but y want to do the same with other router of …

---

## [Waiting for OS customization to complete](https://forum.ansible.com/t/waiting-for-os-customization-to-complete/27480)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 8:58pm UTC](https://forum.ansible.com/t/waiting-for-os-customization-to-complete/27480 "2018-05-16T20:58:09Z")

</div>

A question, We have templates that have been saved with sysprep. As I can with Ansible, after deploying the templates, wait for OS customization of sysprep to be completed. I have seen the following article for powerc…

---

## [Different output from URI module on different ansible versions.](https://forum.ansible.com/t/different-output-from-uri-module-on-different-ansible-versions/27538)

<div class="topic-metadata">

**Author:** [@canta](https://forum.ansible.com/u/canta)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 8:26pm UTC](https://forum.ansible.com/t/different-output-from-uri-module-on-different-ansible-versions/27538 "2018-05-16T20:26:08Z")

</div>

Hi all. I'm having a problem with the URI module: in two different servers, with different ansible versions, I get different output from the same uri call. I'm taking some code from the uri module docs themselves, like …

---

## [Modify various groups if present](https://forum.ansible.com/t/modify-various-groups-if-present/27547)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 7:08pm UTC](https://forum.ansible.com/t/modify-various-groups-if-present/27547 "2018-05-16T19:08:10Z")

</div>

How would you approach modifying the gid of a group on a server only if it exists? I know I can do this for 3 groups within 3 separate tasks (as an example), but I was hoping to combine them into a single task (see last …

---

## [ec2 CPU optimizing options](https://forum.ansible.com/t/ec2-cpu-optimizing-options/27545)

<div class="topic-metadata">

**Author:** [@Terry\_George](https://forum.ansible.com/u/Terry_George)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 3:30pm UTC](https://forum.ansible.com/t/ec2-cpu-optimizing-options/27545 "2018-05-16T15:30:16Z")

</div>

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html Is there current support in the ec2 module for CPU optimization yet? Basically you can customize the number of CPU cores and the number of t…

---

## [sudo\_exe deprecated in 2.8 use become\_exe](https://forum.ansible.com/t/sudo-exe-deprecated-in-2-8-use-become-exe/27544)

<div class="topic-metadata">

**Author:** [@Chris7](https://forum.ansible.com/u/Chris7)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 3:28pm UTC](https://forum.ansible.com/t/sudo-exe-deprecated-in-2-8-use-become-exe/27544 "2018-05-16T15:28:22Z")

</div>

Good day, I have an alternate location for my sudo command for root. When I set the path in ansible.cfg my command executes correctly however I get the warning listed below. I changed this path in ansible.cfg using sudo…

---

## [time out](https://forum.ansible.com/t/time-out/27522)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 2:36pm UTC](https://forum.ansible.com/t/time-out/27522 "2018-05-16T14:36:48Z")

</div>

Hi all, ansible 2.4.0.0 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/notebook/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python module location = /usr…

---

## [User and Password while using the uri\_module](https://forum.ansible.com/t/user-and-password-while-using-the-uri-module/27543)

<div class="topic-metadata">

**Author:** [@zenghuimin666](https://forum.ansible.com/u/zenghuimin666)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 2:05pm UTC](https://forum.ansible.com/t/user-and-password-while-using-the-uri-module/27543 "2018-05-16T14:05:58Z")

</div>

Hi everyone! Is there any possibility for me to create a user for an application, for instance Rocket.Chat, with ansible? I was using uri\_module. I tried to get the system info and login with ansible-playbook, which wor…

---

## [Help me please. How can I get the output of the command?](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27528)

<div class="topic-metadata">

**Author:** [@Josh\_Smift2](https://forum.ansible.com/u/Josh_Smift2)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 1:56pm UTC](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27528 "2018-05-16T13:56:22Z")

</div>

Why are you setting “verbosity: 3”? According to http://docs.ansible.com/ansible/latest/modules/debug\_module.html, that means “if you set to 3 it will only run debug when -vvv or above”. That’s causing Ansible to skip th…

---

## [best way to go about dhcp](https://forum.ansible.com/t/best-way-to-go-about-dhcp/27536)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 12:58pm UTC](https://forum.ansible.com/t/best-way-to-go-about-dhcp/27536 "2018-05-16T12:58:11Z")

</div>

Hi, Posting a hypothetical. Since my windows environment relies on a hosts file with addresses in said file, what do you do when your environment is dhcp? Like if the IPs keep changing, whats to be done in the hosts fi…

---

## [Cloud computing: how to update the inventory?](https://forum.ansible.com/t/cloud-computing-how-to-update-the-inventory/27542)

<div class="topic-metadata">

**Author:** [@ftriboix](https://forum.ansible.com/u/ftriboix)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 11:19am UTC](https://forum.ansible.com/t/cloud-computing-how-to-update-the-inventory/27542 "2018-05-16T11:19:12Z")

</div>

Hi everyone, I am currently writing some Ansible roles and playbooks to setup an AWS infrastructure and then to deploy apps/databases. The issue I have is that I want to create some EC2 instances during the first stage…

---

## [AWS ec2 creation problems with boto; boto3 running playbooks on AWS (first try on AWS)](https://forum.ansible.com/t/aws-ec2-creation-problems-with-boto-boto3-running-playbooks-on-aws-first-try-on-aws/27539)

<div class="topic-metadata">

**Author:** [@computerprosupport](https://forum.ansible.com/u/computerprosupport)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 10:44pm UTC](https://forum.ansible.com/t/aws-ec2-creation-problems-with-boto-boto3-running-playbooks-on-aws-first-try-on-aws/27539 "2018-05-15T22:44:37Z")

</div>

I am trying to create and ec2 instance from my Mac OSX machine. I highlighted the failure in Yellow. I have installed boto and boto3 via pip and there were no error messages on install. =\> pip3 list Package Version …

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

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