# Ansible Project

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

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

**Page:** 243

---

## [Turn off auto-alphabetic ordering with URI module](https://forum.ansible.com/t/turn-off-auto-alphabetic-ordering-with-uri-module/28255)

<div class="topic-metadata">

**Author:** [@Nojan\_Sheybani](https://forum.ansible.com/u/Nojan_Sheybani)\
**Replies:** 0\
**Last updated:** [August 3, 2018, 4:57pm UTC](https://forum.ansible.com/t/turn-off-auto-alphabetic-ordering-with-uri-module/28255 "2018-08-03T16:57:43Z")

</div>

Is there a way to disable the alphabetic ordering that is applied to a file being POSTed using the URI module?

---

## [ansible: set fact with multiple values](https://forum.ansible.com/t/ansible-set-fact-with-multiple-values/28232)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 5\
**Last updated:** [August 3, 2018, 4:54pm UTC](https://forum.ansible.com/t/ansible-set-fact-with-multiple-values/28232 "2018-08-03T16:54:57Z")

</div>

i am writing an ansible role for setting some kind of “hostgroups” based on outputs from commands, path etc… thing is one host can be a member of more then one of such groups, and there is the problem. how to i append mu…

---

## [Is there a way to check if a service is already enabled on a linux machine?](https://forum.ansible.com/t/is-there-a-way-to-check-if-a-service-is-already-enabled-on-a-linux-machine/28241)

<div class="topic-metadata">

**Author:** [@yaakov.kuperman](https://forum.ansible.com/u/yaakov.kuperman)\
**Replies:** 7\
**Last updated:** [August 3, 2018, 1:54pm UTC](https://forum.ansible.com/t/is-there-a-way-to-check-if-a-service-is-already-enabled-on-a-linux-machine/28241 "2018-08-03T13:54:54Z")

</div>

I don’t see a way to do it with service\_facts, do I have to use shell magic?

---

## [Use ansible to stop/start components of an application](https://forum.ansible.com/t/use-ansible-to-stop-start-components-of-an-application/28251)

<div class="topic-metadata">

**Author:** [@samuel\_desseaux](https://forum.ansible.com/u/samuel_desseaux)\
**Replies:** 0\
**Last updated:** [August 3, 2018, 1:22pm UTC](https://forum.ansible.com/t/use-ansible-to-stop-start-components-of-an-application/28251 "2018-08-03T13:22:35Z")

</div>

Hello, I work on a project to manage some applications. We have some applications and for an application, each component is on a different server. As we have more than 200 applications, we would like to use ansible to…

---

## [Galaxy Release 3.0.5](https://forum.ansible.com/t/galaxy-release-3-0-5/28250)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [August 3, 2018, 10:13am UTC](https://forum.ansible.com/t/galaxy-release-3-0-5/28250 "2018-08-03T10:13:19Z")

</div>

Galaxy release 3.0.5 was deployed today, 3 August, at 6:00 AM Eastern. This was a maintenance release that addressed the following bug fixes and closed PRs: Bug Fixes- Fixed broken error handling on home page, when 500…

---

## [Adding windows as client to Ansible server](https://forum.ansible.com/t/adding-windows-as-client-to-ansible-server/28248)

<div class="topic-metadata">

**Author:** [@Vamsi\_Krishna](https://forum.ansible.com/u/Vamsi_Krishna)\
**Replies:** 1\
**Last updated:** [August 3, 2018, 9:23am UTC](https://forum.ansible.com/t/adding-windows-as-client-to-ansible-server/28248 "2018-08-03T09:23:28Z")

</div>

HI All, Greetings …! I am trying to setup Ansible environment and in that process I need to add windows client to my Ansible servers. I am getting below error and need your suggestions Environment:- Ansible server – …

---

## [Find and Fetch](https://forum.ansible.com/t/find-and-fetch/28225)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 2\
**Last updated:** [August 3, 2018, 3:22am UTC](https://forum.ansible.com/t/find-and-fetch/28225 "2018-08-03T03:22:07Z")

</div>

Hi I am using below code to find and fetch files from remote server to local, how ever its not erroring, but not fetch anything find: paths=“/home/cloud-user” patterns=“\*.tar” register: file\_to\_copy fetch: src…

---

## [Scalability and Limitations of oracle patching with Ansible](https://forum.ansible.com/t/scalability-and-limitations-of-oracle-patching-with-ansible/28245)

<div class="topic-metadata">

**Author:** [@hitesh\_shaha](https://forum.ansible.com/u/hitesh_shaha)\
**Replies:** 1\
**Last updated:** [August 3, 2018, 3:11am UTC](https://forum.ansible.com/t/scalability-and-limitations-of-oracle-patching-with-ansible/28245 "2018-08-03T03:11:40Z")

</div>

Hi All, I am working on one of the automation project to apply oracle patch using Ansible. I would like to know is Ansible best solution to automate oracle patch if I have to patch 300+ in single downtime window ? wha…

---

## [host issue](https://forum.ansible.com/t/host-issue/28237)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 3\
**Last updated:** [August 3, 2018, 3:09am UTC](https://forum.ansible.com/t/host-issue/28237 "2018-08-03T03:09:45Z")

</div>

HI team, we have two domain , like google and googlea. in few servers we have a problem to connecting in a and b.i want to run a command if a doesn’t allow me to login it should to go to b and execute. Please help me

---

## [trying to reset root password by using .yml playbook, but its failed with permission denied error, however same .yml playbook is working via terminal.](https://forum.ansible.com/t/trying-to-reset-root-password-by-using-yml-playbook-but-its-failed-with-permission-denied-error-however-same-yml-playbook-is-working-via-terminal/28116)

<div class="topic-metadata">

**Author:** [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Replies:** 11\
**Last updated:** [August 3, 2018, 2:59am UTC](https://forum.ansible.com/t/trying-to-reset-root-password-by-using-yml-playbook-but-its-failed-with-permission-denied-error-however-same-yml-playbook-is-working-via-terminal/28116 "2018-08-03T02:59:11Z")

</div>

Hi, Are become & become\_user setted ? Reagrds, JYL

---

## [Help: FAILED! =\> {"msg": "Timeout (12s) waiting for privilege escalation prompt: "}](https://forum.ansible.com/t/help-failed-msg-timeout-12s-waiting-for-privilege-escalation-prompt/28198)

<div class="topic-metadata">

**Author:** [@Ramu](https://forum.ansible.com/u/Ramu)\
**Replies:** 13\
**Last updated:** [August 2, 2018, 9:19pm UTC](https://forum.ansible.com/t/help-failed-msg-timeout-12s-waiting-for-privilege-escalation-prompt/28198 "2018-08-02T21:19:30Z")

</div>

Hi Ansible Gurus, I’m trying to automate some of my manual tasks on a VM. As part of that my VM doesn’t have direct root access. So I’ve to use a different user and then escalate to root. When I try to switch to root…

---

## [Installing Ansible on a Linux server without Internet](https://forum.ansible.com/t/installing-ansible-on-a-linux-server-without-internet/21604)

<div class="topic-metadata">

**Author:** [@hubrecht.v.dalsen](https://forum.ansible.com/u/hubrecht.v.dalsen)\
**Replies:** 6\
**Last updated:** [August 2, 2018, 6:50pm UTC](https://forum.ansible.com/t/installing-ansible-on-a-linux-server-without-internet/21604 "2018-08-02T18:50:59Z")

</div>

Hi there, I recently used Ansible successfully on a machine with enternet access. I am now trying to use Ansible on a Linux master server that is completely locked down(no internet access at all) So I have downloaded …

---

## [vmware\_guest Trying to deploy 2 VM simulteaneously.  One will almost always fail](https://forum.ansible.com/t/vmware-guest-trying-to-deploy-2-vm-simulteaneously-one-will-almost-always-fail/28228)

<div class="topic-metadata">

**Author:** [@Sylvain\_Martel](https://forum.ansible.com/u/Sylvain_Martel)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 3:53pm UTC](https://forum.ansible.com/t/vmware-guest-trying-to-deploy-2-vm-simulteaneously-one-will-almost-always-fail/28228 "2018-08-02T15:53:41Z")

</div>

Hi, We are experimenting with Ansible to deploy VM and, I am not sure what is the problem, but when I try to deploy 2 VM at the same time, one will fails 99% of the time, while the other will complete. The one that has…

---

## [Transfer execute and delete script python via playbook](https://forum.ansible.com/t/transfer-execute-and-delete-script-python-via-playbook/28233)

<div class="topic-metadata">

**Author:** [@Vincent\_Descargues](https://forum.ansible.com/u/Vincent_Descargues)\
**Replies:** 5\
**Last updated:** [August 2, 2018, 2:31pm UTC](https://forum.ansible.com/t/transfer-execute-and-delete-script-python-via-playbook/28233 "2018-08-02T14:31:35Z")

</div>

Hello, I would like to know how it is possible with a command to be able to both transfer execute and delete a python script via a playbook. Currently I do it in 3 lines: 1) Transfer 2) Execute 3) Delete. I could see o…

---

## [Dynamically choosing an SCM revision on job execution with Ansible Tower](https://forum.ansible.com/t/dynamically-choosing-an-scm-revision-on-job-execution-with-ansible-tower/14670)

<div class="topic-metadata">

**Author:** [@paul.zielinski](https://forum.ansible.com/u/paul.zielinski)\
**Replies:** 5\
**Last updated:** [August 2, 2018, 9:37am UTC](https://forum.ansible.com/t/dynamically-choosing-an-scm-revision-on-job-execution-with-ansible-tower/14670 "2018-08-02T09:37:19Z")

</div>

I’m evaluating Ansible Tower as a way to manage configuration and deployment of applications. I’ve built a small application with an interface to the REST API to manage some of the more complicated steps in the deployme…

---

## [BUG?  'stdout\_lines | to\_nice\_json' crashing Ansible server](https://forum.ansible.com/t/bug-stdout-lines-to-nice-json-crashing-ansible-server/28229)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 6\
**Last updated:** [August 2, 2018, 7:58am UTC](https://forum.ansible.com/t/bug-stdout-lines-to-nice-json-crashing-ansible-server/28229 "2018-08-02T07:58:43Z")

</div>

I have a bash script on each server that gathers some information and then stores that info in the commands variable. If I write ‘commands.stdout | to\_nice\_json’ to a file, everything is fine. If I use ‘commands.stdout\_l…

---

## [Getting vars using AWS dynamic inventory plugin](https://forum.ansible.com/t/getting-vars-using-aws-dynamic-inventory-plugin/28231)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 4:45am UTC](https://forum.ansible.com/t/getting-vars-using-aws-dynamic-inventory-plugin/28231 "2018-08-02T04:45:26Z")

</div>

I want to set some static vars alongside my AWS inventory plugin config but I can’t find any doc. Maybe this isn’t supported or maybe my syntax is incorrect. \` plugin: aws\_ec2 iam\_role\_arn: arn:aws:iam::1234567890:rol…

---

## [copy module failure detection issue](https://forum.ansible.com/t/copy-module-failure-detection-issue/28227)

<div class="topic-metadata">

**Author:** [@Narahari\_n\_Savitha](https://forum.ansible.com/u/Narahari_n_Savitha)\
**Replies:** 1\
**Last updated:** [August 1, 2018, 10:16pm UTC](https://forum.ansible.com/t/copy-module-failure-detection-issue/28227 "2018-08-01T22:16:32Z")

</div>

Friends: Thank you for your time and attention in advance. I use the anisble copy module to copy to a machine in ADHOC mode. The copy command looks like this ansible TOMCATS\_GROUP\_ALL -i “func\_testing\_machine”, -m co…

---

## [Starting from zero: warning about localhost at first command](https://forum.ansible.com/t/starting-from-zero-warning-about-localhost-at-first-command/28218)

<div class="topic-metadata">

**Author:** [@realtebo](https://forum.ansible.com/u/realtebo)\
**Replies:** 7\
**Last updated:** [August 1, 2018, 4:51pm UTC](https://forum.ansible.com/t/starting-from-zero-warning-about-localhost-at-first-command/28218 "2018-08-01T16:51:20Z")

</div>

I’m in ansible world for the first time. I’m following the video: https://www.ansible.com/resources/get-started Installation is succesfullu At 8’:35’’ , i tried to run \` ansible web -a /bin/date \` but at this poin…

---

## [Unattended installation of ARM Realview Development suit](https://forum.ansible.com/t/unattended-installation-of-arm-realview-development-suit/28223)

<div class="topic-metadata">

**Author:** [@syamji\_vm](https://forum.ansible.com/u/syamji_vm)\
**Replies:** 0\
**Last updated:** [August 1, 2018, 11:04am UTC](https://forum.ansible.com/t/unattended-installation-of-arm-realview-development-suit/28223 "2018-08-01T11:04:29Z")

</div>

Hello team, I was trying to install the Realview on remote windows machine using ansible I have used below command name: Install ARMCC win\_shell: ‘C:\\Ansible\\installation\\RVDS\_4\_1\_STN\\Autosetup.au3’ But the wizard …

---

## [How to specify an environment (dev,stage, prod) within playbook so win\_lineinfile can insert applicable variable](https://forum.ansible.com/t/how-to-specify-an-environment-dev-stage-prod-within-playbook-so-win-lineinfile-can-insert-applicable-variable/28101)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 16\
**Last updated:** [August 1, 2018, 9:34am UTC](https://forum.ansible.com/t/how-to-specify-an-environment-dev-stage-prod-within-playbook-so-win-lineinfile-can-insert-applicable-variable/28101 "2018-08-01T09:34:14Z")

</div>

Due to a lot of complexities we currently clone our prod systems into a dev and test environment (each environment is completely isolated). I’ve got Ansible running currently in the dev environment where I’ve built a bun…

---

## [different template files on different devices](https://forum.ansible.com/t/different-template-files-on-different-devices/28190)

<div class="topic-metadata">

**Author:** [@churchill\_davidson](https://forum.ansible.com/u/churchill_davidson)\
**Replies:** 4\
**Last updated:** [August 1, 2018, 8:21am UTC](https://forum.ansible.com/t/different-template-files-on-different-devices/28190 "2018-08-01T08:21:21Z")

</div>

I have couple of templates which has different configuration for switches.The inventory files has different groups(example given below) cat ~/inventory/hosts \[cumulus\_1\] 1.1.1.1 2.2.2.2 \[cumulus\_2\] 3.3.3.3 4.4.4.4 …

---

## [Fetch Files Based On Find Pattern](https://forum.ansible.com/t/fetch-files-based-on-find-pattern/28208)

<div class="topic-metadata">

**Author:** [@Shaun\_Glass](https://forum.ansible.com/u/Shaun_Glass)\
**Replies:** 3\
**Last updated:** [August 1, 2018, 6:29am UTC](https://forum.ansible.com/t/fetch-files-based-on-find-pattern/28208 "2018-08-01T06:29:56Z")

</div>

Good Day, We are running audit scripts on all of our servers. The results are in a .tar.gz file on each server with the servername-date-time included. I am running the following to pull the files from the servers but wi…

---

## [Creating a staggered cron processes on the same host](https://forum.ansible.com/t/creating-a-staggered-cron-processes-on-the-same-host/28221)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [August 1, 2018, 6:16am UTC](https://forum.ansible.com/t/creating-a-staggered-cron-processes-on-the-same-host/28221 "2018-08-01T06:16:16Z")

</div>

Evening all, Got a quick question. Suppose you have a huge amount of data that you need to keep in sync between two systems. Running one session of rsync is taking a long time. I am attempting to break up the rsync …

---

## [python-apt not seend from ansible](https://forum.ansible.com/t/python-apt-not-seend-from-ansible/28219)

<div class="topic-metadata">

**Author:** [@realtebo](https://forum.ansible.com/u/realtebo)\
**Replies:** 2\
**Last updated:** [August 1, 2018, 6:04am UTC](https://forum.ansible.com/t/python-apt-not-seend-from-ansible/28219 "2018-08-01T06:04:49Z")

</div>

I have python and python-apt. $ python -V Python 2.7.15rc1 $ pip list ... cut ... python-apt (1.6.2) ... cut ... But I am facing this error

---

## [customvalue empty with vmware dynamic inventory](https://forum.ansible.com/t/customvalue-empty-with-vmware-dynamic-inventory/27766)

<div class="topic-metadata">

**Author:** [@Samuel\_Mutel](https://forum.ansible.com/u/Samuel_Mutel)\
**Replies:** 1\
**Last updated:** [July 31, 2018, 10:28pm UTC](https://forum.ansible.com/t/customvalue-empty-with-vmware-dynamic-inventory/27766 "2018-07-31T22:28:28Z")

</div>

Hello, I would like to setup a vmware dynamic inventory with vmware\_inventory.py (available here https://github.com/ansible/ansible/tree/stable-2.6/contrib/inventory). When I execute the script, the “customvalue” field…

---

## [populate /etc/hosts from dynamic inventory](https://forum.ansible.com/t/populate-etc-hosts-from-dynamic-inventory/28189)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 2\
**Last updated:** [July 31, 2018, 8:12pm UTC](https://forum.ansible.com/t/populate-etc-hosts-from-dynamic-inventory/28189 "2018-07-31T20:12:03Z")

</div>

hey all, i need to populate the /etc/hosts file on the ansible server (localhost only) from dynamic inventory, alas it does not work, as the hosts/ip’s from inventory are not handled. any idea whats wrong? inventory fo…

---

## [disable "ansible in a world writeable directory" warning](https://forum.ansible.com/t/disable-ansible-in-a-world-writeable-directory-warning/28163)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 3\
**Last updated:** [July 31, 2018, 8:10pm UTC](https://forum.ansible.com/t/disable-ansible-in-a-world-writeable-directory-warning/28163 "2018-07-31T20:10:41Z")

</div>

I am running ansible in the gitlab ci in a docker container. I am always getting: \[WARNING\] Ansible is in a world writable directory (/builds/iam/deployment/infrastructure), ignoring it as an ansible.cfg source. (BT…

---

## [delegate\_to in combination with with\_items](https://forum.ansible.com/t/delegate-to-in-combination-with-with-items/28216)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [July 31, 2018, 6:14pm UTC](https://forum.ansible.com/t/delegate-to-in-combination-with-with-items/28216 "2018-07-31T18:14:06Z")

</div>

Why doesn’t the following work? Syntax issue? or bug? \` name: Backup home dir and nagios rights shell: “cd {{ dirpath }}; getfacl -R {{ dir }} \> {{ file }}.{{ ansible\_date\_time.date }}” with\_items: { dirpath: “/home…

---

## [Repositories missing after installation of Ansible 2.6.2 on CentOSs/Ubuntu](https://forum.ansible.com/t/repositories-missing-after-installation-of-ansible-2-6-2-on-centoss-ubuntu/28215)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [July 31, 2018, 4:52pm UTC](https://forum.ansible.com/t/repositories-missing-after-installation-of-ansible-2-6-2-on-centoss-ubuntu/28215 "2018-07-31T16:52:48Z")

</div>

The pip installation method does not automatically create the /etc/ansible directory. When using the pip installation method, the user is responsible for creating this directory. When using an OS package (rpm/deb) this …

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

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