# Ansible Project

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

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

**Page:** 321

---

## [ios-command, paramiko and elliptical keys](https://forum.ansible.com/t/ios-command-paramiko-and-elliptical-keys/25244)

<div class="topic-metadata">

**Author:** [@Eric\_W\_Bates](https://forum.ansible.com/u/Eric_W_Bates)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 1:30pm UTC](https://forum.ansible.com/t/ios-command-paramiko-and-elliptical-keys/25244 "2017-08-14T13:30:15Z")

</div>

I’m trying a simply hello-world on my cisco switch via ios-command and paramiko fails because of the presence of elliptical keys: … 2017-07-21 14:19:25,212 p=71332 u=ericx | 71340 1500661165.21265: Loading ShellModule …

---

## [unable configure haproxy.cfg through ansible  using template](https://forum.ansible.com/t/unable-configure-haproxy-cfg-through-ansible-using-template/25240)

<div class="topic-metadata">

**Author:** [@Milind\_Sisodiya](https://forum.ansible.com/u/Milind_Sisodiya)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 6:27am UTC](https://forum.ansible.com/t/unable-configure-haproxy-cfg-through-ansible-using-template/25240 "2017-08-14T06:27:59Z")

</div>

We are getting following error which is not letting us to configure or paste the haproxy.cfg from template file. Do we need any specific modules to replace with variable as we have in our playbook below? Error: TASK \[C…

---

## [Possible to set default value for missing key when using with\_items and when?](https://forum.ansible.com/t/possible-to-set-default-value-for-missing-key-when-using-with-items-and-when/25242)

<div class="topic-metadata">

**Author:** [@Ryan\_Fisher](https://forum.ansible.com/u/Ryan_Fisher)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 2:41am UTC](https://forum.ansible.com/t/possible-to-set-default-value-for-missing-key-when-using-with-items-and-when/25242 "2017-08-14T02:41:40Z")

</div>

I’m trying to avoid having to put a key into every host\_vars that uses a role that executes against multiple environments. Maybe I’m thinking about this wrong? host\_vars: \`

---

## ["one of the following is required: name,list while executing handlers"](https://forum.ansible.com/t/one-of-the-following-is-required-name-list-while-executing-handlers/25220)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 2\
**Last updated:** [August 13, 2017, 12:09pm UTC](https://forum.ansible.com/t/one-of-the-following-is-required-name-list-while-executing-handlers/25220 "2017-08-13T12:09:41Z")

</div>

We are getting “one of the following is required: name,list” error on executing handlers on non sles servers skipping: \[NESSTDDB01\] =\> (item=ntp) skipping: \[NESSTDDB01\] =\> (item=vim) failed: \[NESLTR10AJAWA01\] (item=vi…

---

## [playbook to restart node if uptime is greater than 100 days](https://forum.ansible.com/t/playbook-to-restart-node-if-uptime-is-greater-than-100-days/25219)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 3\
**Last updated:** [August 13, 2017, 11:21am UTC](https://forum.ansible.com/t/playbook-to-restart-node-if-uptime-is-greater-than-100-days/25219 "2017-08-13T11:21:19Z")

</div>

I could rit playbook to get uptime but how we can take action on the output received from ansible. how we can grep days from below output and rit restart code for the same. ok: \[NESSTDDB01\] =\> { “result.stdout”: " 12:…

---

## [Proxmox Module keeps saying "authorization on proxmox cluster failed with exception: Couldn't authenticate user"](https://forum.ansible.com/t/proxmox-module-keeps-saying-authorization-on-proxmox-cluster-failed-with-exception-couldnt-authenticate-user/25239)

<div class="topic-metadata">

**Author:** [@Florian1](https://forum.ansible.com/u/Florian1)\
**Replies:** 2\
**Last updated:** [August 13, 2017, 8:44am UTC](https://forum.ansible.com/t/proxmox-module-keeps-saying-authorization-on-proxmox-cluster-failed-with-exception-couldnt-authenticate-user/25239 "2017-08-13T08:44:36Z")

</div>

Hello there Ansible community, I hope this is the right place to ask, if not please let me know. My goal is to fully automate the provising of containers, which includes the creation of a Proxmox container. So I tried…

---

## [New to ansible --  Looping through files with wildcards](https://forum.ansible.com/t/new-to-ansible-looping-through-files-with-wildcards/25237)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [August 11, 2017, 9:43pm UTC](https://forum.ansible.com/t/new-to-ansible-looping-through-files-with-wildcards/25237 "2017-08-11T21:43:10Z")

</div>

Hi all, I am new to ansible and am looking for some help. I don’t mind finding the answer on my own; however, I could use a shove in the right direction. I need to modify some files (/etc/sysconfig/network-scripts/ifcf…

---

## [Permissions issue, cannot become root](https://forum.ansible.com/t/permissions-issue-cannot-become-root/24830)

<div class="topic-metadata">

**Author:** [@lask001](https://forum.ansible.com/u/lask001)\
**Replies:** 4\
**Last updated:** [August 11, 2017, 6:58pm UTC](https://forum.ansible.com/t/permissions-issue-cannot-become-root/24830 "2017-08-11T18:58:47Z")

</div>

Been banging my head against this since yesterday, hoping someone is able to shed some insight on my issues. I have a simple role that I’m trying to install java with: \`

---

## [Not able to ping windows machine through Ansible (winrm using credential option as CredSSP is being used)](https://forum.ansible.com/t/not-able-to-ping-windows-machine-through-ansible-winrm-using-credential-option-as-credssp-is-being-used/25144)

<div class="topic-metadata">

**Author:** [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Replies:** 7\
**Last updated:** [August 11, 2017, 6:09pm UTC](https://forum.ansible.com/t/not-able-to-ping-windows-machine-through-ansible-winrm-using-credential-option-as-credssp-is-being-used/25144 "2017-08-11T18:09:09Z")

</div>

Hi I am running ansible 2.3.1.0 on centos7. The host(windows) machine is windows 8 with powershell. I have installed pywinrm\[credssp\] (Authentication method credSSP is being used) on centos and included windows hostnam…

---

## [F5 Playbook to generate and upload UCS](https://forum.ansible.com/t/f5-playbook-to-generate-and-upload-ucs/25236)

<div class="topic-metadata">

**Author:** [@Tariq\_Iqbal](https://forum.ansible.com/u/Tariq_Iqbal)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 5:26pm UTC](https://forum.ansible.com/t/f5-playbook-to-generate-and-upload-ucs/25236 "2017-08-11T17:26:12Z")

</div>

Hello, I would like to use Ansible to create a playbook that generates and uploads the UCS to a centralized repository. What module can I use to accomplish this task? Any help in this regards will be greatly appreciated…

---

## [ansible shell module passing backslashes with double quotes](https://forum.ansible.com/t/ansible-shell-module-passing-backslashes-with-double-quotes/25235)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://forum.ansible.com/u/Abey_Thomas)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 4:03pm UTC](https://forum.ansible.com/t/ansible-shell-module-passing-backslashes-with-double-quotes/25235 "2017-08-11T16:03:50Z")

</div>

Hi, I am trying to execute the command 'aws --debug waf-regional associate-web-acl --web-acl-id {{ ACLid }} --resource-arn {{ LBARN }}' via module shell or command but I am getting errors. aws command uses the boto an…

---

## [run expect task in virtualenv, and not other tasks](https://forum.ansible.com/t/run-expect-task-in-virtualenv-and-not-other-tasks/25234)

<div class="topic-metadata">

**Author:** [@John\_Lofgren](https://forum.ansible.com/u/John_Lofgren)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/run-expect-task-in-virtualenv-and-not-other-tasks/25234 "2017-08-11T15:28:38Z")

</div>

I’m having trouble figuring out how I can run a task with ‘expect’ module in a virtualenv and not have my other tasks run in that virtualenv. The only way I’ve found to run an expect task in a virtualenv is to set\_fact …

---

## [Variables between playbooks](https://forum.ansible.com/t/variables-between-playbooks/25213)

<div class="topic-metadata">

**Author:** [@marta.albecka1](https://forum.ansible.com/u/marta.albecka1)\
**Replies:** 3\
**Last updated:** [August 11, 2017, 3:22pm UTC](https://forum.ansible.com/t/variables-between-playbooks/25213 "2017-08-11T15:22:49Z")

</div>

Hi! I have some problem and I can’t figure out the answear to it. I’m relatively new to Ansible so I’m still learning. I have to separate playbooks and I want to set a variable value in one, and use it in the other. So …

---

## [delegate\_to and ansible\_host](https://forum.ansible.com/t/delegate-to-and-ansible-host/25194)

<div class="topic-metadata">

**Author:** [@Vladimir-csp](https://forum.ansible.com/u/Vladimir-csp)\
**Replies:** 2\
**Last updated:** [August 11, 2017, 12:37pm UTC](https://forum.ansible.com/t/delegate-to-and-ansible-host/25194 "2017-08-11T12:37:36Z")

</div>

Hi all. I have a problem with delegate\_to. I use a role which governs users, and it has a delegated task that gathers getent facts from a specific server, let’s say ‘getent-server’ Everything works fine until I try to…

---

## [Unable to manage snapshots for non-existing VM](https://forum.ansible.com/t/unable-to-manage-snapshots-for-non-existing-vm/25232)

<div class="topic-metadata">

**Author:** [@Prabahar\_S](https://forum.ansible.com/u/Prabahar_S)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 9:55am UTC](https://forum.ansible.com/t/unable-to-manage-snapshots-for-non-existing-vm/25232 "2017-08-11T09:55:30Z")

</div>

Hi Team, Can you please resolve this I got an error while I’m executing this playbook. For my play try to take VMware snapshot. It’s large ESXi host center need to take some specific server snapshot Here my playbook co…

---

## [variables defined in the Inventory](https://forum.ansible.com/t/variables-defined-in-the-inventory/25230)

<div class="topic-metadata">

**Author:** [@wenxing\_zheng](https://forum.ansible.com/u/wenxing_zheng)\
**Replies:** 2\
**Last updated:** [August 11, 2017, 9:28am UTC](https://forum.ansible.com/t/variables-defined-in-the-inventory/25230 "2017-08-11T09:28:07Z")

</div>

Dear all, I have an inventory defined in the way below: \[Group1\] host1 \[Group1:vars\] package\_name: aaa foo: bar \[Group2\] host1 \[Group2:vars\] package\_name: bbb foo1: bar then I defined a playbook for…

---

## [How much recommanded space required for Ansible remote home directory](https://forum.ansible.com/t/how-much-recommanded-space-required-for-ansible-remote-home-directory/25229)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 6:18am UTC](https://forum.ansible.com/t/how-much-recommanded-space-required-for-ansible-remote-home-directory/25229 "2017-08-11T06:18:38Z")

</div>

Hello, As ansible creates a temp file in its home directory on remote server while it connects to remote server. So how much recommended size is required for ansible remote home Dir. Thanks

---

## [vmware\_guest: fails with 'incorrect username or password' error](https://forum.ansible.com/t/vmware-guest-fails-with-incorrect-username-or-password-error/25211)

<div class="topic-metadata">

**Author:** [@Skagnatti](https://forum.ansible.com/u/Skagnatti)\
**Replies:** 1\
**Last updated:** [August 10, 2017, 8:40pm UTC](https://forum.ansible.com/t/vmware-guest-fails-with-incorrect-username-or-password-error/25211 "2017-08-10T20:40:26Z")

</div>

ANSIBLE VERSION ansible-2.2.1.0-1.el6.noarch OS ENVIRONMENT \` Red Hat Enterprise Linux Server release 6.8 (Santiago) vCenter 6.0 \` While using the correct credentials for the account being used to complete the ste…

---

## [vars\_files cannot see register variables or variables set in group\_vars, but can see one set from the command line when import\_playbook used (v2.4)](https://forum.ansible.com/t/vars-files-cannot-see-register-variables-or-variables-set-in-group-vars-but-can-see-one-set-from-the-command-line-when-import-playbook-used-v2-4/25224)

<div class="topic-metadata">

**Author:** [@Pa\_S](https://forum.ansible.com/u/Pa_S)\
**Replies:** 0\
**Last updated:** [August 10, 2017, 6:19pm UTC](https://forum.ansible.com/t/vars-files-cannot-see-register-variables-or-variables-set-in-group-vars-but-can-see-one-set-from-the-command-line-when-import-playbook-used-v2-4/25224 "2017-08-10T18:19:08Z")

</div>

Hello: I’m trying to dynamically set which vault I’m using (don’t want my test environment to use real passwords!). So I set up this in a play book that I’m doing an import\_playbook from a different directory. If vaul…

---

## [win\_psexec interactive example doesnt open interactive GUI](https://forum.ansible.com/t/win-psexec-interactive-example-doesnt-open-interactive-gui/25223)

<div class="topic-metadata">

**Author:** [@daniyal.javed](https://forum.ansible.com/u/daniyal.javed)\
**Replies:** 0\
**Last updated:** [August 10, 2017, 3:39pm UTC](https://forum.ansible.com/t/win-psexec-interactive-example-doesnt-open-interactive-gui/25223 "2017-08-10T15:39:19Z")

</div>

Hi I am playing around with win\_psexec to run an interactive install shield installer. When testing out the functionality from the examples in the module, the interactive GUI does not open upon execution. Heres my playbo…

---

## [Encrypting Host File](https://forum.ansible.com/t/encrypting-host-file/25218)

<div class="topic-metadata">

**Author:** [@Siva](https://forum.ansible.com/u/Siva)\
**Replies:** 5\
**Last updated:** [August 10, 2017, 3:05pm UTC](https://forum.ansible.com/t/encrypting-host-file/25218 "2017-08-10T15:05:58Z")

</div>

Hi, Good Day! I have a requirement to encrypt the host file in ansible, say for example, I want to encrypt the production environment host file so that the host information is not available with every one. Can anyone …

---

## [Ansible 2.3.2 FINAL has been released!](https://forum.ansible.com/t/ansible-2-3-2-final-has-been-released/25204)

<div class="topic-metadata">

**Author:** [@jimi](https://forum.ansible.com/u/jimi)\
**Replies:** 2\
**Last updated:** [August 10, 2017, 11:33am UTC](https://forum.ansible.com/t/ansible-2-3-2-final-has-been-released/25204 "2017-08-10T11:33:09Z")

</div>

Hi all, we are happy to announce that Ansible 2.3.2 has been released (sorry for the delay in announcing this, as some of you may have noticed that we released this on Friday). The ful list of changes for this release c…

---

## [Unreachable, msg=Authentication Failure](https://forum.ansible.com/t/unreachable-msg-authentication-failure/24535)

<div class="topic-metadata">

**Author:** [@Luvpreet\_Singh](https://forum.ansible.com/u/Luvpreet_Singh)\
**Replies:** 2\
**Last updated:** [August 10, 2017, 7:18am UTC](https://forum.ansible.com/t/unreachable-msg-authentication-failure/24535 "2017-08-10T07:18:30Z")

</div>

I have just started Ansible today and is facing this early issue. I have declared ansible\_ssh\_pass and ansible\_ssh\_user in the hosts file. But still this error is coming, Why iis this an issue ? luvpreet@DHARI-Inspiro…

---

## [Using numeric uid in become\_user](https://forum.ansible.com/t/using-numeric-uid-in-become-user/25208)

<div class="topic-metadata">

**Author:** [@Gregory\_Morozov](https://forum.ansible.com/u/Gregory_Morozov)\
**Replies:** 1\
**Last updated:** [August 10, 2017, 7:01am UTC](https://forum.ansible.com/t/using-numeric-uid-in-become-user/25208 "2017-08-10T07:01:05Z")

</div>

Hello, I am getting a file list using find module. For each file in the resulting list I need to perform certain action with become/become\_user, user being the owner of the found file. However find module (I guess sta…

---

## [Can I use Ansible RDS module to copy snapshot from one region to another?](https://forum.ansible.com/t/can-i-use-ansible-rds-module-to-copy-snapshot-from-one-region-to-another/25217)

<div class="topic-metadata">

**Author:** [@Prasanna\_Pandey](https://forum.ansible.com/u/Prasanna_Pandey)\
**Replies:** 0\
**Last updated:** [August 10, 2017, 6:48am UTC](https://forum.ansible.com/t/can-i-use-ansible-rds-module-to-copy-snapshot-from-one-region-to-another/25217 "2017-08-10T06:48:14Z")

</div>

Hi, I was going through the ansible docs for amazon RDS. My requirement is that I need to restore Amazon RDS database instance in from automated daily snapshots. The snapshots and restoration lie in two separate AWS re…

---

## [Ansible High Availability issue](https://forum.ansible.com/t/ansible-high-availability-issue/25215)

<div class="topic-metadata">

**Author:** [@Nikita\_Sharma](https://forum.ansible.com/u/Nikita_Sharma)\
**Replies:** 0\
**Last updated:** [August 9, 2017, 10:33pm UTC](https://forum.ansible.com/t/ansible-high-availability-issue/25215 "2017-08-09T22:33:07Z")

</div>

Hi, I performed the following steps: Installed the ansible tower in HA mode and configured the following i) Primary node ii) Secondary node iii) Database server Then performed the postgres replication of Database S…

---

## [Missing modules on Ubuntu 16.04 after apt install of Ansible](https://forum.ansible.com/t/missing-modules-on-ubuntu-16-04-after-apt-install-of-ansible/25210)

<div class="topic-metadata">

**Author:** [@Ilhaan\_Rasheed](https://forum.ansible.com/u/Ilhaan_Rasheed)\
**Replies:** 1\
**Last updated:** [August 9, 2017, 8:49pm UTC](https://forum.ansible.com/t/missing-modules-on-ubuntu-16-04-after-apt-install-of-ansible/25210 "2017-08-09T20:49:46Z")

</div>

I followed the install instructions here to install Ansible on Ubuntu 16.04. There seems to be missing modules in this installation, here is an example: \` user@server:~$ ansible localhost -m known\_host localhost | FAI…

---

## [if one task fails on same node ansible does not execute any further task even they are working properly on it](https://forum.ansible.com/t/if-one-task-fails-on-same-node-ansible-does-not-execute-any-further-task-even-they-are-working-properly-on-it/25186)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 9, 2017, 5:20pm UTC](https://forum.ansible.com/t/if-one-task-fails-on-same-node-ansible-does-not-execute-any-further-task-even-they-are-working-properly-on-it/25186 "2017-08-09T17:20:01Z")

</div>

Hello Team, Below is the case where in first attempt when zypper code was on put first before all other tasks, It failed to excute register and copy task on \[neslds12ainfo01\],\[NESLTR10AJAWA01\] as previous zypper task fa…

---

## [Any other AIX and Linux  Ansible Users or is it only me?](https://forum.ansible.com/t/any-other-aix-and-linux-ansible-users-or-is-it-only-me/14283)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 5\
**Last updated:** [August 9, 2017, 5:09pm UTC](https://forum.ansible.com/t/any-other-aix-and-linux-ansible-users-or-is-it-only-me/14283 "2017-08-09T17:09:53Z")

</div>

I’m now looking at the user module and struggling with the use of encrypted passwords… Not that we can’t store encrypted passwords, just the way that Linux and AIX store encrypted passwords are different. Running ‘open…

---

## [Send results to localhost (ansible host)](https://forum.ansible.com/t/send-results-to-localhost-ansible-host/25206)

<div class="topic-metadata">

**Author:** [@Alyson\_Whitaker](https://forum.ansible.com/u/Alyson_Whitaker)\
**Replies:** 2\
**Last updated:** [August 9, 2017, 2:27pm UTC](https://forum.ansible.com/t/send-results-to-localhost-ansible-host/25206 "2017-08-09T14:27:54Z")

</div>

Here is what I am trying to do: Connect to \[clientservers\] and perform telnet mywebserver.com on port 443, 80, 8443 if result = ok (meaning if that port is open), then do nothing. if result = fail, then send output to …

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

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