# Ansible Project

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

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

**Page:** 312

---

## [Problem referencing variables](https://forum.ansible.com/t/problem-referencing-variables/25528)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 4\
**Last updated:** [September 21, 2017, 7:19pm UTC](https://forum.ansible.com/t/problem-referencing-variables/25528 "2017-09-21T19:19:36Z")

</div>

Hi, I’m trying to see where I’m going wrong here: Relevant code snippet: - lineinfile: path: /home/"{{ new\_user }}"/.ssh/ Error message I get at execution: ERROR! Syntax Error while loading YAML. The error appears…

---

## [replace module:  Invalid group reference](https://forum.ansible.com/t/replace-module-invalid-group-reference/25564)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [September 21, 2017, 6:20pm UTC](https://forum.ansible.com/t/replace-module-invalid-group-reference/25564 "2017-09-21T18:20:05Z")

</div>

I am trying to append to some lines within the nsswitch file to setup sssd. I am trying this with the loop below, but I have never used backrefs before. I am unsure if I am doing it correctly. I get an error about an inv…

---

## [Ansible report - Web interface](https://forum.ansible.com/t/ansible-report-web-interface/25544)

<div class="topic-metadata">

**Author:** [@manu1](https://forum.ansible.com/u/manu1)\
**Replies:** 2\
**Last updated:** [September 21, 2017, 5:53pm UTC](https://forum.ansible.com/t/ansible-report-web-interface/25544 "2017-09-21T17:53:14Z")

</div>

Hi, I developed and now share an Ansible report in Python (flask) The python script create a personal temporary tiny web server where you can analyse your ansible report in a nice web interface. You can found my littl…

---

## [How to update or add string at the end of a line](https://forum.ansible.com/t/how-to-update-or-add-string-at-the-end-of-a-line/25525)

<div class="topic-metadata">

**Author:** [@phatak.salil](https://forum.ansible.com/u/phatak.salil)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 9:52am UTC](https://forum.ansible.com/t/how-to-update-or-add-string-at-the-end-of-a-line/25525 "2017-09-21T09:52:33Z")

</div>

Hello Guys, I want to add /append a line using anisble .How can this be achieved. I have tried the lineinfile module ,but it dosen’t seem to work .Is there a better way to do that ,Below is what I need to achieve Regar…

---

## [help with a cloudwatchevent\_rule problem](https://forum.ansible.com/t/help-with-a-cloudwatchevent-rule-problem/25551)

<div class="topic-metadata">

**Author:** [@Derek\_Gibson](https://forum.ansible.com/u/Derek_Gibson)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 8:11am UTC](https://forum.ansible.com/t/help-with-a-cloudwatchevent-rule-problem/25551 "2017-09-21T08:11:54Z")

</div>

I want to be able to update ecs scheduled tasks via ansible, using cloudwatchevent\_rule: name: ansitest schedule\_expression: “cron(0 20 \* \* ? \*)” description: test from ansible targets: id: ansitest arn: arn:aws…

---

## [Aggregates in network modules](https://forum.ansible.com/t/aggregates-in-network-modules/25546)

<div class="topic-metadata">

**Author:** [@Steve\_Kersley](https://forum.ansible.com/u/Steve_Kersley)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 6:21am UTC](https://forum.ansible.com/t/aggregates-in-network-modules/25546 "2017-09-21T06:21:24Z")

</div>

Am I misunderstanding something with the way aggregates work with network modules on 2.4? From the 2.4 ‘coming soon’ blog post describing aggregate resources, it mentions using them in playbooks to set state without pri…

---

## [jenkins installation using ansible](https://forum.ansible.com/t/jenkins-installation-using-ansible/25549)

<div class="topic-metadata">

**Author:** [@Sreekuttan\_Sree](https://forum.ansible.com/u/Sreekuttan_Sree)\
**Replies:** 0\
**Last updated:** [September 21, 2017, 6:18am UTC](https://forum.ansible.com/t/jenkins-installation-using-ansible/25549 "2017-09-21T06:18:32Z")

</div>

Hi , While installing jenkins using ansible , i got thhe error as below, Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" fo…

---

## [Keep a 2.3 ppa?](https://forum.ansible.com/t/keep-a-2-3-ppa/25547)

<div class="topic-metadata">

**Author:** [@Carlo\_Cabanilla](https://forum.ansible.com/u/Carlo_Cabanilla)\
**Replies:** 2\
**Last updated:** [September 21, 2017, 2:18am UTC](https://forum.ansible.com/t/keep-a-2-3-ppa/25547 "2017-09-21T02:18:32Z")

</div>

Hi, I’m hitting a blocking bug in the 2.4 release and I was wondering if you guys could keep around the last 2.3.x package in the ppa repo so we can choose to stay at the previous version until a bugfix patch has been r…

---

## [Ansible 2.3.1\>2.x : vmware\_guest and vsphere\_guest support for VCenter 6.5](https://forum.ansible.com/t/ansible-2-3-1-2-x-vmware-guest-and-vsphere-guest-support-for-vcenter-6-5/25545)

<div class="topic-metadata">

**Author:** [@Yan\_Zheng](https://forum.ansible.com/u/Yan_Zheng)\
**Replies:** 0\
**Last updated:** [September 20, 2017, 6:50pm UTC](https://forum.ansible.com/t/ansible-2-3-1-2-x-vmware-guest-and-vsphere-guest-support-for-vcenter-6-5/25545 "2017-09-20T18:50:47Z")

</div>

Hi, I was wondering if anyone is using Ansible 2.3.1 or newer with modules: vmware\_guest and vsphere\_guest on VCenter 6.5 Update 1? We’re in the process of updating our VCenter from 5.5 to 6.1 Update 1 and I just want t…

---

## [Ansible ping issue](https://forum.ansible.com/t/ansible-ping-issue/25506)

<div class="topic-metadata">

**Author:** [@Sreekuttan\_Sree](https://forum.ansible.com/u/Sreekuttan_Sree)\
**Replies:** 7\
**Last updated:** [September 20, 2017, 1:47pm UTC](https://forum.ansible.com/t/ansible-ping-issue/25506 "2017-09-20T13:47:30Z")

</div>

Hi Team, Am new to ansible. when am pinging to node machine it shows error like this. META: ran handlers Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/ping.py \<192.168.80.129\> ESTABLISH SS…

---

## [choose random host frm the playbook to delegate to](https://forum.ansible.com/t/choose-random-host-frm-the-playbook-to-delegate-to/25542)

<div class="topic-metadata">

**Author:** [@Hudec\_Peter](https://forum.ansible.com/u/Hudec_Peter)\
**Replies:** 0\
**Last updated:** [September 20, 2017, 7:45am UTC](https://forum.ansible.com/t/choose-random-host-frm-the-playbook-to-delegate-to/25542 "2017-09-20T07:45:56Z")

</div>

Hi, I need to run jib on one host from the hosts in playbook. To distribute it, should be random host. But as many time as I run the playbook, always the first host is chosen. Please, what do I wrong? Right now , the…

---

## [fatal: \[XXXX\]: FAILED! =\> {"changed": false, "failed": true, "msg": "unable to open shell.](https://forum.ansible.com/t/fatal-xxxx-failed-changed-false-failed-true-msg-unable-to-open-shell/25245)

<div class="topic-metadata">

**Author:** [@Sunil6057](https://forum.ansible.com/u/Sunil6057)\
**Replies:** 10\
**Last updated:** [September 20, 2017, 7:09am UTC](https://forum.ansible.com/t/fatal-xxxx-failed-changed-false-failed-true-msg-unable-to-open-shell/25245 "2017-09-20T07:09:30Z")

</div>

Hi When running playbook i am geting (running Ansible 2.4) fatal: \[XXXXX\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: "unable to open shell. Try host\_key …False no use… need advice / help

---

## [aws\_s3 module problem Ansible 2.4](https://forum.ansible.com/t/aws-s3-module-problem-ansible-2-4/25529)

<div class="topic-metadata">

**Author:** [@Arbab\_Nazar1](https://forum.ansible.com/u/Arbab_Nazar1)\
**Replies:** 2\
**Last updated:** [September 20, 2017, 4:28am UTC](https://forum.ansible.com/t/aws-s3-module-problem-ansible-2-4/25529 "2017-09-20T04:28:16Z")

</div>

I have simple task to download file from s3 bucket which works fine with Ansible 2.3, when I have upgraded the ansible from 2.3 to 2.4, it complain that I need to use the aws\_s3 module instead of s3 which I did and getti…

---

## [Support looking up binary files as HTTP-based APIs are increasingly supporting uploading of BASE64 encoded binaries in JSON documents.](https://forum.ansible.com/t/support-looking-up-binary-files-as-http-based-apis-are-increasingly-supporting-uploading-of-base64-encoded-binaries-in-json-documents/25540)

<div class="topic-metadata">

**Author:** [@Behrang](https://forum.ansible.com/u/Behrang)\
**Replies:** 1\
**Last updated:** [September 20, 2017, 2:29am UTC](https://forum.ansible.com/t/support-looking-up-binary-files-as-http-based-apis-are-increasingly-supporting-uploading-of-base64-encoded-binaries-in-json-documents/25540 "2017-09-20T02:29:25Z")

</div>

Hi, This is in regards to #11594. Many APIs these days allow embedding BASE64 encoded binary data in JSON documents. Here’s an example from Databricks, wherein the “content” field can contain BASE64 encoded binary data: …

---

## [ansible 2.3.2.0 =\> 2.4.0.0 connection problems?](https://forum.ansible.com/t/ansible-2-3-2-0-2-4-0-0-connection-problems/25530)

<div class="topic-metadata">

**Author:** [@Erik\_Purins](https://forum.ansible.com/u/Erik_Purins)\
**Replies:** 3\
**Last updated:** [September 19, 2017, 10:06pm UTC](https://forum.ansible.com/t/ansible-2-3-2-0-2-4-0-0-connection-problems/25530 "2017-09-19T22:06:03Z")

</div>

Hi everyone, Today I made a new ansible virtualenv with 2.4.0.0 and dependencies. A task that worked before on 2.3.2.0 is stopping with a new error. After the task completes ok, the run stops with error: “”" sending…

---

## [ANSIBLE\_INVENTORY\_ENABLED not picking up values](https://forum.ansible.com/t/ansible-inventory-enabled-not-picking-up-values/25531)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 4\
**Last updated:** [September 19, 2017, 9:32pm UTC](https://forum.ansible.com/t/ansible-inventory-enabled-not-picking-up-values/25531 "2017-09-19T21:32:04Z")

</div>

As specified here: https://github.com/ansible/ansible/issues/25321 we must now specify the inventory type, making yaml based inventory a higher precedence. I found the new cli env vars here: https://github.com/ansibl…

---

## [replace module.  Please explain \\1 \\2](https://forum.ansible.com/t/replace-module-please-explain-1-2/25537)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 9:24pm UTC](https://forum.ansible.com/t/replace-module-please-explain-1-2/25537 "2017-09-19T21:24:12Z")

</div>

I am trying to use the replace module, and I see all of these examples with \\1 and \\2 in them. I assume these are for backrefs or soemthing? Can someone explain it to me? I am trying to append “sss” to my passwd and grou…

---

## [style question: fail or skip tasks if credentials are not present?](https://forum.ansible.com/t/style-question-fail-or-skip-tasks-if-credentials-are-not-present/25538)

<div class="topic-metadata">

**Author:** [@gordonmessmer](https://forum.ansible.com/u/gordonmessmer)\
**Replies:** 0\
**Last updated:** [September 19, 2017, 9:21pm UTC](https://forum.ansible.com/t/style-question-fail-or-skip-tasks-if-credentials-are-not-present/25538 "2017-09-19T21:21:30Z")

</div>

I’m getting started with Ansible, having worked with other systems previously. I think I have a reasonable grasp on the technical aspects of the tool, but I have a question about what the community regards as best practi…

---

## [AWX: Updating roles on project update/install](https://forum.ansible.com/t/awx-updating-roles-on-project-update-install/25532)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 8:51pm UTC](https://forum.ansible.com/t/awx-updating-roles-on-project-update-install/25532 "2017-09-19T20:51:27Z")

</div>

I am running AWX inside of some docker containers and can’t get the project\_update job to install roles from my requirements.yml file. false . It successfully finds the file, but, for some reason, scm\_full\_checkout is …

---

## [I need a mentor](https://forum.ansible.com/t/i-need-a-mentor/25508)

<div class="topic-metadata">

**Author:** [@akshat\_ahuja](https://forum.ansible.com/u/akshat_ahuja)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 3:53pm UTC](https://forum.ansible.com/t/i-need-a-mentor/25508 "2017-09-19T15:53:46Z")

</div>

I am a student and I am really interested in ansible and want to contribute for it. But the problem is that i have never contributed to Open Source, but I am willing to, Can somebody please mentor me.

---

## [remote\_tmp](https://forum.ansible.com/t/remote-tmp/25526)

<div class="topic-metadata">

**Author:** [@Siva](https://forum.ansible.com/u/Siva)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 2:57pm UTC](https://forum.ansible.com/t/remote-tmp/25526 "2017-09-19T14:57:31Z")

</div>

Hi, We have overridden the remote\_tmp as “$HOME/.ansible/tmp” in the ansible\_cfg but still ansible uses the ‘/tmp’ and the entire execution fails because we dont have ‘/tmp’ allocated with enough space to perform our ex…

---

## [can ansible gather info on network different devices?](https://forum.ansible.com/t/can-ansible-gather-info-on-network-different-devices/25503)

<div class="topic-metadata">

**Author:** [@user53](https://forum.ansible.com/u/user53)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 12:09pm UTC](https://forum.ansible.com/t/can-ansible-gather-info-on-network-different-devices/25503 "2017-09-19T12:09:31Z")

</div>

Hi all, I’m new with ansible, I need a tool for my LAB at work and wondering if ansible is the one. can I gather information on all devices in the same network with ansible? the devices are may vary by types OS, and e…

---

## [Playbook issues](https://forum.ansible.com/t/playbook-issues/25519)

<div class="topic-metadata">

**Author:** [@Sreekuttan\_Sree](https://forum.ansible.com/u/Sreekuttan_Sree)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 6:06am UTC](https://forum.ansible.com/t/playbook-issues/25519 "2017-09-19T06:06:05Z")

</div>

HI, TASK \[Install foo.\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[192.168.80.129\]: FAILED! =\> {“changed”: false, “cmd”: “apt-get update”, “failed”: true, “msg”: “W: chmod 0700 of directory /v…

---

## [Is the CISCO---  IOS\_STATIC\_ROUTE module working ok for you?](https://forum.ansible.com/t/is-the-cisco-ios-static-route-module-working-ok-for-you/25517)

<div class="topic-metadata">

**Author:** [@MikeM](https://forum.ansible.com/u/MikeM)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 5:05am UTC](https://forum.ansible.com/t/is-the-cisco-ios-static-route-module-working-ok-for-you/25517 "2017-09-19T05:05:28Z")

</div>

Hi All, Having major problems with this module. Can’t get it to work + the Ansible Docs link appears incomplete on the main site. ie…things like…no reference to using it. ie. “Provider” http://docs.ansible.com/ansible…

---

## [Error mounting EFS volume to EC2 instance using ansible facts](https://forum.ansible.com/t/error-mounting-efs-volume-to-ec2-instance-using-ansible-facts/25504)

<div class="topic-metadata">

**Author:** [@Anuj\_Dogra](https://forum.ansible.com/u/Anuj_Dogra)\
**Replies:** 3\
**Last updated:** [September 18, 2017, 8:54pm UTC](https://forum.ansible.com/t/error-mounting-efs-volume-to-ec2-instance-using-ansible-facts/25504 "2017-09-18T20:54:56Z")

</div>

I have the following tasks in my ansible playbook to register the AZ for an AWS resource: name: Get current AZ from AWS. uri: url: http://169.254.169.254/latest/meta-data/placement/availability-zone return\_content:…

---

## [Ansible 2.4.0 (rc4 or rc5) seems significantly slower than Ansible 2.3.2](https://forum.ansible.com/t/ansible-2-4-0-rc4-or-rc5-seems-significantly-slower-than-ansible-2-3-2/25511)

<div class="topic-metadata">

**Author:** [@PhilEv](https://forum.ansible.com/u/PhilEv)\
**Replies:** 4\
**Last updated:** [September 18, 2017, 3:53pm UTC](https://forum.ansible.com/t/ansible-2-4-0-rc4-or-rc5-seems-significantly-slower-than-ansible-2-3-2/25511 "2017-09-18T15:53:04Z")

</div>

Any reasons for a significative slowdown ? For the playbook used for my early 2.a testing, this almost double the execution time running: time ansible-playbook \[…\] with the same playbook against the same target syste…

---

## [Ansible Windows Sprint 2](https://forum.ansible.com/t/ansible-windows-sprint-2/25509)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 0\
**Last updated:** [September 18, 2017, 10:09am UTC](https://forum.ansible.com/t/ansible-windows-sprint-2/25509 "2017-09-18T10:09:51Z")

</div>

Hello, There will be a second Windows Sprint on Tuesday 2017-09-19 starting at 19:00 UTC - see http://everytimezone.com/#2017-9-18,1860,cn3 for when that is in a timezone near you. The idea is to tackle some of the out…

---

## [find module regex on destination of a link?](https://forum.ansible.com/t/find-module-regex-on-destination-of-a-link/25507)

<div class="topic-metadata">

**Author:** [@Goetz\_Leupold](https://forum.ansible.com/u/Goetz_Leupold)\
**Replies:** 0\
**Last updated:** [September 18, 2017, 7:38am UTC](https://forum.ansible.com/t/find-module-regex-on-destination-of-a-link/25507 "2017-09-18T07:38:18Z")

</div>

Hello, got the following contents in a dir(/usr/java): #lrwxrwxrwx 1 root root 16 Jul 4 2016 default → /usr/java/latest #drwxr-xr-x 8 root root 4096 Mar 17 2017 jdk1.8.0\_121 #drwxr-xr-x 8 root root 4096 Jul 12 13:41 …

---

## [Q: use of delegated\_facts?](https://forum.ansible.com/t/q-use-of-delegated-facts/25493)

<div class="topic-metadata">

**Author:** [@Sieds\_Pallas](https://forum.ansible.com/u/Sieds_Pallas)\
**Replies:** 1\
**Last updated:** [September 17, 2017, 4:09pm UTC](https://forum.ansible.com/t/q-use-of-delegated-facts/25493 "2017-09-17T16:09:13Z")

</div>

Hi, I am getting confused on the working and purpose of delegated\_facts. If I read the manual correctly: http://docs.ansible.com/ansible/latest/playbooks\_delegation.html#delegated-facts when you delegate a task to an…

---

## [Module maintained by Ansible Community missing ?](https://forum.ansible.com/t/module-maintained-by-ansible-community-missing/25502)

<div class="topic-metadata">

**Author:** [@misha](https://forum.ansible.com/u/misha)\
**Replies:** 2\
**Last updated:** [September 17, 2017, 1:31pm UTC](https://forum.ansible.com/t/module-maintained-by-ansible-community-missing/25502 "2017-09-17T13:31:02Z")

</div>

Hello to everyone! I try executing ad-hoc command such as: ansible windows -m win\_user\_right -a 'name=SeDenyRemoteInteractiveLogonRight users=MY\_USER action=set' but I get this error: The module win\_user\_right was no…

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

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