# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=479

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

**Page:** 480

---

## [how can we import terminal output of specific task/variable/message/debug in a excel sheet ?](https://forum.ansible.com/t/how-can-we-import-terminal-output-of-specific-task-variable-message-debug-in-a-excel-sheet/24727)

<div class="topic-metadata">

**Author:** [@Gurminder\_Singh](https://forum.ansible.com/u/Gurminder_Singh)\
**Replies:** 1\
**Last updated:** [June 15, 2017, 4:47am UTC](https://forum.ansible.com/t/how-can-we-import-terminal-output-of-specific-task-variable-message-debug-in-a-excel-sheet/24727 "2017-06-15T04:47:36Z")

</div>

how can we import terminal output of specific task/variable/message/debug in a excel sheet ?

---

## [Ansible (2.3.1) python module rds creation via boto3 works but get "msg": "MODULE FAILURE"](https://forum.ansible.com/t/ansible-2-3-1-python-module-rds-creation-via-boto3-works-but-get-msg-module-failure/24730)

<div class="topic-metadata">

**Author:** [@Chris\_McConnell](https://forum.ansible.com/u/Chris_McConnell)\
**Replies:** 0\
**Last updated:** [June 14, 2017, 11:27pm UTC](https://forum.ansible.com/t/ansible-2-3-1-python-module-rds-creation-via-boto3-works-but-get-msg-module-failure/24730 "2017-06-14T23:27:19Z")

</div>

Hello All, Disclaimer this is my first Ansible (python) module. I had posted previously in the ansible-project group and it was suggested to post here in the ansible-devel instead. I wrote a python modules for our int…

---

## [Ansible (ver 2.3.1) python module with boto3 successful but always get "msg": "MODULE FAILURE", "rc": 0](https://forum.ansible.com/t/ansible-ver-2-3-1-python-module-with-boto3-successful-but-always-get-msg-module-failure-rc-0/24675)

<div class="topic-metadata">

**Author:** [@Chris\_McConnell](https://forum.ansible.com/u/Chris_McConnell)\
**Replies:** 2\
**Last updated:** [June 14, 2017, 11:10pm UTC](https://forum.ansible.com/t/ansible-ver-2-3-1-python-module-with-boto3-successful-but-always-get-msg-module-failure-rc-0/24675 "2017-06-14T23:10:35Z")

</div>

Hello All, Disclaimer this is my first Ansible (python) module. I wrote for it for AWS RDS instance creation (because currently the ansible RDS module only provisions instances with magnetic media and we require gp2/ss…

---

## [Using with\_subelements, cannot reference dict item's key (v 2.2.0)](https://forum.ansible.com/t/using-with-subelements-cannot-reference-dict-items-key-v-2-2-0/21891)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 8\
**Last updated:** [June 14, 2017, 8:07pm UTC](https://forum.ansible.com/t/using-with-subelements-cannot-reference-dict-items-key-v-2-2-0/21891 "2017-06-14T20:07:42Z")

</div>

Here’s my version: ansible 2.2.0 (devel 87928ff56b) last updated 2016/06/22 13:32:23 (GMT -500) I’m not sure if this is a bug, or misplaced syntax. When I attempt to use a dictionary, referencing the key of the dictiona…

---

## [Module ec2\_ami\_find does not return data](https://forum.ansible.com/t/module-ec2-ami-find-does-not-return-data/24728)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 1\
**Last updated:** [June 14, 2017, 6:44pm UTC](https://forum.ansible.com/t/module-ec2-ami-find-does-not-return-data/24728 "2017-06-14T18:44:39Z")

</div>

I am able to spin up servers with the ‘ec2’ module. I’m running Ansible 2.3.1.0 from source on Ubuntu. ╰─➤ dpkg -l | grep -i boto 2 ↵ ii python-boto 2.40.0-1ubuntu1 all Python interface to Amazon’s Web Services - Pytho…

---

## [how to count success and failure of a task ?](https://forum.ansible.com/t/how-to-count-success-and-failure-of-a-task/24698)

<div class="topic-metadata">

**Author:** [@Gurminder\_Singh](https://forum.ansible.com/u/Gurminder_Singh)\
**Replies:** 4\
**Last updated:** [June 14, 2017, 4:02pm UTC](https://forum.ansible.com/t/how-to-count-success-and-failure-of-a-task/24698 "2017-06-14T16:02:37Z")

</div>

Hi Guys, I am verifying Cisco IOS image via this playbook, this runs great. However, I would like to add a count on successful and failure of the task I run. How can I achieve that? For eg. I have 100 devices to verify…

---

## [Ansible Contributor Summit 4 (Part of AnsibleFest 2017 London)](https://forum.ansible.com/t/ansible-contributor-summit-4-part-of-ansiblefest-2017-london/24502)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 2\
**Last updated:** [June 14, 2017, 3:21pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-4-part-of-ansiblefest-2017-london/24502 "2017-06-14T15:21:40Z")

</div>

Hi, We are happy to announce our fourth Ansible Contributors Summit! AnsibleFest London (http://www.ansible.com/ansiblefest) will be on Thursday 22nd June, and the Contributor Summit will be held on Wednesday 21st June…

---

## [Splitting a variable length list into a list of lists](https://forum.ansible.com/t/splitting-a-variable-length-list-into-a-list-of-lists/24716)

<div class="topic-metadata">

**Author:** [@Ed1](https://forum.ansible.com/u/Ed1)\
**Replies:** 3\
**Last updated:** [June 14, 2017, 3:06pm UTC](https://forum.ansible.com/t/splitting-a-variable-length-list-into-a-list-of-lists/24716 "2017-06-14T15:06:27Z")

</div>

Greetings, I’d like to take a list (of varying size) and split it into a list of lists, where each sub-list is at most N elements. I’m not certain where to start on this one. Advice welcome. The background is that I’ve…

---

## [Enforcing multiple parameters in a Module](https://forum.ansible.com/t/enforcing-multiple-parameters-in-a-module/24719)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 1\
**Last updated:** [June 14, 2017, 2:53pm UTC](https://forum.ansible.com/t/enforcing-multiple-parameters-in-a-module/24719 "2017-06-14T14:53:46Z")

</div>

I’m developing a Module and am trying to work out how to ensure my module gets the parameters it needs. There are two separate parameters, lets call them A and B. My Module requires that either just A is supplied, or ju…

---

## [Getting an error message: ' Unable to open shell, rc:255'](https://forum.ansible.com/t/getting-an-error-message-unable-to-open-shell-rc-255/24726)

<div class="topic-metadata">

**Author:** [@Harsheen\_Khandpur](https://forum.ansible.com/u/Harsheen_Khandpur)\
**Replies:** 0\
**Last updated:** [June 14, 2017, 2:36pm UTC](https://forum.ansible.com/t/getting-an-error-message-unable-to-open-shell-rc-255/24726 "2017-06-14T14:36:07Z")

</div>

Hi , I am getting this error message and the logs are not showing anything different. I have used the ping and shell module separately to test the connection and it works. Please suggest a solution.

---

## [how to override entry in a dictionary](https://forum.ansible.com/t/how-to-override-entry-in-a-dictionary/24721)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 1\
**Last updated:** [June 14, 2017, 2:30pm UTC](https://forum.ansible.com/t/how-to-override-entry-in-a-dictionary/24721 "2017-06-14T14:30:17Z")

</div>

hi assuming a have some dictionary variables defined in some group\_vars location: level0: level1-a: somevalue: aaa someothervalue: 111 level1-b: somevalue: bbb someothervalue: 222 level1-c: somevalue: ccc some…

---

## [Ansible Role Variables as Defaults](https://forum.ansible.com/t/ansible-role-variables-as-defaults/24725)

<div class="topic-metadata">

**Author:** [@sdarwin](https://forum.ansible.com/u/sdarwin)\
**Replies:** 0\
**Last updated:** [June 14, 2017, 11:43am UTC](https://forum.ansible.com/t/ansible-role-variables-as-defaults/24725 "2017-06-14T11:43:11Z")

</div>

Hi, A problem I have often encountered when writing Ansible Roles is that the precedence level of “vars” prevents overriding them - in group\_vars, inventory, etc. Perhaps this can be a solution, a set\_fact task which c…

---

## [Unable to set hostnames with their Ip adresses in inventory file](https://forum.ansible.com/t/unable-to-set-hostnames-with-their-ip-adresses-in-inventory-file/24724)

<div class="topic-metadata">

**Author:** [@fatimazahra.bouhajba](https://forum.ansible.com/u/fatimazahra.bouhajba)\
**Replies:** 0\
**Last updated:** [June 14, 2017, 10:40am UTC](https://forum.ansible.com/t/unable-to-set-hostnames-with-their-ip-adresses-in-inventory-file/24724 "2017-06-14T10:40:18Z")

</div>

Hi All, I’m new to ansible. I’am trying to backup juniper routers configurations, i tried the following Yaml Script:

---

## [Ansible: Need to send the text message (SMS) via ansible using the “Nexmo”. Getting below error](https://forum.ansible.com/t/ansible-need-to-send-the-text-message-sms-via-ansible-using-the-nexmo-getting-below-error/24548)

<div class="topic-metadata">

**Author:** [@nishant\_bawane](https://forum.ansible.com/u/nishant_bawane)\
**Replies:** 4\
**Last updated:** [June 14, 2017, 10:09am UTC](https://forum.ansible.com/t/ansible-need-to-send-the-text-message-sms-via-ansible-using-the-nexmo-getting-below-error/24548 "2017-06-14T10:09:09Z")

</div>

Below is the playbook which is used to send the messages to the registered numbers using nexmo. Please suggests what needs to be done to overcome this error - No which i used are registered one and same with the api inpu…

---

## [Ansible role: test/test.yml](https://forum.ansible.com/t/ansible-role-test-test-yml/24720)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 0\
**Last updated:** [June 14, 2017, 9:48am UTC](https://forum.ansible.com/t/ansible-role-test-test-yml/24720 "2017-06-14T09:48:21Z")

</div>

Hi, When initiating a role I noticed that there is a test folder being created with test.yml in it. When I run my roles in production environments, I always run roles by creating a playbook with the following contents: …

---

## [ec2 inventory script broke with 'module' object has no attribute 'boto3\_inventory\_conn'](https://forum.ansible.com/t/ec2-inventory-script-broke-with-module-object-has-no-attribute-boto3-inventory-conn/24655)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 5\
**Last updated:** [June 14, 2017, 1:55am UTC](https://forum.ansible.com/t/ec2-inventory-script-broke-with-module-object-has-no-attribute-boto3-inventory-conn/24655 "2017-06-14T01:55:14Z")

</div>

Hello, I am running Ubuntu 16.04 w/Ansible 2.0.0.2-2ubuntu1. /etc/ansible$ wget https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/ec2.py /etc/ansible$ wget https://raw.githubusercontent.com/ans…

---

## [EFS module - subnet does not exist (nondefault VPC)](https://forum.ansible.com/t/efs-module-subnet-does-not-exist-nondefault-vpc/24717)

<div class="topic-metadata">

**Author:** [@Will\_Button](https://forum.ansible.com/u/Will_Button)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 9:47pm UTC](https://forum.ansible.com/t/efs-module-subnet-does-not-exist-nondefault-vpc/24717 "2017-06-13T21:47:37Z")

</div>

ansible - v2.3.0 boto3 - v1.4.4 I’m trying to create an EFS share in a non-default VPC in AWS. name: Create EFS share efs: state: present name: “my\_happy\_efs\_share” tags: name: “my\_happy\_efs\_share” targets: sub…

---

## [Role dependencies not being installed automatically](https://forum.ansible.com/t/role-dependencies-not-being-installed-automatically/24714)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 4\
**Last updated:** [June 13, 2017, 5:41pm UTC](https://forum.ansible.com/t/role-dependencies-not-being-installed-automatically/24714 "2017-06-13T17:41:31Z")

</div>

Hi all, I have created a role and want some role dependencies to automatically be installed when running my own role. For instance, this is my dependency in ./meta/main.yml: \` dependencies: geerlingguy.php \` But w…

---

## [ConnectUnknownHostError](https://forum.ansible.com/t/connectunknownhosterror/24713)

<div class="topic-metadata">

**Author:** [@fatimazahra.bouhajba](https://forum.ansible.com/u/fatimazahra.bouhajba)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 3:33pm UTC](https://forum.ansible.com/t/connectunknownhosterror/24713 "2017-06-13T15:33:35Z")

</div>

Hi All, I’m new to ansible. I’am trying to backup juniper routers configurations, i tried the following Yaml Script:

---

## [Register command with CloudStack modules](https://forum.ansible.com/t/register-command-with-cloudstack-modules/24665)

<div class="topic-metadata">

**Author:** [@David\_Rose](https://forum.ansible.com/u/David_Rose)\
**Replies:** 1\
**Last updated:** [June 13, 2017, 3:20pm UTC](https://forum.ansible.com/t/register-command-with-cloudstack-modules/24665 "2017-06-13T15:20:16Z")

</div>

Hello all! Can somone explain to me how ‘register’ works? I can not seem to use it with cs\_firewall module. I’m trying to understand how to register to a variable the details of a VM that has been instantiated by using …

---

## [Ansible 2.2 not respecting ssh.cfg](https://forum.ansible.com/t/ansible-2-2-not-respecting-ssh-cfg/24712)

<div class="topic-metadata">

**Author:** [@barrett](https://forum.ansible.com/u/barrett)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 2:55pm UTC](https://forum.ansible.com/t/ansible-2-2-not-respecting-ssh-cfg/24712 "2017-06-13T14:55:36Z")

</div>

I am using a dynamic inventory. The build inventory returns hosts vars with the following inventory\_hostname= jenkins-0.build.vnet ansible\_host=y.y.y.y (There are private ips) I also have x.x.x.x = The public ip of t…

---

## [asa\_config issue](https://forum.ansible.com/t/asa-config-issue/24640)

<div class="topic-metadata">

**Author:** [@Michael\_Lee](https://forum.ansible.com/u/Michael_Lee)\
**Replies:** 1\
**Last updated:** [June 13, 2017, 12:53pm UTC](https://forum.ansible.com/t/asa-config-issue/24640 "2017-06-13T12:53:55Z")

</div>

Hi, There: I have problem to run ansible-playbook for Cisco ASA, and I manage sent user directly to enable mode by enable following command on ASA. aaa authorization exec authentication-server auto-enable The yaml fi…

---

## [unable to set spot block duration using wait: true and wait\_time in ansible](https://forum.ansible.com/t/unable-to-set-spot-block-duration-using-wait-true-and-wait-time-in-ansible/24710)

<div class="topic-metadata">

**Author:** [@Nilesh\_Devare](https://forum.ansible.com/u/Nilesh_Devare)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 11:50am UTC](https://forum.ansible.com/t/unable-to-set-spot-block-duration-using-wait-true-and-wait-time-in-ansible/24710 "2017-06-13T11:50:29Z")

</div>

unable to set spot block duration using wait: true and wait\_time in ansible hosts: localhost connection: local gather\_facts: false tasks: name: launch spot instance ec2: spot\_price: 0.052 region: us-east-1 ke…

---

## [spot instance block duration  not working in ansible](https://forum.ansible.com/t/spot-instance-block-duration-not-working-in-ansible/24709)

<div class="topic-metadata">

**Author:** [@Nilesh\_Devare](https://forum.ansible.com/u/Nilesh_Devare)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 11:46am UTC](https://forum.ansible.com/t/spot-instance-block-duration-not-working-in-ansible/24709 "2017-06-13T11:46:24Z")

</div>

Hi unable to create aws spot instance with new feature spot block duration we tried to use wait: true but its not working any help please find below yml hosts: localhost connection: local gather\_facts: false tasks: …

---

## [Pre-Bug report question](https://forum.ansible.com/t/pre-bug-report-question/24708)

<div class="topic-metadata">

**Author:** [@LeamHall](https://forum.ansible.com/u/LeamHall)\
**Replies:** 1\
**Last updated:** [June 13, 2017, 10:58am UTC](https://forum.ansible.com/t/pre-bug-report-question/24708 "2017-06-13T10:58:57Z")

</div>

In running an old playbook there were deprecation warnings about always\_on. \[DEPRECATION WARNING\]: always\_run is deprecated. Use check\_mode = no instead… There are two very small issues with this; the double periods at…

---

## [Running Certain commands via activates hardware watchdog](https://forum.ansible.com/t/running-certain-commands-via-activates-hardware-watchdog/24707)

<div class="topic-metadata">

**Author:** [@Satyam\_Mishra](https://forum.ansible.com/u/Satyam_Mishra)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 10:08am UTC](https://forum.ansible.com/t/running-certain-commands-via-activates-hardware-watchdog/24707 "2017-06-13T10:08:52Z")

</div>

Hi, I am installing infinidb database on my machine. I have used shell module to run certain commands: Part of playbook:

---

## [unarchive issue when files have special characters in their name](https://forum.ansible.com/t/unarchive-issue-when-files-have-special-characters-in-their-name/24706)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 0\
**Last updated:** [June 13, 2017, 9:33am UTC](https://forum.ansible.com/t/unarchive-issue-when-files-have-special-characters-in-their-name/24706 "2017-06-13T09:33:40Z")

</div>

Hello, I do run the unarchive module to unzip a file, I have an issue because the archive file contains a file name with a special character: ô “rc”: 0}, “failed”: true, “gid”: 1000, “group”: “shr\_users”, “handler”: “Z…

---

## [Query on connecting remote windows servers from powershell server via ansible.](https://forum.ansible.com/t/query-on-connecting-remote-windows-servers-from-powershell-server-via-ansible/23118)

<div class="topic-metadata">

**Author:** [@Rajesh\_N](https://forum.ansible.com/u/Rajesh_N)\
**Replies:** 3\
**Last updated:** [June 13, 2017, 6:47am UTC](https://forum.ansible.com/t/query-on-connecting-remote-windows-servers-from-powershell-server-via-ansible/23118 "2017-06-13T06:47:27Z")

</div>

Dear All, I have an query/issue. If i try the same thing via ansible, i get an error. Executing just Invoke-command -computer -ScriptBlock {Get-Service} or New-PSSession -ComputerName Enter-PSSession -ComputerNam…

---

## [Error while evaluating conditional](https://forum.ansible.com/t/error-while-evaluating-conditional/24500)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 3\
**Last updated:** [June 13, 2017, 3:03am UTC](https://forum.ansible.com/t/error-while-evaluating-conditional/24500 "2017-06-13T03:03:09Z")

</div>

Any idea why would Ansible error on this? fatal: \[localhost\] =\> error while evaluating conditional: ‘does not exist’ in volume\_info.stderr and “10.99.4.236” == “10.99.3.195” FATAL: all hosts have already failed – abort…

---

## [NTLM Auth fails for WinRM](https://forum.ansible.com/t/ntlm-auth-fails-for-winrm/24688)

<div class="topic-metadata">

**Author:** [@Jim\_Heald](https://forum.ansible.com/u/Jim_Heald)\
**Replies:** 3\
**Last updated:** [June 12, 2017, 9:55pm UTC](https://forum.ansible.com/t/ntlm-auth-fails-for-winrm/24688 "2017-06-12T21:55:51Z")

</div>

So I am running into a very strange issue. Using ntlm I cannot get any successful authentication through Ansible – even with the local admin user, which works over SSL. I have tried following the steps here to no avail.…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=478)

[Next page](https://forum.ansible.com/c/archives/31.md?page=480)
