# Latest

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

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

**Page:** 671

---

## [Can't Fix Ansible SSH Error](https://forum.ansible.com/t/cant-fix-ansible-ssh-error/24132)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 8\
**Last updated:** [April 6, 2017, 7:01am UTC](https://forum.ansible.com/t/cant-fix-ansible-ssh-error/24132 "2017-04-06T07:01:49Z")

</div>

When I run the following Ansible playbook on my backup server, backups.example.com, I get the error shown below: main.yml

---

## [Append to variables instead of overriding them](https://forum.ansible.com/t/append-to-variables-instead-of-overriding-them/24146)

<div class="topic-metadata">

**Author:** [@user20](https://forum.ansible.com/u/user20)\
**Replies:** 2\
**Last updated:** [April 6, 2017, 6:47am UTC](https://forum.ansible.com/t/append-to-variables-instead-of-overriding-them/24146 "2017-04-06T06:47:27Z")

</div>

Hello. Is it possible to append variable to another one in vars files? I have a use case for this: I want to create a large list of packages to install on a Debian system. I have global packages (e.g, tmux), that I wan…

---

## [Make it possible to set tasks\_from to None in include\_role](https://forum.ansible.com/t/make-it-possible-to-set-tasks-from-to-none-in-include-role/24119)

<div class="topic-metadata">

**Author:** [@Oyvind\_Saltvik](https://forum.ansible.com/u/Oyvind_Saltvik)\
**Replies:** 6\
**Last updated:** [April 5, 2017, 11:51pm UTC](https://forum.ansible.com/t/make-it-possible-to-set-tasks-from-to-none-in-include-role/24119 "2017-04-05T23:51:52Z")

</div>

If you want to just include defaults, vars and handlers it would be nice to be able to not run any of the roles tasks.

---

## [How copy directory based on a hostname in a group in ansible?](https://forum.ansible.com/t/how-copy-directory-based-on-a-hostname-in-a-group-in-ansible/24152)

<div class="topic-metadata">

**Author:** [@Siva\_Chowdary](https://forum.ansible.com/u/Siva_Chowdary)\
**Replies:** 0\
**Last updated:** [April 5, 2017, 9:33pm UTC](https://forum.ansible.com/t/how-copy-directory-based-on-a-hostname-in-a-group-in-ansible/24152 "2017-04-05T21:33:24Z")

</div>

I have 2 hosts in a group: \[group-1\] hostname1 hostname2 I have 2 directories hostname1,hostname2 in my local. How can Iconstruct a task to copy hostname1 directory to host hostname1and for homename2 for a play so…

---

## [vmware\_guest can't find the VM when the state is "poweredoff" or "poweredon"](https://forum.ansible.com/t/vmware-guest-cant-find-the-vm-when-the-state-is-poweredoff-or-poweredon/24150)

<div class="topic-metadata">

**Author:** [@Diego\_Puertas](https://forum.ansible.com/u/Diego_Puertas)\
**Replies:** 2\
**Last updated:** [April 5, 2017, 5:22pm UTC](https://forum.ansible.com/t/vmware-guest-cant-find-the-vm-when-the-state-is-poweredoff-or-poweredon/24150 "2017-04-05T17:22:29Z")

</div>

When in state poweredoff or poweredon, vmware\_guest can’t find my vm, therefore it assumes I want to create a new VM. When in state present, it has no problem finding it. Consider the playbook: name: Modify existing…

---

## [Wanting to get a logrotate module into ansible core](https://forum.ansible.com/t/wanting-to-get-a-logrotate-module-into-ansible-core/24138)

<div class="topic-metadata">

**Author:** [@Giles\_Westwood](https://forum.ansible.com/u/Giles_Westwood)\
**Replies:** 1\
**Last updated:** [April 5, 2017, 3:38pm UTC](https://forum.ansible.com/t/wanting-to-get-a-logrotate-module-into-ansible-core/24138 "2017-04-05T15:38:59Z")

</div>

Hi Ansible devs, I’m wanting to get this module into ansible core. Which area should I add it into in lib/ansible/modules? https://github.com/gilesw/ansible-logrotate

---

## [2.3 Vagrant](https://forum.ansible.com/t/2-3-vagrant/24147)

<div class="topic-metadata">

**Author:** [@William\_McKenzie](https://forum.ansible.com/u/William_McKenzie)\
**Replies:** 0\
**Last updated:** [April 5, 2017, 12:31pm UTC](https://forum.ansible.com/t/2-3-vagrant/24147 "2017-04-05T12:31:57Z")

</div>

I know 2.3 is not quite released yet. Does anyone know if the pre-release is available with tower as a Vagrant box? Or when will the Vagrant box be updated to use 2.3?

---

## [Kerberos in Ansible Tower, pulling my hair out.](https://forum.ansible.com/t/kerberos-in-ansible-tower-pulling-my-hair-out/24121)

<div class="topic-metadata">

**Author:** [@William\_McKenzie](https://forum.ansible.com/u/William_McKenzie)\
**Replies:** 8\
**Last updated:** [April 5, 2017, 12:30pm UTC](https://forum.ansible.com/t/kerberos-in-ansible-tower-pulling-my-hair-out/24121 "2017-04-05T12:30:16Z")

</div>

Here’s my setup: Ansible Tower 3.1.1, Basic License, using the vagrant box, with some post provisioning steps to setup krb5 and join the box to my domain. Kerberos configuration is good. I can kinit, klist, etc. etc. f…

---

## [Issue understanding variables and with\_items](https://forum.ansible.com/t/issue-understanding-variables-and-with-items/24143)

<div class="topic-metadata">

**Author:** [@gforster](https://forum.ansible.com/u/gforster)\
**Replies:** 1\
**Last updated:** [April 5, 2017, 10:38am UTC](https://forum.ansible.com/t/issue-understanding-variables-and-with-items/24143 "2017-04-05T10:38:29Z")

</div>

I think my issue is that I’m trying to get with\_items to do too much. But when I use user.uniq instead of with\_items, I’m getting a similar error. I’m really not understanding what approach to take. Thanks, Here is the …

---

## [Creating a user and setting password only when getent returns a null value from passwd database.](https://forum.ansible.com/t/creating-a-user-and-setting-password-only-when-getent-returns-a-null-value-from-passwd-database/24144)

<div class="topic-metadata">

**Author:** [@michael.lovely25](https://forum.ansible.com/u/michael.lovely25)\
**Replies:** 2\
**Last updated:** [April 5, 2017, 10:05am UTC](https://forum.ansible.com/t/creating-a-user-and-setting-password-only-when-getent-returns-a-null-value-from-passwd-database/24144 "2017-04-05T10:05:35Z")

</div>

i am trying to get this to work, but its skipping over user creation in this current form when getent returns a null answer

---

## [Ask for a new password for every host using --ask-pass](https://forum.ansible.com/t/ask-for-a-new-password-for-every-host-using-ask-pass/23876)

<div class="topic-metadata">

**Author:** [@Dennis\_Klein](https://forum.ansible.com/u/Dennis_Klein)\
**Replies:** 1\
**Last updated:** [April 5, 2017, 7:27am UTC](https://forum.ansible.com/t/ask-for-a-new-password-for-every-host-using-ask-pass/23876 "2017-04-05T07:27:35Z")

</div>

Hello, i need to add my ssh key first to be able to connect using it. I made a simple playbook for it: hosts: all tasks: name: add admin ssh keys authorized\_key: user=root key={{ ssh\_key\[item\] }} state=present wit…

---

## [ERROR! 'ec2\_ami' is not a valid attribute for a Play](https://forum.ansible.com/t/error-ec2-ami-is-not-a-valid-attribute-for-a-play/24142)

<div class="topic-metadata">

**Author:** [@Sivabalan\_Nagarajan](https://forum.ansible.com/u/Sivabalan_Nagarajan)\
**Replies:** 1\
**Last updated:** [April 4, 2017, 6:52pm UTC](https://forum.ansible.com/t/error-ec2-ami-is-not-a-valid-attribute-for-a-play/24142 "2017-04-04T18:52:04Z")

</div>

This is my playbook and while running I’m getting the error which is in subject line. Can someone know what could be the issue?

---

## [HELP please - default 'yes' to all prompt in ansible](https://forum.ansible.com/t/help-please-default-yes-to-all-prompt-in-ansible/24140)

<div class="topic-metadata">

**Author:** [@NouraD](https://forum.ansible.com/u/NouraD)\
**Replies:** 3\
**Last updated:** [April 4, 2017, 5:56pm UTC](https://forum.ansible.com/t/help-please-default-yes-to-all-prompt-in-ansible/24140 "2017-04-04T17:56:51Z")

</div>

currently ansible allows only one ‘yes’ to be pushed to any question generated by config script. I cannot run multiple ‘yes’ for the prompts generated . it get stuck after first ‘yes’ this is my task :

---

## [Ansible doesnt allows multiple promots at the same time "y\\ny\\n"](https://forum.ansible.com/t/ansible-doesnt-allows-multiple-promots-at-the-same-time-y-ny-n/24133)

<div class="topic-metadata">

**Author:** [@NouraD](https://forum.ansible.com/u/NouraD)\
**Replies:** 2\
**Last updated:** [April 4, 2017, 1:36pm UTC](https://forum.ansible.com/t/ansible-doesnt-allows-multiple-promots-at-the-same-time-y-ny-n/24133 "2017-04-04T13:36:18Z")

</div>

Hi , ansible 2.1.4.0 I am trying to use ansible module to execute a sciprt \< custom work flow\> . I have notices that ansible allows me to enter only one prompt ‘y’ from the question generated out of the custom script. …

---

## [How does ansible can Guarantee that Server we automated using Ansible is running with valid configuration even after week ??](https://forum.ansible.com/t/how-does-ansible-can-guarantee-that-server-we-automated-using-ansible-is-running-with-valid-configuration-even-after-week/24101)

<div class="topic-metadata">

**Author:** [@sgampawa](https://forum.ansible.com/u/sgampawa)\
**Replies:** 2\
**Last updated:** [April 4, 2017, 10:02am UTC](https://forum.ansible.com/t/how-does-ansible-can-guarantee-that-server-we-automated-using-ansible-is-running-with-valid-configuration-even-after-week/24101 "2017-04-04T10:02:29Z")

</div>

Hi Everyone, Now am getting more familiar to Ansible ,Since I am automating my servers using Ansible playbook quit easily.But to be in some more precise manner after adding configuration to remote machine How we can ens…

---

## [Most of the windows modules dont work as expected?](https://forum.ansible.com/t/most-of-the-windows-modules-dont-work-as-expected/24135)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 1\
**Last updated:** [April 4, 2017, 9:57am UTC](https://forum.ansible.com/t/most-of-the-windows-modules-dont-work-as-expected/24135 "2017-04-04T09:57:21Z")

</div>

hello, i am using 2.3rc1 and i could see that most of the windows modules has some issues, particularly with IIS

---

## [Is this possible?](https://forum.ansible.com/t/is-this-possible/24088)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 11\
**Last updated:** [April 4, 2017, 9:53am UTC](https://forum.ansible.com/t/is-this-possible/24088 "2017-04-04T09:53:48Z")

</div>

i want to create some reg entries and i want to pull data and value for it from an url…where i can edit those whenever required and when there is a change there , ansible should pick it and enter that in registry…is it p…

---

## [Ansible v2.4.0 - Handlers from included roles fail](https://forum.ansible.com/t/ansible-v2-4-0-handlers-from-included-roles-fail/24129)

<div class="topic-metadata">

**Author:** [@sylvain.gable](https://forum.ansible.com/u/sylvain.gable)\
**Replies:** 1\
**Last updated:** [April 4, 2017, 9:34am UTC](https://forum.ansible.com/t/ansible-v2-4-0-handlers-from-included-roles-fail/24129 "2017-04-04T09:34:02Z")

</div>

Hello, I’ve been playing with ansible for a couple of days and ran into some trouble with Ansible v2.4.0 (the “git” version). Following the best practices of the documentation, I use roles and my project has basically …

---

## [Problem creating a bridge with the nmcli module](https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [April 4, 2017, 7:01am UTC](https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996 "2017-04-04T07:01:41Z")

</div>

Hi, Using Ansible 2.1.0.0 I'm trying to create a bridge br0 on a CentOS 7 host to replace its standard eth0 interface (dhcp). The nmcli examples don't cover a bridge so I tried to follow the logic for bonds. The snippet…

---

## [URI module has not implemented auth yet? Not yet finished?](https://forum.ansible.com/t/uri-module-has-not-implemented-auth-yet-not-yet-finished/24134)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 0\
**Last updated:** [April 4, 2017, 3:18am UTC](https://forum.ansible.com/t/uri-module-has-not-implemented-auth-yet-not-yet-finished/24134 "2017-04-04T03:18:02Z")

</div>

Hello. I cannot get uri module to do authentication management with user: and password: key:value pairs. It seems the underlying command does not have the auth info, so it cannot deal with the 401, so the higher level …

---

## [Can't get authentication to work with uri module](https://forum.ansible.com/t/cant-get-authentication-to-work-with-uri-module/18120)

<div class="topic-metadata">

**Author:** [@Brenda\_Bell](https://forum.ansible.com/u/Brenda_Bell)\
**Replies:** 3\
**Last updated:** [April 4, 2017, 1:51am UTC](https://forum.ansible.com/t/cant-get-authentication-to-work-with-uri-module/18120 "2017-04-04T01:51:19Z")

</div>

I can ssh to the server and curl successfully with authentication: \` $ curl --user user:password http://localhost:8080/api/v1/clusters { “href” : “http://localhost:8080/api/v1/clusters”, “items” : } \` But when I…

---

## [Ansible gave Python\_nodeclient module required error](https://forum.ansible.com/t/ansible-gave-python-nodeclient-module-required-error/24100)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 2\
**Last updated:** [April 3, 2017, 8:16pm UTC](https://forum.ansible.com/t/ansible-gave-python-nodeclient-module-required-error/24100 "2017-04-03T20:16:55Z")

</div>

Can you show the actual output? That error does not seem to be produced by the Ansible codebase.

---

## [using either command or validate on visudo with no stdout is always a fatal result.....](https://forum.ansible.com/t/using-either-command-or-validate-on-visudo-with-no-stdout-is-always-a-fatal-result/24131)

<div class="topic-metadata">

**Author:** [@Paul\_McDonough](https://forum.ansible.com/u/Paul_McDonough)\
**Replies:** 2\
**Last updated:** [April 3, 2017, 8:06pm UTC](https://forum.ansible.com/t/using-either-command-or-validate-on-visudo-with-no-stdout-is-always-a-fatal-result/24131 "2017-04-03T20:06:42Z")

</div>

I’m trying to use either lineinfile or blockinfile to make a change to a sudoers.ansible file then copy this back over the sudoers once its validated as correctly formatted. I can see that the changes go ahead and I can …

---

## [Hide file contents when using the copy module.](https://forum.ansible.com/t/hide-file-contents-when-using-the-copy-module/24124)

<div class="topic-metadata">

**Author:** [@Julius\_Sediolano](https://forum.ansible.com/u/Julius_Sediolano)\
**Replies:** 2\
**Last updated:** [April 3, 2017, 5:51pm UTC](https://forum.ansible.com/t/hide-file-contents-when-using-the-copy-module/24124 "2017-04-03T17:51:29Z")

</div>

Hi All, As the subject line says, is there a way to hide/disable the diff on the copy module so it doesn’t expose the contents? \[vagrant@localhost test\]$ ansible-playbook -D file\_copy\_test.yml \[WARNING\]: Host file not…

---

## [getting error when trying to use asa\_command playbook](https://forum.ansible.com/t/getting-error-when-trying-to-use-asa-command-playbook/24118)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 1\
**Last updated:** [April 3, 2017, 5:43pm UTC](https://forum.ansible.com/t/getting-error-when-trying-to-use-asa-command-playbook/24118 "2017-04-03T17:43:16Z")

</div>

When I run my playbook i’m getting the following: ansible-playbook asa-config1-test.yml ERROR! Syntax Error while loading YAML. The error appears to have been in ‘/home/andrew.meyer/playbooks/asa-config1-test.yml’: li…

---

## [Ansible 2.2.3 RC1 is available for testing!](https://forum.ansible.com/t/ansible-2-2-3-rc1-is-available-for-testing/24130)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 3, 2017, 5:28pm UTC](https://forum.ansible.com/t/ansible-2-2-3-rc1-is-available-for-testing/24130 "2017-04-03T17:28:16Z")

</div>

We are happy to announce the availability of Ansible 2.2.3 RC1! This RC addresses a couple of bugs (at least one of which was introduced in 2.2.2): Fix ‘ungrouped’ issue with some inventory formats (#23018) Split on n…

---

## [How to force EBS volume to detached from EC2? ec2\_vol is not working.](https://forum.ansible.com/t/how-to-force-ebs-volume-to-detached-from-ec2-ec2-vol-is-not-working/24128)

<div class="topic-metadata">

**Author:** [@Bhavin\_Parmar](https://forum.ansible.com/u/Bhavin_Parmar)\
**Replies:** 0\
**Last updated:** [April 3, 2017, 3:20pm UTC](https://forum.ansible.com/t/how-to-force-ebs-volume-to-detached-from-ec2-ec2-vol-is-not-working/24128 "2017-04-03T15:20:40Z")

</div>

I am trying to detach EBS volume: — # Ansible role to detach EBS Volume - name: Detach AWS EBS Volume ec2\_vol: aws\_access\_key: ‘{{ AwsAccesskey }}’ aws\_secret\_key: ‘{{ AwsSecretkey }}’ region: ‘{{ region }}’ id: ‘…

---

## [Ansible Omit filter behavior issue](https://forum.ansible.com/t/ansible-omit-filter-behavior-issue/24127)

<div class="topic-metadata">

**Author:** [@Anderson\_Goulart](https://forum.ansible.com/u/Anderson_Goulart)\
**Replies:** 0\
**Last updated:** [April 3, 2017, 2:58pm UTC](https://forum.ansible.com/t/ansible-omit-filter-behavior-issue/24127 "2017-04-03T14:58:30Z")

</div>

Hi, I am trying to build a role which will help us to create new security groups on AWS based on a dictionary. But I have an issue with one to enable the rules parsing caused by a conflict between 2 args that are mutual…

---

## [Deploying BigBlueButton using Ansible Server](https://forum.ansible.com/t/deploying-bigbluebutton-using-ansible-server/24111)

<div class="topic-metadata">

**Author:** [@nexio.global](https://forum.ansible.com/u/nexio.global)\
**Replies:** 2\
**Last updated:** [April 3, 2017, 2:05pm UTC](https://forum.ansible.com/t/deploying-bigbluebutton-using-ansible-server/24111 "2017-04-03T14:05:52Z")

</div>

Hello, I am trying to deploying BigBlueButton using Ansible Server. I made a YML script for that but I stuck in a problem, when the module of installing BigBlueButton ha been started it stuck. It didn’t show any error on…

---

## [Yum Module - EL6 Systems Permission denied](https://forum.ansible.com/t/yum-module-el6-systems-permission-denied/24125)

<div class="topic-metadata">

**Author:** [@Martin\_Urbach](https://forum.ansible.com/u/Martin_Urbach)\
**Replies:** 1\
**Last updated:** [April 3, 2017, 2:03pm UTC](https://forum.ansible.com/t/yum-module-el6-systems-permission-denied/24125 "2017-04-03T14:03:54Z")

</div>

HI all! I try to install some packages via the Ansible yum Module on CentOS 6 (python --version Python 2.6.6) systems but I getting the following error: I’ve started the Module-Script with root - permission /dev/shm/…

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

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