# Latest

**URL:** https://forum.ansible.com/latest.md?page=622

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

**Page:** 623

---

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

---

## [run AWX after shutdown](https://forum.ansible.com/t/run-awx-after-shutdown/25552)

<div class="topic-metadata">

**Author:** [@Hudec\_Peter](https://forum.ansible.com/u/Hudec_Peter)\
**Replies:** 3\
**Last updated:** [September 21, 2017, 2:09pm UTC](https://forum.ansible.com/t/run-awx-after-shutdown/25552 "2017-09-21T14:09:13Z")

</div>

Hi, it there any other way how to run AWX after docker shutdown as run the installation process again? thanks Peter

---

## [using gathered facts to gather other facts](https://forum.ansible.com/t/using-gathered-facts-to-gather-other-facts/25556)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 0\
**Last updated:** [September 21, 2017, 1:56pm UTC](https://forum.ansible.com/t/using-gathered-facts-to-gather-other-facts/25556 "2017-09-21T13:56:37Z")

</div>

Hi, is it possible to gather some custom facts on hosts, and after that to use those gathered facts to gather other facts. For example, first I need to gather some facts about some host, after that, I would like to run…

---

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

---

## [New installation fails on building Docker image (can't get server API version)](https://forum.ansible.com/t/new-installation-fails-on-building-docker-image-cant-get-server-api-version/25490)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 4\
**Last updated:** [September 20, 2017, 7:54pm UTC](https://forum.ansible.com/t/new-installation-fails-on-building-docker-image-cant-get-server-api-version/25490 "2017-09-20T19:54:41Z")

</div>

I am thrilled that AWX is open-source now. I am eager to try it out! I am trying to build on a stock minimal centos7 host on AWS. I have followed the INSTALL.md, with the addition of python-pip and vim packages. This s…

---

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

---

## [Setting PYTHONPATH during playbook execution](https://forum.ansible.com/t/setting-pythonpath-during-playbook-execution/25513)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 4\
**Last updated:** [September 20, 2017, 6:43pm UTC](https://forum.ansible.com/t/setting-pythonpath-during-playbook-execution/25513 "2017-09-20T18:43:17Z")

</div>

I have some lookup plugins that import some custom python modules, and I’m gettting python errors during execution because it can’t find them. I need a way to set the PYTHONPATH environment variable prior to playbook exe…

---

## [Postgres Migration error](https://forum.ansible.com/t/postgres-migration-error/25447)

<div class="topic-metadata">

**Author:** [@John\_Hooks](https://forum.ansible.com/u/John_Hooks)\
**Replies:** 8\
**Last updated:** [September 20, 2017, 3:21pm UTC](https://forum.ansible.com/t/postgres-migration-error/25447 "2017-09-20T15:21:26Z")

</div>

Anyone else get this with an external Postgres server? CentOS 7 for both Postgres and AWX. “ProgrammingError: relation “celery\_taskmeta” does not exist” I’ve done it multiple times with the same results every time. Mig…

---

## [sharing roles](https://forum.ansible.com/t/sharing-roles/25539)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 5\
**Last updated:** [September 20, 2017, 2:49pm UTC](https://forum.ansible.com/t/sharing-roles/25539 "2017-09-20T14:49:58Z")

</div>

On a normal system, I would install all of my roles into a common place (e.g. /etc/ansible/roles/). Then, any playbook on the system can use any of them. I store each role in a separate git repo. In AWX, projects seem 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…

---

## [All changes were gone after server reboot](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523)

<div class="topic-metadata">

**Author:** [@John\_Ross\_Tasipit](https://forum.ansible.com/u/John_Ross_Tasipit)\
**Replies:** 4\
**Last updated:** [September 20, 2017, 1:31pm UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523 "2017-09-20T13:31:34Z")

</div>

I have fresh installed Ansible AWX and downloaded projects from git using SCM. I have created users, templates and inventories as well. But after I reboot the server everything was gone? I have started all docker images …

---

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

<div class="topic-metadata">

**Author:** [@Zsolt\_Kulcsar](https://forum.ansible.com/u/Zsolt_Kulcsar)\
**Replies:** 0\
**Last updated:** [September 20, 2017, 12:18pm UTC](https://forum.ansible.com/t/problem-referencing-defined-variables/25543 "2017-09-20T12:18:43Z")

</div>

Dave, the double quotes should be around the full value of path. see http://docs.ansible.com/ansible/latest/YAMLSyntax.html#gotchas lineinfile: path: “/home/{{ new\_user\_acct\_name }}/.ssh/authorized\_keys” regards, Zs…

---

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

---

## [Creating a new scheduler for a template job is broken.  AWX 1.0.0.391 ( Ansible 2.3.1.0  )](https://forum.ansible.com/t/creating-a-new-scheduler-for-a-template-job-is-broken-awx-1-0-0-391-ansible-2-3-1-0/25527)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 4:15pm UTC](https://forum.ansible.com/t/creating-a-new-scheduler-for-a-template-job-is-broken-awx-1-0-0-391-ansible-2-3-1-0/25527 "2017-09-19T16:15:10Z")

</div>

Hi AWX Project team. I deployed version 1.0.0.391 using the docker container method. The interface is ok, the only issue I’m having right now is that I can’t use the scheduler, to schedule a job template. When I try to…

---

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

[Previous page](https://forum.ansible.com/latest.md?page=621)

[Next page](https://forum.ansible.com/latest.md?page=623)
