# Latest

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

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

**Page:** 572

---

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

---

## [Is it acceptable to call 'ansible-playbook' from an Ansible role?](https://forum.ansible.com/t/is-it-acceptable-to-call-ansible-playbook-from-an-ansible-role/27068)

<div class="topic-metadata">

**Author:** [@rhino](https://forum.ansible.com/u/rhino)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:11pm UTC](https://forum.ansible.com/t/is-it-acceptable-to-call-ansible-playbook-from-an-ansible-role/27068 "2018-03-22T18:11:59Z")

</div>

I would like some other’s thoughts on calling ‘ansible-playbook’ from within an Ansible role - essentially calling Ansible from Ansible. It certainly looks strange…but it works. And I’m not sure of another way to go abou…

---

## [Ansible custom module error](https://forum.ansible.com/t/ansible-custom-module-error/27076)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:04pm UTC](https://forum.ansible.com/t/ansible-custom-module-error/27076 "2018-03-22T18:04:25Z")

</div>

Hi All, I have written a custom module touch.bash to create a file and trying to run using yaml file . Getting this error No such file or directory\\r\\n/root/.ansible/tmp/ansible-tmp…

---

## [\[WARNING\]: Error in vault password file loading (default)](https://forum.ansible.com/t/warning-error-in-vault-password-file-loading-default/27035)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 5:57pm UTC](https://forum.ansible.com/t/warning-error-in-vault-password-file-loading-default/27035 "2018-03-22T17:57:55Z")

</div>

Hi All, Request you help, after upgrade ansible to 2.6 -devel the password vault is not working as expected, and getting the below error, before the upgrade it was working fine without any issues. ansible-playbook /hom…

---

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

---

## [Don't create user when updating passwords](https://forum.ansible.com/t/dont-create-user-when-updating-passwords/27078)

<div class="topic-metadata">

**Author:** [@mkempster22uu](https://forum.ansible.com/u/mkempster22uu)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 1:26pm UTC](https://forum.ansible.com/t/dont-create-user-when-updating-passwords/27078 "2018-03-22T13:26:05Z")

</div>

Is there a way in the user module to not create a user if it doesn’t find it. This is so we can update the password for that user on a list of servers, but if the server doesn’t have the user it will just skip it rather …

---

## [ansible-playbook error  for load\_config()](https://forum.ansible.com/t/ansible-playbook-error-for-load-config/26811)

<div class="topic-metadata">

**Author:** [@Dark\_Night](https://forum.ansible.com/u/Dark_Night)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 12:55pm UTC](https://forum.ansible.com/t/ansible-playbook-error-for-load-config/26811 "2018-03-22T12:55:47Z")

</div>

dear team, this is my actual yml file

---

## [Don't create user if it doesn't exist](https://forum.ansible.com/t/dont-create-user-if-it-doesnt-exist/27079)

<div class="topic-metadata">

**Author:** [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 12:41pm UTC](https://forum.ansible.com/t/dont-create-user-if-it-doesnt-exist/27079 "2018-03-22T12:41:03Z")

</div>

As far as I know, no. If I was in the situation, I might wind up doing something hacky like a command task that checks tower-cli user get and then uses the “changed” status in the result to make a decision.

---

## [Ansible playbook text/line insertion in file](https://forum.ansible.com/t/ansible-playbook-text-line-insertion-in-file/27077)

<div class="topic-metadata">

**Author:** [@Abhinav\_Agnihotri](https://forum.ansible.com/u/Abhinav_Agnihotri)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 12:09pm UTC](https://forum.ansible.com/t/ansible-playbook-text-line-insertion-in-file/27077 "2018-03-22T12:09:56Z")

</div>

Hi, This is my file, in which i want to change some existing line. Some random text: testing line Below are examples: Example 0 Example 1 Example 2 path:this file path is /home/ansible/Test\_folder1/Test\_path.cgf i…

---

## [Ansible Installation Issue on Linux](https://forum.ansible.com/t/ansible-installation-issue-on-linux/27065)

<div class="topic-metadata">

**Author:** [@SHR](https://forum.ansible.com/u/SHR)\
**Replies:** 5\
**Last updated:** [March 22, 2018, 10:42am UTC](https://forum.ansible.com/t/ansible-installation-issue-on-linux/27065 "2018-03-22T10:42:53Z")

</div>

Hi All, M getting below error message after ansible installation. Is this error can be ignorable: " \[root@Test0 Desktop\]# ansible --version ERROR! Unexpected Exception, this is probably a bug: (pyasn1 0.1.6 (/usr/lib…

---

## [Install playbook errors out](https://forum.ansible.com/t/install-playbook-errors-out/27074)

<div class="topic-metadata">

**Author:** [@Rahul\_Singh](https://forum.ansible.com/u/Rahul_Singh)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 9:04am UTC](https://forum.ansible.com/t/install-playbook-errors-out/27074 "2018-03-22T09:04:49Z")

</div>

dict object has no attributes ‘sydout’\\n\\nThe error appears to have been in 'usr/share/ceph-ansible-vmasc/roles/ceph-common/tasks/miscsystem\_tuning.yml

---

## [\[vsphere\_guest\] add a new vmdk disk with an automatic number](https://forum.ansible.com/t/vsphere-guest-add-a-new-vmdk-disk-with-an-automatic-number/23831)

<div class="topic-metadata">

**Author:** [@Vincent\_Burgun](https://forum.ansible.com/u/Vincent_Burgun)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 10:24pm UTC](https://forum.ansible.com/t/vsphere-guest-add-a-new-vmdk-disk-with-an-automatic-number/23831 "2018-03-21T22:24:08Z")

</div>

Hi, We use ansible 2.1.0.0 for create VM on vmware vSphere 6.0. Sometimes we need to add a disk We use a role “srv\_disk” - name: “Configure extra disk” delegate\_to: localhost ignore\_errors: yes vsphere\_guest: vce…

---

## [non-admin team members can create job templates, but not execute them](https://forum.ansible.com/t/non-admin-team-members-can-create-job-templates-but-not-execute-them/27059)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy](https://forum.ansible.com/u/Dennis_McCarthy)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 9:01pm UTC](https://forum.ansible.com/t/non-admin-team-members-can-create-job-templates-but-not-execute-them/27059 "2018-03-21T21:01:28Z")

</div>

I must be doing something wrongly, or maybe this is a feature? I have created a team, assigned members to it and granted a bunch or permissions. Users that are members of the team can create new job templates, But, th…

---

## [Ansible installation issue - Makefile](https://forum.ansible.com/t/ansible-installation-issue-makefile/27069)

<div class="topic-metadata">

**Author:** [@Andreas\_Olsson](https://forum.ansible.com/u/Andreas_Olsson)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 6:55pm UTC](https://forum.ansible.com/t/ansible-installation-issue-makefile/27069 "2018-03-21T18:55:59Z")

</div>

ons 2018-03-21 klockan 06:40 -0700 skrev Camille Beaudou: I'm trying to install Ansible on a Ubuntu 16.04 VM (VMWare). I'm following the install instruction on Ansible website, however when executing the command "mak…

---

## [Diskpart for Windows](https://forum.ansible.com/t/diskpart-for-windows/27051)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 5:01pm UTC](https://forum.ansible.com/t/diskpart-for-windows/27051 "2018-03-21T17:01:41Z")

</div>

Hello, I am working on deploying some Server 2016 machines with an awx playbook. I am adding a data volume but I am noticing that server 2016 is not formatting the disk like Server 2012 does. With 2012 all I need to do …

---

## [exception: mapping values are not allowed in this context](https://forum.ansible.com/t/exception-mapping-values-are-not-allowed-in-this-context/27067)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 4:03pm UTC](https://forum.ansible.com/t/exception-mapping-values-are-not-allowed-in-this-context/27067 "2018-03-21T16:03:59Z")

</div>

I have the following playbook. If I comment out the line for import\_playbook, the error goes away. Can anybody see what is wrong with this? I am guessing a syntax error, but I can’t seem to find it. Thanks in advance!: \`…

---

## [Creation of tables failing when done SHELL Module of Ansible on PostgreSQL](https://forum.ansible.com/t/creation-of-tables-failing-when-done-shell-module-of-ansible-on-postgresql/27038)

<div class="topic-metadata">

**Author:** [@Tushar\_Dudhade](https://forum.ansible.com/u/Tushar_Dudhade)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 2:20pm UTC](https://forum.ansible.com/t/creation-of-tables-failing-when-done-shell-module-of-ansible-on-postgresql/27038 "2018-03-21T14:20:24Z")

</div>

I wrote the shell script to be run over the PostgreSQL to create tables in a particular database schema. For users, db and schema creation I am using PostgrSQL Ansible modules but for tables creation I am using the shell…

---

## [napalm-ansible...NXOS](https://forum.ansible.com/t/napalm-ansible-nxos/27064)

<div class="topic-metadata">

**Author:** [@Sunil6057](https://forum.ansible.com/u/Sunil6057)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 11:36am UTC](https://forum.ansible.com/t/napalm-ansible-nxos/27064 "2018-03-21T11:36:21Z")

</div>

hi --- - hosts: leaf connection: local tasks: - napalm\_install\_config: hostname: "{{ inventory\_hostname }}" username: "{{ username }}" password: "{{ password }}" dev\_os: "{{ nxos …

---

## [Failed to find handler for](https://forum.ansible.com/t/failed-to-find-handler-for/27066)

<div class="topic-metadata">

**Author:** [@danish09](https://forum.ansible.com/u/danish09)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 11:13am UTC](https://forum.ansible.com/t/failed-to-find-handler-for/27066 "2018-03-21T11:13:50Z")

</div>

When I am downloading a tar.gz file and unarchiving it using the unarchive module, ansible fails with “Failed to find handler for "/usr/share/openjdk-9.0.4\_linux-x64\_bin.tar.gz". Make sure the required command to extract…

---

## [Ansible with Multiboot Machines](https://forum.ansible.com/t/ansible-with-multiboot-machines/27063)

<div class="topic-metadata">

**Author:** [@shane](https://forum.ansible.com/u/shane)\
**Replies:** 0\
**Last updated:** [March 20, 2018, 11:28pm UTC](https://forum.ansible.com/t/ansible-with-multiboot-machines/27063 "2018-03-20T23:28:22Z")

</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…

---

## [vault-encrypted admin\_password issues in azure\_rm\_virtualmachine module](https://forum.ansible.com/t/vault-encrypted-admin-password-issues-in-azure-rm-virtualmachine-module/26985)

<div class="topic-metadata">

**Author:** [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Replies:** 4\
**Last updated:** [March 20, 2018, 11:04pm UTC](https://forum.ansible.com/t/vault-encrypted-admin-password-issues-in-azure-rm-virtualmachine-module/26985 "2018-03-20T23:04:31Z")

</div>

Hello, Having an issue here. I created a role with variables both stored in the role’s /vars folder, and in a /group\_vars’ encrypted vault. The variables in the encrypted vault are for username and password when creat…

---

## [Aliases + module.params](https://forum.ansible.com/t/aliases-module-params/27060)

<div class="topic-metadata">

**Author:** [@Alex\_Stephen1](https://forum.ansible.com/u/Alex_Stephen1)\
**Replies:** 0\
**Last updated:** [March 20, 2018, 9:34pm UTC](https://forum.ansible.com/t/aliases-module-params/27060 "2018-03-20T21:34:43Z")

</div>

I’m in the process of writing an Ansible module. I’ve currently got an Ansible task that includes this piece of code: ... allowed: - ip\_protocol: 'tcp' - port: '22' ... AnsibleModule looks something like this: Ansibl…

---

## [Inventory](https://forum.ansible.com/t/inventory/27058)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [March 20, 2018, 7:36pm UTC](https://forum.ansible.com/t/inventory/27058 "2018-03-20T19:36:45Z")

</div>

Hi All, Can someone provide me an example on how to accomplish the below task, I have 10 task, I need to execute 5 task on all the host which are under the group test in the inventory file and task 6-8 on first 2 serve…

---

## [How to remote to Windows using Linux](https://forum.ansible.com/t/how-to-remote-to-windows-using-linux/27045)

<div class="topic-metadata">

**Author:** [@Rachel\_Leonard](https://forum.ansible.com/u/Rachel_Leonard)\
**Replies:** 4\
**Last updated:** [March 20, 2018, 6:18pm UTC](https://forum.ansible.com/t/how-to-remote-to-windows-using-linux/27045 "2018-03-20T18:18:26Z")

</div>

I am trying to use credssp to remote login into Windows and I am not getting any response when trying to connect from the Linux box. I can’t ping the windows box either. I can ping the linux box from the windows box. I h…

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

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