# Ansible Project

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

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

**Page:** 175

---

## [ovirt\_vm - HTTP response code is 404](https://forum.ansible.com/t/ovirt-vm-http-response-code-is-404/30938)

<div class="topic-metadata">

**Author:** [@Alexander\_Li](https://forum.ansible.com/u/Alexander_Li)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 3:27am UTC](https://forum.ansible.com/t/ovirt-vm-http-response-code-is-404/30938 "2019-08-05T03:27:25Z")

</div>

Hi Expert, Currently I’m using Ansible 2.8.1 module ovirt\_vm for provisioning VM in RHEV 4.0. I able to log in to RHEV using ovirt\_auth but when I provision VM using ovirt\_vm, it failed with error 404. Could you give …

---

## [Need small help](https://forum.ansible.com/t/need-small-help/30942)

<div class="topic-metadata">

**Author:** [@Bubunia\_Patra](https://forum.ansible.com/u/Bubunia_Patra)\
**Replies:** 3\
**Last updated:** [August 5, 2019, 12:41am UTC](https://forum.ansible.com/t/need-small-help/30942 "2019-08-05T00:41:54Z")

</div>

Hi all, I am having a issue with copy module copying from localhost to remote server. The problem is when the playbook runs the playbook works fine without any error. But the contents copy\_dir\_ex is not visible in remot…

---

## [set, read, and use vars from csv or csv2yml file](https://forum.ansible.com/t/set-read-and-use-vars-from-csv-or-csv2yml-file/30944)

<div class="topic-metadata">

**Author:** [@gerard\_moisset](https://forum.ansible.com/u/gerard_moisset)\
**Replies:** 3\
**Last updated:** [August 4, 2019, 5:22pm UTC](https://forum.ansible.com/t/set-read-and-use-vars-from-csv-or-csv2yml-file/30944 "2019-08-04T17:22:39Z")

</div>

i’m trying to write playbook to downlaod packages from repo. here is my try. csv data

---

## [shell  module with  multiple  arguments using variables](https://forum.ansible.com/t/shell-module-with-multiple-arguments-using-variables/30933)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 6\
**Last updated:** [August 3, 2019, 8:42pm UTC](https://forum.ansible.com/t/shell-module-with-multiple-arguments-using-variables/30933 "2019-08-03T20:42:15Z")

</div>

Hi, I am trying to call variables to the shell module but failing … \` name: status of services hosts: myhost remote\_user: root gather\_facts: no vars: pp\_stat: “/etc/init.d/puppet status” pr\_date: “echo ‘=========…

---

## [Can url path in get\_url be build dynamically?](https://forum.ansible.com/t/can-url-path-in-get-url-be-build-dynamically/30939)

<div class="topic-metadata">

**Author:** [@Kenneth\_Wong](https://forum.ansible.com/u/Kenneth_Wong)\
**Replies:** 2\
**Last updated:** [August 3, 2019, 6:32pm UTC](https://forum.ansible.com/t/can-url-path-in-get-url-be-build-dynamically/30939 "2019-08-03T18:32:31Z")

</div>

The following playbook will failed but exchanged with commented out line then it would work. Is there a way to evaluate the url string in get\_url?

---

## [AIX  "module\_stderr": "Shared connection to \<servername\> closed.\\r\\n",](https://forum.ansible.com/t/aix-module-stderr-shared-connection-to-servername-closed-r-n/30941)

<div class="topic-metadata">

**Author:** [@Diego\_Cappri](https://forum.ansible.com/u/Diego_Cappri)\
**Replies:** 4\
**Last updated:** [August 2, 2019, 8:34pm UTC](https://forum.ansible.com/t/aix-module-stderr-shared-connection-to-servername-closed-r-n/30941 "2019-08-02T20:34:17Z")

</div>

Hi, this is the error I have. Not sure what’s going on. Any help will be appreciated. Thanks! fatal: \[\]: FAILED! =\> { “ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin/python” }, “changed”: false, “mo…

---

## [How does Ansible deals with the remote prompt?](https://forum.ansible.com/t/how-does-ansible-deals-with-the-remote-prompt/30918)

<div class="topic-metadata">

**Author:** [@Kenneth\_Wong](https://forum.ansible.com/u/Kenneth_Wong)\
**Replies:** 8\
**Last updated:** [August 2, 2019, 7:43pm UTC](https://forum.ansible.com/t/how-does-ansible-deals-with-the-remote-prompt/30918 "2019-08-02T19:43:17Z")

</div>

After a successful login, does Ansible automatically figures out what the remote prompt is before sending the command? The remote system is Linux and supports ssh login as user root or cliadmin. The difference is when …

---

## [Docker CE not found](https://forum.ansible.com/t/docker-ce-not-found/30940)

<div class="topic-metadata">

**Author:** [@Marko\_Eremija](https://forum.ansible.com/u/Marko_Eremija)\
**Replies:** 0\
**Last updated:** [August 2, 2019, 3:38pm UTC](https://forum.ansible.com/t/docker-ce-not-found/30940 "2019-08-02T15:38:53Z")

</div>

Hey everyone, I have stumbled upon an issue which I tried to debug for some time now but with no luck. My setup includes three EC2 instances running Ubuntu 16.04. I have followed all the steps defined in official Docker…

---

## [Problems loading the playbook](https://forum.ansible.com/t/problems-loading-the-playbook/30935)

<div class="topic-metadata">

**Author:** [@ronny\_saavedra](https://forum.ansible.com/u/ronny_saavedra)\
**Replies:** 1\
**Last updated:** [August 2, 2019, 1:31pm UTC](https://forum.ansible.com/t/problems-loading-the-playbook/30935 "2019-08-02T13:31:18Z")

</div>

Good night to run this playbook I get an error, I'm extracting data from a vcenter. Thanks I hope you can give me some guidelines on how to solve it.

---

## [How compare two file in ansible](https://forum.ansible.com/t/how-compare-two-file-in-ansible/30937)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 2\
**Last updated:** [August 2, 2019, 12:03pm UTC](https://forum.ansible.com/t/how-compare-two-file-in-ansible/30937 "2019-08-02T12:03:27Z")

</div>

Hey, I want compare two file in ansible. Exemple : I have one file : /home/ansible/repertory\_1/file\_1.txt I have second file with the same file : /home/ansible/repertory\_2/file\_1.txt I want that if my file file\_1 wh…

---

## [Not able to access Azure blob with service principal from ansible module azure\_rm\_storageblob](https://forum.ansible.com/t/not-able-to-access-azure-blob-with-service-principal-from-ansible-module-azure-rm-storageblob/30856)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 1\
**Last updated:** [August 2, 2019, 7:10am UTC](https://forum.ansible.com/t/not-able-to-access-azure-blob-with-service-principal-from-ansible-module-azure-rm-storageblob/30856 "2019-08-02T07:10:28Z")

</div>

Hello Experts , I am trying to download/upload blobs with ansible azure\_rm\_storageblob module in AWX ( I have tried in Ansible core too, got the same error) , and get below error Error getting keys for account XXXXXXXX…

---

## [Cannot decrypt on ubuntu](https://forum.ansible.com/t/cannot-decrypt-on-ubuntu/30936)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 2\
**Last updated:** [August 2, 2019, 3:31am UTC](https://forum.ansible.com/t/cannot-decrypt-on-ubuntu/30936 "2019-08-02T03:31:31Z")

</div>

I am working with a project on a new ubuntu installation. On osx I can use ansible-vault correctly, but on ubuntu I always get (ansible-2.8) ansible❯ ansible-vault -v --vault-password-file=~/.ansible/vault-password view…

---

## [Receiving facts at localhost using delegate\_to is failing](https://forum.ansible.com/t/receiving-facts-at-localhost-using-delegate-to-is-failing/30934)

<div class="topic-metadata">

**Author:** [@Gabriel\_Rios](https://forum.ansible.com/u/Gabriel_Rios)\
**Replies:** 0\
**Last updated:** [August 1, 2019, 9:42pm UTC](https://forum.ansible.com/t/receiving-facts-at-localhost-using-delegate-to-is-failing/30934 "2019-08-01T21:42:17Z")

</div>

I have managed in the same playbook to generate certain facts and also to go over to my local pc and create the file that will receive them. What hasn’t worked is the transfer of said facts. Below you can see what I’m g…

---

## [Viptela Support on Ansible](https://forum.ansible.com/t/viptela-support-on-ansible/27888)

<div class="topic-metadata">

**Author:** [@j-16375](https://forum.ansible.com/u/j-16375)\
**Replies:** 4\
**Last updated:** [August 1, 2019, 8:32pm UTC](https://forum.ansible.com/t/viptela-support-on-ansible/27888 "2019-08-01T20:32:19Z")

</div>

Does anyone have any experience using Ansible with Viptela SD-WAN products (vEdge mostly)? The ios\_command module seems to work at a basic level for running simple commands but runs into issues with more complex commands…

---

## [Odd case where I cannot figure out how to eliminate {{ }} in a when: clause](https://forum.ansible.com/t/odd-case-where-i-cannot-figure-out-how-to-eliminate-in-a-when-clause/30861)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 8\
**Last updated:** [August 1, 2019, 8:08pm UTC](https://forum.ansible.com/t/odd-case-where-i-cannot-figure-out-how-to-eliminate-in-a-when-clause/30861 "2019-08-01T20:08:20Z")

</div>

All - I’m trying to dynamically set facts in a loop. (Long story short, for a list of keys, if the key isn’t defined, I want to replace the key with the value from a register variable.) I have a playbook that works, but …

---

## [how to solve local\_action -\> unreachable?](https://forum.ansible.com/t/how-to-solve-local-action-unreachable/30923)

<div class="topic-metadata">

**Author:** [@Gabriel\_Rios](https://forum.ansible.com/u/Gabriel_Rios)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 5:11pm UTC](https://forum.ansible.com/t/how-to-solve-local-action-unreachable/30923 "2019-08-01T17:11:32Z")

</div>

Hi, I’m currently experiencing a problem when executing the following playbook. Everything I’m currently executing is attached too. What should I modify?

---

## [/etc not writable](https://forum.ansible.com/t/etc-not-writable/21373)

<div class="topic-metadata">

**Author:** [@Sanjay\_Kumar](https://forum.ansible.com/u/Sanjay_Kumar)\
**Replies:** 10\
**Last updated:** [August 1, 2019, 3:16pm UTC](https://forum.ansible.com/t/etc-not-writable/21373 "2019-08-01T15:16:22Z")

</div>

Hi, I am not able copy to remote host, getting not writable error, my playbook is here.

---

## [Ansible as a Packer provisioner hanging?](https://forum.ansible.com/t/ansible-as-a-packer-provisioner-hanging/30924)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 2\
**Last updated:** [August 1, 2019, 2:50pm UTC](https://forum.ansible.com/t/ansible-as-a-packer-provisioner-hanging/30924 "2019-08-01T14:50:19Z")

</div>

Trying to use ansible as a provisioner in packer. Ansible is hanging during the TASK \[Gathering Facts\] and I have no idea why the provisioner is below: { "type": "ansible", "command": "script/ansible.sh", "playbook\_fil…

---

## [Best way to organize your playbooks](https://forum.ansible.com/t/best-way-to-organize-your-playbooks/30928)

<div class="topic-metadata">

**Author:** [@user89](https://forum.ansible.com/u/user89)\
**Replies:** 4\
**Last updated:** [August 1, 2019, 1:36pm UTC](https://forum.ansible.com/t/best-way-to-organize-your-playbooks/30928 "2019-08-01T13:36:57Z")

</div>

I have a several projects which describing installation 2 different applications. Each directory for application: app1/roles/common/main.yml app2/roles/common/main.yml But application have similar between them tasks w…

---

## [How to use piping multiple shell commands](https://forum.ansible.com/t/how-to-use-piping-multiple-shell-commands/30926)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 3\
**Last updated:** [August 1, 2019, 12:57pm UTC](https://forum.ansible.com/t/how-to-use-piping-multiple-shell-commands/30926 "2019-08-01T12:57:21Z")

</div>

Hi, I am trying the below snippet to detect the established ports. but Ansible throws an error. \` name: List the port connections shell: "netstat -nautp |grep -iE “137|389|445|636” |awk ‘{print $5}’ |cut -d: -f2 |gr…

---

## [Ansible with windows](https://forum.ansible.com/t/ansible-with-windows/30929)

<div class="topic-metadata">

**Author:** [@Irfan\_Pasha](https://forum.ansible.com/u/Irfan_Pasha)\
**Replies:** 0\
**Last updated:** [August 1, 2019, 11:06am UTC](https://forum.ansible.com/t/ansible-with-windows/30929 "2019-08-01T11:06:33Z")

</div>

Hi, I have been using ansible for a while and I love it. It just makes complex things very easy. So far I have been ansible on CentOS and it has been a cake walk. Now I have to do some automation on windows and I see th…

---

## [Ansible For Openstack](https://forum.ansible.com/t/ansible-for-openstack/30913)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 10\
**Last updated:** [August 1, 2019, 10:49am UTC](https://forum.ansible.com/t/ansible-for-openstack/30913 "2019-08-01T10:49:34Z")

</div>

Hi All, I am trying to create Openstack instances using Ansible for Openstack. I have clouds.yaml as below: clouds: mycloud: auth: auth\_url: https://:/v3 project\_name: mycloud username: mycloud project\_domain\_na…

---

## [Ansible Playbook iterating through different variable files](https://forum.ansible.com/t/ansible-playbook-iterating-through-different-variable-files/30919)

<div class="topic-metadata">

**Author:** [@Kristiyan\_Zdravkov](https://forum.ansible.com/u/Kristiyan_Zdravkov)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 6:28am UTC](https://forum.ansible.com/t/ansible-playbook-iterating-through-different-variable-files/30919 "2019-08-01T06:28:11Z")

</div>

Hi All, I am developing a playbook with a health check functionality of an large environment in which there are multiple Applications and Webservers which are Interconnected with each other. Each application has alread…

---

## [apt module has error "failed to execute setup](https://forum.ansible.com/t/apt-module-has-error-failed-to-execute-setup/30922)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 3\
**Last updated:** [July 31, 2019, 8:03pm UTC](https://forum.ansible.com/t/apt-module-has-error-failed-to-execute-setup/30922 "2019-07-31T20:03:29Z")

</div>

I have Ansible 2.8.0 and Python 2.7.5. I tried to run the following playbook to upgrade the packages on a Debian host which has Python 2.7.3. I got the ““The following modules failed to execute: setup\\n setup: MODULE FAI…

---

## [How to save an array of facts using a debug: msg and with\_sequence?](https://forum.ansible.com/t/how-to-save-an-array-of-facts-using-a-debug-msg-and-with-sequence/30907)

<div class="topic-metadata">

**Author:** [@Gabriel\_Rios](https://forum.ansible.com/u/Gabriel_Rios)\
**Replies:** 4\
**Last updated:** [July 31, 2019, 5:30pm UTC](https://forum.ansible.com/t/how-to-save-an-array-of-facts-using-a-debug-msg-and-with-sequence/30907 "2019-07-31T17:30:46Z")

</div>

Hi, The following are facts from win\_pagefile query. From these, I want to retrieve the “maximum\_size” fact of every element in the “pagefiles” array, then subtract the “initial\_size” fact and divide that by 1024 in ord…

---

## [How do I resolve “The following packages have unmet dependencies”](https://forum.ansible.com/t/how-do-i-resolve-the-following-packages-have-unmet-dependencies/30920)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 1\
**Last updated:** [July 31, 2019, 5:13pm UTC](https://forum.ansible.com/t/how-do-i-resolve-the-following-packages-have-unmet-dependencies/30920 "2019-07-31T17:13:54Z")

</div>

I am setting up a new Server (Debian 10). I need to install required packages (and some Perl Modules) with\_items using default package manager (apt). When I run my playbook, I receive the following failure: \` failed: \[…

---

## [conditional on a result using a fact as the condition](https://forum.ansible.com/t/conditional-on-a-result-using-a-fact-as-the-condition/30917)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 5:04pm UTC](https://forum.ansible.com/t/conditional-on-a-result-using-a-fact-as-the-condition/30917 "2019-07-31T17:04:29Z")

</div>

Hi All, Ansible 2.8 Trying to do something like this: name: task shell: blah blah register: shell\_result name: do if hostname is in result shell: blah blah when: shell\_result.stdout.find(inventory\_hostname) …

---

## [ansible failing on windows machines that used to work](https://forum.ansible.com/t/ansible-failing-on-windows-machines-that-used-to-work/30911)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [July 31, 2019, 3:14pm UTC](https://forum.ansible.com/t/ansible-failing-on-windows-machines-that-used-to-work/30911 "2019-07-31T15:14:41Z")

</div>

I have about 90 windows VMs that I use ansible on to configure and pull windows updates. I upgraded from ansible 2.7 to 2.8.1 - I think thats when this started. The windows server are all 2008 R2. Today when I try to …

---

## [Problem with wildfly with Ansible](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 7\
**Last updated:** [July 31, 2019, 1:50pm UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914 "2019-07-31T13:50:53Z")

</div>

Hey !! I have one problem with wildfly service. In fact, when i use this command : systemctl start wildfly10.service this service wildfly not run and when i show status he is failed. Same on the serveur or with Ansibl…

---

## [PSRemoting / WinRM / NTLMv2](https://forum.ansible.com/t/psremoting-winrm-ntlmv2/30879)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 1:15pm UTC](https://forum.ansible.com/t/psremoting-winrm-ntlmv2/30879 "2019-07-31T13:15:27Z")

</div>

Hi Jordan Looking at the following documentation https://www.bloggingforlogging.com/2018/01/24/demystifying-winrm/ https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/winrmsecurity?view=powershell-6 A…

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

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