# Ansible Project

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

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

**Page:** 272

---

## [Ansible issues with Windows deployment](https://forum.ansible.com/t/ansible-issues-with-windows-deployment/27013)

<div class="topic-metadata">

**Author:** [@12177589](https://forum.ansible.com/u/12177589)\
**Replies:** 11\
**Last updated:** [March 26, 2018, 8:00am UTC](https://forum.ansible.com/t/ansible-issues-with-windows-deployment/27013 "2018-03-26T08:00:25Z")

</div>

I use ansible to operate Windows, there are many problems! As follows: Use win\_copy to copy the Shared directory or the middle file times of the network drive disk! My Syntax is here , tasks: name: copy file win\_…

---

## [kerberos: Bad HTTP response returned from server. Code 400](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-400/26869)

<div class="topic-metadata">

**Author:** [@jn.bedag](https://forum.ansible.com/u/jn.bedag)\
**Replies:** 9\
**Last updated:** [March 26, 2018, 3:00am UTC](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-400/26869 "2018-03-26T03:00:17Z")

</div>

Hi there Never had this error before, and also Google could not help me so far. When I create a new virtualenv and install pip modules, I get the mentioned error when I try to manage Windows hosts with Ansible. I’m on…

---

## [Cannot install ansible tools or development modules on windows as of 2.4](https://forum.ansible.com/t/cannot-install-ansible-tools-or-development-modules-on-windows-as-of-2-4/27041)

<div class="topic-metadata">

**Author:** [@Bill\_Brothers](https://forum.ansible.com/u/Bill_Brothers)\
**Replies:** 3\
**Last updated:** [March 24, 2018, 10:34pm UTC](https://forum.ansible.com/t/cannot-install-ansible-tools-or-development-modules-on-windows-as-of-2-4/27041 "2018-03-24T22:34:29Z")

</div>

As has been asked and answered before. Trying to install ansible or ansible-lint in windows 10 fails due to path too long. This has been closed with “we don’t support ansible running on windows – see to the doc”. Underst…

---

## [Hide secrets from output](https://forum.ansible.com/t/hide-secrets-from-output/27103)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [March 24, 2018, 9:26pm UTC](https://forum.ansible.com/t/hide-secrets-from-output/27103 "2018-03-24T21:26:32Z")

</div>

As far as I can see, some modules implement a special “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER” for some attributes, which cause them to be hidden from output, which is great. However, I’d like to control this outside of mo…

---

## [How to exclude a module in ansible 2.5?](https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106)

<div class="topic-metadata">

**Author:** [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Replies:** 1\
**Last updated:** [March 24, 2018, 8:02pm UTC](https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106 "2018-03-24T20:02:42Z")

</div>

In the ansible 2.5 changelog, it mentioned the following Added a configuration file that a site administrator can use to specify modules to exclude from being used. However when I search for the word “exclude” on Ansi…

---

## [Ansible 2.5.0 Final is available](https://forum.ansible.com/t/ansible-2-5-0-final-is-available/27095)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 3\
**Last updated:** [March 24, 2018, 7:04pm UTC](https://forum.ansible.com/t/ansible-2-5-0-final-is-available/27095 "2018-03-24T19:04:20Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.0 is now available! How do you get it?

---

## [Task Git Clone Returns Fail when repository cloned](https://forum.ansible.com/t/task-git-clone-returns-fail-when-repository-cloned/27102)

<div class="topic-metadata">

**Author:** [@Mike\_Kilmer](https://forum.ansible.com/u/Mike_Kilmer)\
**Replies:** 2\
**Last updated:** [March 24, 2018, 5:42pm UTC](https://forum.ansible.com/t/task-git-clone-returns-fail-when-repository-cloned/27102 "2018-03-24T17:42:04Z")

</div>

I use an Ansible provisioning and deployment framework called Trellis to deploy Wordpress-based applications. I’m cloning the master from a private Bitbucket repository using the following tasks: \` name: Clone proje…

---

## [Install/Configure WAMP server](https://forum.ansible.com/t/install-configure-wamp-server/27048)

<div class="topic-metadata">

**Author:** [@Abhinav\_Chaturvedi](https://forum.ansible.com/u/Abhinav_Chaturvedi)\
**Replies:** 1\
**Last updated:** [March 24, 2018, 4:27pm UTC](https://forum.ansible.com/t/install-configure-wamp-server/27048 "2018-03-24T16:27:17Z")

</div>

Hi all, I need some help in automating WAMP server install/configuration. As I see it, the chocolatey package manager only has v2.5 which they say is possibly broken. I need v3.1 for my use. Also, there are some prereq…

---

## [Ansible with multi boot machines - Ubuntu, Server 2016 and Win 10 Pro Machine clusters](https://forum.ansible.com/t/ansible-with-multi-boot-machines-ubuntu-server-2016-and-win-10-pro-machine-clusters/27062)

<div class="topic-metadata">

**Author:** [@shane](https://forum.ansible.com/u/shane)\
**Replies:** 1\
**Last updated:** [March 24, 2018, 4:23pm UTC](https://forum.ansible.com/t/ansible-with-multi-boot-machines-ubuntu-server-2016-and-win-10-pro-machine-clusters/27062 "2018-03-24T16:23:30Z")

</div>

Hi All Has anyone had successful experience using Ansible with multi boot machines. My case we have clusters of 16 machines that have 3 Boots: 1. Ubuntu 16 grub option 0 2. Windows 10 Pro grub option 1 3. Windows se…

---

## [Conditional problems with Ansible 2.5.0](https://forum.ansible.com/t/conditional-problems-with-ansible-2-5-0/27104)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [March 24, 2018, 12:13pm UTC](https://forum.ansible.com/t/conditional-problems-with-ansible-2-5-0/27104 "2018-03-24T12:13:27Z")

</div>

I have the following steps in a playbook: name: check if .net 4.7.1 is installed script: check\_net\_version.ps1 “4.7.1” register: net471result changed\_when: false name: Install .Net 4.7.1 win\_chocolatey: name: …

---

## [No idea how to do this... please help](https://forum.ansible.com/t/no-idea-how-to-do-this-please-help/27100)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 8\
**Last updated:** [March 23, 2018, 9:42pm UTC](https://forum.ansible.com/t/no-idea-how-to-do-this-please-help/27100 "2018-03-23T21:42:14Z")

</div>

I have 2 separate dictionaries that I need to iterate over to 1) create a user and 2) add their ssh keys (some users might have multiple keys) The first task works, the second…not so much - I’ve tried so many things, I …

---

## [become\_user for a given task is not honored when I run shells or scripts on nodes](https://forum.ansible.com/t/become-user-for-a-given-task-is-not-honored-when-i-run-shells-or-scripts-on-nodes/27099)

<div class="topic-metadata">

**Author:** [@Gary\_Collins](https://forum.ansible.com/u/Gary_Collins)\
**Replies:** 5\
**Last updated:** [March 23, 2018, 8:59pm UTC](https://forum.ansible.com/t/become-user-for-a-given-task-is-not-honored-when-i-run-shells-or-scripts-on-nodes/27099 "2018-03-23T20:59:25Z")

</div>

In my real playbook, I need to add new user myuser , then install home-brew for that user. This is my command line to run below. uadmin is the only user initially configured on machine given to me. When I run below it…

---

## [ansible 2.4 and vmware\_guest](https://forum.ansible.com/t/ansible-2-4-and-vmware-guest/27101)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [March 23, 2018, 8:00pm UTC](https://forum.ansible.com/t/ansible-2-4-and-vmware-guest/27101 "2018-03-23T20:00:47Z")

</div>

Hi all , Another stupid question about ansible 2.4, vmware\_guest , folder module really response with very funny way. it gave error at two different levels , 1- When VM need to be create it work only with relative pa…

---

## [Help writing custom modules](https://forum.ansible.com/t/help-writing-custom-modules/27093)

<div class="topic-metadata">

**Author:** [@Simon\_Weald](https://forum.ansible.com/u/Simon_Weald)\
**Replies:** 2\
**Last updated:** [March 23, 2018, 4:32pm UTC](https://forum.ansible.com/t/help-writing-custom-modules/27093 "2018-03-23T16:32:36Z")

</div>

I’m currently writing my own modules to interface with my DNS provider, but I’m running into some issues regarding some execution logic. The provider currently has the following structure for their records: zone \< zone d…

---

## [setting environment variables](https://forum.ansible.com/t/setting-environment-variables/27052)

<div class="topic-metadata">

**Author:** [@danish09](https://forum.ansible.com/u/danish09)\
**Replies:** 3\
**Last updated:** [March 23, 2018, 4:24pm UTC](https://forum.ansible.com/t/setting-environment-variables/27052 "2018-03-23T16:24:20Z")

</div>

Hi, I know the solution to this topic has been posted many times and I have tried searching through google and other forums including the ansible docs but unfortunately, nothing seems to be working for me. Please provid…

---

## [Using ansible data management. I have use case to solve.](https://forum.ansible.com/t/using-ansible-data-management-i-have-use-case-to-solve/27089)

<div class="topic-metadata">

**Author:** [@GURU\_W](https://forum.ansible.com/u/GURU_W)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 11:26am UTC](https://forum.ansible.com/t/using-ansible-data-management-i-have-use-case-to-solve/27089 "2018-03-23T11:26:35Z")

</div>

Hi All, I know ansible is for configuration management, provisioning, task automation. Ansible is already use to solve the purpose. Background: I have shell scripts to read a filename from source and copying them to de…

---

## [Use role defined under another filesystem path](https://forum.ansible.com/t/use-role-defined-under-another-filesystem-path/27082)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 11:18am UTC](https://forum.ansible.com/t/use-role-defined-under-another-filesystem-path/27082 "2018-03-23T11:18:41Z")

</div>

Hi My playbook is executed from this directory /home/projectA/playbook and it contains roles directory. One of the task defined within a role of this playbook would like to call another role which is not defined under …

---

## [playbook works but hangs](https://forum.ansible.com/t/playbook-works-but-hangs/27091)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 11:17am UTC](https://forum.ansible.com/t/playbook-works-but-hangs/27091 "2018-03-23T11:17:21Z")

</div>

Hello, I have a playbook here which seems to do what it needs to do but hangs It actually copies the file using ftp but cannot find a way to exit out of the program

---

## [did anyone use vmware\_guest option customvals ?](https://forum.ansible.com/t/did-anyone-use-vmware-guest-option-customvals/27086)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [March 23, 2018, 2:24am UTC](https://forum.ansible.com/t/did-anyone-use-vmware-guest-option-customvals/27086 "2018-03-23T02:24:44Z")

</div>

Hello Folks , Did anyone use customvalues options with vmware\_guest module ? 1- My concern what is the purpose of this option ? 2- And why people use this option vmware\_guest module ? 3- Does this option help to modi…

---

## [( vmware-guest module) Creating VM from template and adding "No of cores per socket"](https://forum.ansible.com/t/vmware-guest-module-creating-vm-from-template-and-adding-no-of-cores-per-socket/27085)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 4\
**Last updated:** [March 23, 2018, 2:20am UTC](https://forum.ansible.com/t/vmware-guest-module-creating-vm-from-template-and-adding-no-of-cores-per-socket/27085 "2018-03-23T02:20:36Z")

</div>

Hello, I am deploying vms with vmware\_guest module, and I need to edit “number of cores per socket” what statement should I use ? I tried the following statement but it always give me error. customvalues: key: cpuid…

---

## ['netconf\_config' is not a valid attribute for a Play](https://forum.ansible.com/t/netconf-config-is-not-a-valid-attribute-for-a-play/27083)

<div class="topic-metadata">

**Author:** [@Armstrong\_Soo](https://forum.ansible.com/u/Armstrong_Soo)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 9:59pm UTC](https://forum.ansible.com/t/netconf-config-is-not-a-valid-attribute-for-a-play/27083 "2018-03-22T21:59:57Z")

</div>

Hi all, I am testing a very simple playbook for netconf and I didn’t get very far. What did I do wrong? ERROR! ‘netconf\_config’ is not a valid attribute for a Play The error appears to have been in ‘/home/as2618/FSL/ma…

---

## [method for deleting ip sla config lines at different routers](https://forum.ansible.com/t/method-for-deleting-ip-sla-config-lines-at-different-routers/27047)

<div class="topic-metadata">

**Author:** [@aegiacometti](https://forum.ansible.com/u/aegiacometti)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 8:44pm UTC](https://forum.ansible.com/t/method-for-deleting-ip-sla-config-lines-at-different-routers/27047 "2018-03-22T20:44:26Z")

</div>

Hi guys, i 've been tasked for deletion of “ip sla x” lines at several routers. I have created this playbook, that works fine with all routers, except the ones which do not have “ip sla x” configured. This is the playb…

---

## [Pass output variable of one role as an input to another role](https://forum.ansible.com/t/pass-output-variable-of-one-role-as-an-input-to-another-role/27054)

<div class="topic-metadata">

**Author:** [@Ukesh\_Kumar\_Vasudeva](https://forum.ansible.com/u/Ukesh_Kumar_Vasudeva)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 8:33pm UTC](https://forum.ansible.com/t/pass-output-variable-of-one-role-as-an-input-to-another-role/27054 "2018-03-22T20:33:03Z")

</div>

Hi, I am having the below ansible script. While executing the script, I am getting error in the role ‘install-packages’. The error is, “msg”: "The task includes an option with an undefined variable. The error was: {{ …

---

## [debug output for task](https://forum.ansible.com/t/debug-output-for-task/27057)

<div class="topic-metadata">

**Author:** [@Cyberbob](https://forum.ansible.com/u/Cyberbob)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 8:26pm UTC](https://forum.ansible.com/t/debug-output-for-task/27057 "2018-03-22T20:26:33Z")

</div>

Hi team, i have this playbook: \`

---

## [Ansible Tower setup takes up to half hour](https://forum.ansible.com/t/ansible-tower-setup-takes-up-to-half-hour/27084)

<div class="topic-metadata">

**Author:** [@Santhosh\_Thumma](https://forum.ansible.com/u/Santhosh_Thumma)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 7:32pm UTC](https://forum.ansible.com/t/ansible-tower-setup-takes-up-to-half-hour/27084 "2018-03-22T19:32:43Z")

</div>

Hello Guys, I’m trying to install ansible tower on one of my nodes and it takes very long to finish. I’m running the setup.sh from this file, http://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.t…

---

## [Playbook ignores attributes auth\_pass\\authorize and wont enter privilege mode.](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071)

<div class="topic-metadata">

**Author:** [@igor](https://forum.ansible.com/u/igor)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 5:20pm UTC](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071 "2018-03-22T17:20:47Z")

</div>

Hi Everyone! I am new to “Ansible”. I’ve created a playbook that backups cisco running config. My problem is that i get an error Invalid input detector “^” i did some digging and its alerting due to the command not runn…

---

## [Vars defined within a yml file not changed](https://forum.ansible.com/t/vars-defined-within-a-yml-file-not-changed/27081)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 4:39pm UTC](https://forum.ansible.com/t/vars-defined-within-a-yml-file-not-changed/27081 "2018-03-22T16:39:14Z")

</div>

Hi, This syntax works to override the var “service\_mesh” when we execute this ansible playbook command “ansible-playbook -i inventory/cloud\_host playbook/post\_installation.yml -e service\_mesh=true” but the var is not …

---

## [blockinfile:  content="{{ item.content }}" -- Making it pretty](https://forum.ansible.com/t/blockinfile-content-item-content-making-it-pretty/27070)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 4:01pm UTC](https://forum.ansible.com/t/blockinfile-content-item-content-making-it-pretty/27070 "2018-03-22T16:01:37Z")

</div>

I have the following which works. However, I would like to make the bash script code “pretty”. It is found under the “content” section of the with\_items. How can I do this? \` name: Ensure myscript.sh contains director…

---

## [Do we have anything similar to puppet r10k deployment for Ansible](https://forum.ansible.com/t/do-we-have-anything-similar-to-puppet-r10k-deployment-for-ansible/27080)

<div class="topic-metadata">

**Author:** [@Bala1](https://forum.ansible.com/u/Bala1)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 1:58pm UTC](https://forum.ansible.com/t/do-we-have-anything-similar-to-puppet-r10k-deployment-for-ansible/27080 "2018-03-22T13:58:18Z")

</div>

Hello, I would like to test my playbook in sandbox do we have anything similar to puppet r10k deployment for Ansible Regards, Bala

---

## [Ansible script to spin up the VM in virtual box](https://forum.ansible.com/t/ansible-script-to-spin-up-the-vm-in-virtual-box/20821)

<div class="topic-metadata">

**Author:** [@Ram](https://forum.ansible.com/u/Ram)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 1:51pm UTC](https://forum.ansible.com/t/ansible-script-to-spin-up-the-vm-in-virtual-box/20821 "2018-03-22T13:51:55Z")

</div>

Hi, I am new to Ansible, and i am from Microsoft tech background, i want to spin and setup an VM with redhat linux in the Virtual box, after setup the VM, i need to setup tomcat, so have installed the ansible in mac bo…

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

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