# Archives

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

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

**Page:** 497

---

## [Problems with 'ansible-galaxy install' with Ansible 2.3.0.0 and Ubuntu 16.04](https://forum.ansible.com/t/problems-with-ansible-galaxy-install-with-ansible-2-3-0-0-and-ubuntu-16-04/24231)

<div class="topic-metadata">

**Author:** [@Don\_Jackson](https://forum.ansible.com/u/Don_Jackson)\
**Replies:** 1\
**Last updated:** [April 17, 2017, 8:52pm UTC](https://forum.ansible.com/t/problems-with-ansible-galaxy-install-with-ansible-2-3-0-0-and-ubuntu-16-04/24231 "2017-04-17T20:52:46Z")

</div>

AFAICT, after Ansible 2.3.0.0 was released, when I run ‘ansible-galaxy install -r roles.yaml’ if any filename within the role begins with the name of the role, then that filename will be changed to remove the name of the…

---

## [ec2\_metric\_alarm Not Recognizing retries Parameter](https://forum.ansible.com/t/ec2-metric-alarm-not-recognizing-retries-parameter/24230)

<div class="topic-metadata">

**Author:** [@Jesse\_DeRose](https://forum.ansible.com/u/Jesse_DeRose)\
**Replies:** 0\
**Last updated:** [April 17, 2017, 8:44pm UTC](https://forum.ansible.com/t/ec2-metric-alarm-not-recognizing-retries-parameter/24230 "2017-04-17T20:44:38Z")

</div>

I’m currently using the ec2\_metric\_alarm module to create a CloudWatch alarm. Due to AWS API throttling, the task generally fails during its first try and must be retried with the “retries” parameter. My code looks somet…

---

## [wait\_for\_connection with 2.2 and/or wait\_for with a bastion host?](https://forum.ansible.com/t/wait-for-connection-with-2-2-and-or-wait-for-with-a-bastion-host/24229)

<div class="topic-metadata">

**Author:** [@Michael\_Artz](https://forum.ansible.com/u/Michael_Artz)\
**Replies:** 1\
**Last updated:** [April 17, 2017, 8:38pm UTC](https://forum.ansible.com/t/wait-for-connection-with-2-2-and-or-wait-for-with-a-bastion-host/24229 "2017-04-17T20:38:02Z")

</div>

I’m attempting to reboot a Linux host and wait for it to become available again. I’ve followed the ideas in both the docs (https://docs.ansible.com/ansible/wait\_for\_module.html) and https://github.com/ansible/ansible/iss…

---

## [Sending userdata via config\_drive doesn't seem to upload the userdata.](https://forum.ansible.com/t/sending-userdata-via-config-drive-doesnt-seem-to-upload-the-userdata/24228)

<div class="topic-metadata">

**Author:** [@Roy\_Hoerauf](https://forum.ansible.com/u/Roy_Hoerauf)\
**Replies:** 0\
**Last updated:** [April 17, 2017, 6:33pm UTC](https://forum.ansible.com/t/sending-userdata-via-config-drive-doesnt-seem-to-upload-the-userdata/24228 "2017-04-17T18:33:21Z")

</div>

I am attempting to create a new server and upload a json file as userdata. ansible-playbook indicates success but the instance doesn’t seem to see the userdata. However, it does work when I do this via nova boot or a hea…

---

## [Variable from EC2 Instance Tag](https://forum.ansible.com/t/variable-from-ec2-instance-tag/24227)

<div class="topic-metadata">

**Author:** [@Nate\_Ledet](https://forum.ansible.com/u/Nate_Ledet)\
**Replies:** 0\
**Last updated:** [April 17, 2017, 6:31pm UTC](https://forum.ansible.com/t/variable-from-ec2-instance-tag/24227 "2017-04-17T18:31:37Z")

</div>

When we create an EC2 instance, we then run playbooks on the EC2 instance to harden it and configure it the way we need to. Right now, I have a Python script with Boto3 retrieving tag information. I then pass the variab…

---

## [update to ansible appears to have broken required functionality - setup delegate\_facts](https://forum.ansible.com/t/update-to-ansible-appears-to-have-broken-required-functionality-setup-delegate-facts/23618)

<div class="topic-metadata">

**Author:** [@Peter\_Heitman](https://forum.ansible.com/u/Peter_Heitman)\
**Replies:** 2\
**Last updated:** [April 17, 2017, 5:05pm UTC](https://forum.ansible.com/t/update-to-ansible-appears-to-have-broken-required-functionality-setup-delegate-facts/23618 "2017-04-17T17:05:42Z")

</div>

I am running ansible on CentOS 6.8. This morning I ran yum update and got updated to a new version Updating : ansible-2.2.1.0-1.el6.noarch Unfortunately this appears to have broken my working ansible script. In particu…

---

## [Install Cordova on mac machine using Ansible](https://forum.ansible.com/t/install-cordova-on-mac-machine-using-ansible/24225)

<div class="topic-metadata">

**Author:** [@resudhakar](https://forum.ansible.com/u/resudhakar)\
**Replies:** 0\
**Last updated:** [April 17, 2017, 10:07am UTC](https://forum.ansible.com/t/install-cordova-on-mac-machine-using-ansible/24225 "2017-04-17T10:07:46Z")

</div>

Hello Everyone, i’m trying to setup one of my mac machine using ansible playbook and i want to install cordova as part of dependencies. i have wrote a playbook and even tried to call some roles which are available in an…

---

## [Ansible DSC integration - coming to main release?](https://forum.ansible.com/t/ansible-dsc-integration-coming-to-main-release/24033)

<div class="topic-metadata">

**Author:** [@Sam1](https://forum.ansible.com/u/Sam1)\
**Replies:** 11\
**Last updated:** [April 17, 2017, 7:29am UTC](https://forum.ansible.com/t/ansible-dsc-integration-coming-to-main-release/24033 "2017-04-17T07:29:28Z")

</div>

Hi all, I have just started to look at using Ansible as the orchestration engine for DSC resources on Windows; Ansible modules for Windows are a bit too thin on the ground at the moment. I have found a couple of options…

---

## [merging aws security rules](https://forum.ansible.com/t/merging-aws-security-rules/24224)

<div class="topic-metadata">

**Author:** [@Matt\_Graham](https://forum.ansible.com/u/Matt_Graham)\
**Replies:** 0\
**Last updated:** [April 16, 2017, 10:50pm UTC](https://forum.ansible.com/t/merging-aws-security-rules/24224 "2017-04-16T22:50:43Z")

</div>

I think someone once may have posted something like this but Im trying to merge a list of base firewall rules (AWS) into a master\_rules for that role Example: all the roles listed in default/main.yml would merge in the …

---

## [Runtime Error from Juniper.junos role](https://forum.ansible.com/t/runtime-error-from-juniper-junos-role/24185)

<div class="topic-metadata">

**Author:** [@Daniel\_Ratcliffe](https://forum.ansible.com/u/Daniel_Ratcliffe)\
**Replies:** 2\
**Last updated:** [April 16, 2017, 10:24am UTC](https://forum.ansible.com/t/runtime-error-from-juniper-junos-role/24185 "2017-04-16T10:24:17Z")

</div>

Hello, I installed Ansible(2.2.1.0), the Juniper.junos(1.4.0) role from Ansible galaxy with junos-eznc (2.1.1). I tried to create a test playbook to obtain the version of my test switch as shown below.

---

## [aws ec2 instance Permission denied (publickey) after created](https://forum.ansible.com/t/aws-ec2-instance-permission-denied-publickey-after-created/24213)

<div class="topic-metadata">

**Author:** [@Li\_Zheng](https://forum.ansible.com/u/Li_Zheng)\
**Replies:** 2\
**Last updated:** [April 15, 2017, 7:18pm UTC](https://forum.ansible.com/t/aws-ec2-instance-permission-denied-publickey-after-created/24213 "2017-04-15T19:18:01Z")

</div>

I am following ec2 module for Ansible example on link http://docs.ansible.com/ansible/ec2\_module.html instance is created correctly. However, during Configure instance Stage I tried to install apache. It return an error …

---

## [rollback of tasks](https://forum.ansible.com/t/rollback-of-tasks/24223)

<div class="topic-metadata">

**Author:** [@Ted\_Elhourani](https://forum.ansible.com/u/Ted_Elhourani)\
**Replies:** 1\
**Last updated:** [April 15, 2017, 3:27pm UTC](https://forum.ansible.com/t/rollback-of-tasks/24223 "2017-04-15T15:27:31Z")

</div>

I am trying to find out the best practice for writing modules that are composed of multiple config steps. For example, a module when it executes with given input might go through a sequence of API requests, checking for…

---

## [Improved Windows Pipelining in 2.3](https://forum.ansible.com/t/improved-windows-pipelining-in-2-3/24222)

<div class="topic-metadata">

**Author:** [@John\_V](https://forum.ansible.com/u/John_V)\
**Replies:** 2\
**Last updated:** [April 15, 2017, 11:54am UTC](https://forum.ansible.com/t/improved-windows-pipelining-in-2-3/24222 "2017-04-15T11:54:14Z")

</div>

I was just wondering if you need to enable the improved pipelining for Window in 2.3 or is it enabled by default.

---

## [If I so a limit on a range of hosts "--limit boston\[0-20\]" what is inclusive/exclusive?](https://forum.ansible.com/t/if-i-so-a-limit-on-a-range-of-hosts-limit-boston-0-20-what-is-inclusive-exclusive/24221)

<div class="topic-metadata">

**Author:** [@Mike\_Cavedon](https://forum.ansible.com/u/Mike_Cavedon)\
**Replies:** 1\
**Last updated:** [April 14, 2017, 4:41pm UTC](https://forum.ansible.com/t/if-i-so-a-limit-on-a-range-of-hosts-limit-boston-0-20-what-is-inclusive-exclusive/24221 "2017-04-14T16:41:40Z")

</div>

If I do “–limit boston\[0-20\]” does it deploy to boston01 to boston20?

---

## [When will Ansible 2.3 be released?](https://forum.ansible.com/t/when-will-ansible-2-3-be-released/23210)

<div class="topic-metadata">

**Author:** [@Tim3](https://forum.ansible.com/u/Tim3)\
**Replies:** 3\
**Last updated:** [April 14, 2017, 12:17pm UTC](https://forum.ansible.com/t/when-will-ansible-2-3-be-released/23210 "2017-04-14T12:17:21Z")

</div>

Hi, I need some module updates included in the next Ansible version (2.3). I searched for estimated release dates, but didn’t find anything. Has anybody an idea how long it could take or more general: how often does Ans…

---

## [Complex Loops and Conditionals (a.k.a Dude, where's my include + with\_items + when)](https://forum.ansible.com/t/complex-loops-and-conditionals-a-k-a-dude-wheres-my-include-with-items-when/14373)

<div class="topic-metadata">

**Author:** [@Christopher\_O\_Conne2](https://forum.ansible.com/u/Christopher_O_Conne2)\
**Replies:** 1\
**Last updated:** [April 14, 2017, 3:57am UTC](https://forum.ansible.com/t/complex-loops-and-conditionals-a-k-a-dude-wheres-my-include-with-items-when/14373 "2017-04-14T03:57:59Z")

</div>

Hello List, I understand that a decision has been made to remove include + with\_items, and I am not trying to directly revisit that decision. What I am trying to figure out is how to effectively replace such constructs …

---

## [Ansible tower new host ssh connection](https://forum.ansible.com/t/ansible-tower-new-host-ssh-connection/24216)

<div class="topic-metadata">

**Author:** [@Shruti\_Sharda](https://forum.ansible.com/u/Shruti_Sharda)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 4:47pm UTC](https://forum.ansible.com/t/ansible-tower-new-host-ssh-connection/24216 "2017-04-13T16:47:10Z")

</div>

Hi, I have recently started using Ansible tower for REST based API support for ansible. In order to manage new hosts in ansible we need to edit /etc/ansible/hosts file, add new host to it, and setup SSH connection with …

---

## [Bug with Custom Setup.ps1 File in New PPA Release](https://forum.ansible.com/t/bug-with-custom-setup-ps1-file-in-new-ppa-release/20206)

<div class="topic-metadata">

**Author:** [@Corwin\_Brown](https://forum.ansible.com/u/Corwin_Brown)\
**Replies:** 5\
**Last updated:** [April 13, 2017, 4:28pm UTC](https://forum.ansible.com/t/bug-with-custom-setup-ps1-file-in-new-ppa-release/20206 "2017-04-13T16:28:56Z")

</div>

Hey gang, I have a custom version of the ‘setup.ps1’ file in my ‘/etc/ansible/library’ (It allows me to gather facter facts on Windows). In 1.9 Ansible would correctly run ‘setup.py’ on Linux hosts, and my custom ‘libra…

---

## [Change vault password during a play](https://forum.ansible.com/t/change-vault-password-during-a-play/24219)

<div class="topic-metadata">

**Author:** [@Vaclav\_Doubek](https://forum.ansible.com/u/Vaclav_Doubek)\
**Replies:** 0\
**Last updated:** [April 13, 2017, 3:32pm UTC](https://forum.ansible.com/t/change-vault-password-during-a-play/24219 "2017-04-13T15:32:51Z")

</div>

Is there a way how to change vault password during a play? I would like to have a role for ansible server with all necessary setup including vault password setting. Just install Ansible, pull from Git and play - without …

---

## [usage of loop (with\_items), register and debug](https://forum.ansible.com/t/usage-of-loop-with-items-register-and-debug/24205)

<div class="topic-metadata">

**Author:** [@ravi\_katta](https://forum.ansible.com/u/ravi_katta)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 1:58pm UTC](https://forum.ansible.com/t/usage-of-loop-with-items-register-and-debug/24205 "2017-04-13T13:58:35Z")

</div>

Hello, checking if anyone have any insight or pointing me to a solution, about using loops with register and debug: I’m looking for a) just debug msg output whenever the mountpoint on remote server is not configured. …

---

## [ansible command throwing error while running mysql query with where clause](https://forum.ansible.com/t/ansible-command-throwing-error-while-running-mysql-query-with-where-clause/24198)

<div class="topic-metadata">

**Author:** [@anaparthi\_naresh\_bab](https://forum.ansible.com/u/anaparthi_naresh_bab)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 8:33am UTC](https://forum.ansible.com/t/ansible-command-throwing-error-while-running-mysql-query-with-where-clause/24198 "2017-04-13T08:33:01Z")

</div>

Tried running below query and throwing error. Looks issue with single/double quotes. Do we need to use any escape sequence like /" ansible EM7DBVIPTEST -m shell -a ‘silo\_mysql -e “update master.system\_settings\_backup se…

---

## [what to do with a command task which starts more scripts](https://forum.ansible.com/t/what-to-do-with-a-command-task-which-starts-more-scripts/24207)

<div class="topic-metadata">

**Author:** [@Rob\_Mokkink](https://forum.ansible.com/u/Rob_Mokkink)\
**Replies:** 3\
**Last updated:** [April 13, 2017, 7:52am UTC](https://forum.ansible.com/t/what-to-do-with-a-command-task-which-starts-more-scripts/24207 "2017-04-13T07:52:09Z")

</div>

Hi, I am facing an issue with a command task that executes a main ruby script(\`\`oreman-proxy-certs-generate), see https://theforeman.org/plugins/katello/3.3/installation/smart\_proxy.html. \`\` The command executes the r…

---

## [Problems restarting auditd on Centos7 - "Unable to restart service auditd: Failed to restart auditd.service: Operation refused"](https://forum.ansible.com/t/problems-restarting-auditd-on-centos7-unable-to-restart-service-auditd-failed-to-restart-auditd-service-operation-refused/24203)

<div class="topic-metadata">

**Author:** [@Mike\_Eriksson](https://forum.ansible.com/u/Mike_Eriksson)\
**Replies:** 3\
**Last updated:** [April 13, 2017, 7:23am UTC](https://forum.ansible.com/t/problems-restarting-auditd-on-centos7-unable-to-restart-service-auditd-failed-to-restart-auditd-service-operation-refused/24203 "2017-04-13T07:23:44Z")

</div>

Hi All, I’m currently trying to build a role to maintain auditd across our machines. We got a couple of different flavours of Linux as well as versions thereof running in our environment so I’m trying to get it to work …

---

## [how to turn off included notification when running ansible2 playbook](https://forum.ansible.com/t/how-to-turn-off-included-notification-when-running-ansible2-playbook/24208)

<div class="topic-metadata">

**Author:** [@tk\_yass](https://forum.ansible.com/u/tk_yass)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 5:50am UTC](https://forum.ansible.com/t/how-to-turn-off-included-notification-when-running-ansible2-playbook/24208 "2017-04-13T05:50:08Z")

</div>

Hi all, Whenever I run ansible 2.0 playbook it states al the included files in the list of running tasks. is there a way to make it less verbose and turn off this kind of statements?

---

## [Split a variable?](https://forum.ansible.com/t/split-a-variable/24204)

<div class="topic-metadata">

**Author:** [@ouafnico](https://forum.ansible.com/u/ouafnico)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 5:36am UTC](https://forum.ansible.com/t/split-a-variable/24204 "2017-04-13T05:36:55Z")

</div>

Hi all, I’m searching how to split a variable with ansible. For example on my playbook I got the variable {{install\[‘myhostname’\]}}. Actually this viarable is hostname.domain. How can I split it to 2 variables, hostn…

---

## [Need to know where we need to write the code for below thing -](https://forum.ansible.com/t/need-to-know-where-we-need-to-write-the-code-for-below-thing/24201)

<div class="topic-metadata">

**Author:** [@nishant\_bawane](https://forum.ansible.com/u/nishant_bawane)\
**Replies:** 1\
**Last updated:** [April 13, 2017, 1:24am UTC](https://forum.ansible.com/t/need-to-know-where-we-need-to-write-the-code-for-below-thing/24201 "2017-04-13T01:24:14Z")

</div>

I know it is stupid question, but how can I use the beow code in my playbook . Do we need to use any command or shell for this ? {% for host in groups\[‘app\_servers’\] %} {{ hostvars\[host\]\[‘ansible\_eth0’\]\[‘ipv4’\]\[‘addres…

---

## [Ansible has stopped working for me](https://forum.ansible.com/t/ansible-has-stopped-working-for-me/24193)

<div class="topic-metadata">

**Author:** [@Mike\_Johnston](https://forum.ansible.com/u/Mike_Johnston)\
**Replies:** 7\
**Last updated:** [April 12, 2017, 10:55pm UTC](https://forum.ansible.com/t/ansible-has-stopped-working-for-me/24193 "2017-04-12T22:55:49Z")

</div>

I’m having an issue that I cannot google my way out of for some reason. I had Ansible working just fine on all my systems but I hadn’t used it in a while. I went back to push some changes recently and now I cannot push a…

---

## [module like expect, but on windows](https://forum.ansible.com/t/module-like-expect-but-on-windows/24212)

<div class="topic-metadata">

**Author:** [@Tony\_Walsh](https://forum.ansible.com/u/Tony_Walsh)\
**Replies:** 1\
**Last updated:** [April 12, 2017, 10:18pm UTC](https://forum.ansible.com/t/module-like-expect-but-on-windows/24212 "2017-04-12T22:18:40Z")

</div>

Ansible folk I have a package that I want Ansible to download and install on my host computer. After the download, the next step in the installation process is a configure - first step in the configure process is to res…

---

## [Ansible 2.3.0 FINAL has been released!](https://forum.ansible.com/t/ansible-2-3-0-final-has-been-released/24202)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [April 12, 2017, 10:11pm UTC](https://forum.ansible.com/t/ansible-2-3-0-final-has-been-released/24202 "2017-04-12T22:11:19Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.3.0 has been released! This release includes many new features and improvements: Shared code for modules can now be placed in “module\_utils” directories local to you…

---

## [Misunderstanding about host + var + group\_vars](https://forum.ansible.com/t/misunderstanding-about-host-var-group-vars/24200)

<div class="topic-metadata">

**Author:** [@Alex6](https://forum.ansible.com/u/Alex6)\
**Replies:** 1\
**Last updated:** [April 12, 2017, 9:39pm UTC](https://forum.ansible.com/t/misunderstanding-about-host-var-group-vars/24200 "2017-04-12T21:39:25Z")

</div>

I’ve seen others post similar experiences, but I can never quite get my head around it. If someone could explain the following behaviour that would be great. So i have mydev.yml and mylive.yml They look something like: …

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

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