# Archives

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

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

**Page:** 490

---

## [requests.exceptions.ConnectTimeout: HTTPConnectionPool](https://forum.ansible.com/t/requests-exceptions-connecttimeout-httpconnectionpool/24435)

<div class="topic-metadata">

**Author:** [@ramkrishnadevops25](https://forum.ansible.com/u/ramkrishnadevops25)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 6:31pm UTC](https://forum.ansible.com/t/requests-exceptions-connecttimeout-httpconnectionpool/24435 "2017-05-09T18:31:02Z")

</div>

Hi, I am running ansible playbook from centos machine to talk to windows to run basic command(ipconfig). But I am getting below error. Please help me on it. both the instance(centos & windows) are from AWS ec2. I have …

---

## [WinRM : certificate ignore option does not work from playbook](https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427)

<div class="topic-metadata">

**Author:** [@Tai\_Kedzierski](https://forum.ansible.com/u/Tai_Kedzierski)\
**Replies:** 1\
**Last updated:** [May 9, 2017, 5:56pm UTC](https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427 "2017-05-09T17:56:54Z")

</div>

Hello I’m trying to configure windows plays to ignore the self-signed certificate from the playbook, but this is not working (I get CERTIFICATE\_VERIFY\_FAILED if I rely on the playbook var) However, if I set the same op…

---

## [template module when dest is a directory](https://forum.ansible.com/t/template-module-when-dest-is-a-directory/24425)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 4\
**Last updated:** [May 9, 2017, 5:31pm UTC](https://forum.ansible.com/t/template-module-when-dest-is-a-directory/24425 "2017-05-09T17:31:41Z")

</div>

If you use the template module and the dest parameter specifies a directory, the module creates a file in the directory with the same name as the value of the src parameter. However, if you then change the source cont…

---

## [User input empty](https://forum.ansible.com/t/user-input-empty/24434)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 5:19pm UTC](https://forum.ansible.com/t/user-input-empty/24434 "2017-05-09T17:19:58Z")

</div>

Is this what you are asking? when: location != ''

---

## [run ssh command on Sonus SBC 5110 device ( only use raw module, no network module available for this device)](https://forum.ansible.com/t/run-ssh-command-on-sonus-sbc-5110-device-only-use-raw-module-no-network-module-available-for-this-device/24433)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 5:05pm UTC](https://forum.ansible.com/t/run-ssh-command-on-sonus-sbc-5110-device-only-use-raw-module-no-network-module-available-for-this-device/24433 "2017-05-09T17:05:17Z")

</div>

I'm not sure how and why, but the raw module doesn't work with some devices. In my limited experience it looks like it fails in situation where the remote is not a shell. It these circumstances you will need to use the…

---

## [Expect Works but Returns Error Code](https://forum.ansible.com/t/expect-works-but-returns-error-code/24420)

<div class="topic-metadata">

**Author:** [@Scott\_Brumley](https://forum.ansible.com/u/Scott_Brumley)\
**Replies:** 1\
**Last updated:** [May 9, 2017, 4:57pm UTC](https://forum.ansible.com/t/expect-works-but-returns-error-code/24420 "2017-05-09T16:57:51Z")

</div>

\--- - name: NSP Playbook hosts: nsp gather\_facts: no connection: local tasks: - expect: command: /usr/bin/ssh -tt killeruser@{{ inventory\_hostname }} responses: ^.\*\[p|P\]assword:\\s\*$…

---

## [Java version](https://forum.ansible.com/t/java-version/24432)

<div class="topic-metadata">

**Author:** [@sourabh\_maheshwari](https://forum.ansible.com/u/sourabh_maheshwari)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 4:36pm UTC](https://forum.ansible.com/t/java-version/24432 "2017-05-09T16:36:49Z")

</div>

Hey , I am trying to find out java version on all my host using the script

---

## [Ansible 2.2.3 FINAL released, 2.1.6rc1 and 2.3.1rc1 avaibale for testing](https://forum.ansible.com/t/ansible-2-2-3-final-released-2-1-6rc1-and-2-3-1rc1-avaibale-for-testing/24430)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 3:50pm UTC](https://forum.ansible.com/t/ansible-2-2-3-final-released-2-1-6rc1-and-2-3-1rc1-avaibale-for-testing/24430 "2017-05-09T15:50:52Z")

</div>

We are happy to announce that Ansible 2.2.3 FINAL is now available. Additionally, 2.1.6rc1 and 2.3.1rc1 are also available for testing. All of these releases address at least one CVE (listed below). Users of 2.2.x shoul…

---

## [dnsmadeeasy question](https://forum.ansible.com/t/dnsmadeeasy-question/24429)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 3:23pm UTC](https://forum.ansible.com/t/dnsmadeeasy-question/24429 "2017-05-09T15:23:21Z")

</div>

Thanks to Bruce for writing the dnsmadeeasy module. I am trying to update a TXT record that exists in dnsmadeeasy without a name within the domain. It’s a SPF record. I can’t select it, because I don’t know it’s value.…

---

## [Feature idea, issue #22473](https://forum.ansible.com/t/feature-idea-issue-22473/24428)

<div class="topic-metadata">

**Author:** [@Ankit\_Yadav](https://forum.ansible.com/u/Ankit_Yadav)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 3:15pm UTC](https://forum.ansible.com/t/feature-idea-issue-22473/24428 "2017-05-09T15:15:55Z")

</div>

Hi everyone, I want to discuss the feature idea mentioned in github issue #22473. I am planning to work on this feature but I think its a good idea to discuss it here first. Thanks! Regards, Ankit Yadav (ankity10)

---

## [Ansible Tower Unable to open in browser](https://forum.ansible.com/t/ansible-tower-unable-to-open-in-browser/24426)

<div class="topic-metadata">

**Author:** [@Dhinesh](https://forum.ansible.com/u/Dhinesh)\
**Replies:** 0\
**Last updated:** [May 9, 2017, 2:40pm UTC](https://forum.ansible.com/t/ansible-tower-unable-to-open-in-browser/24426 "2017-05-09T14:40:59Z")

</div>

I would really appreciate if any one could kindly help me in this .. I am trying to install Ansible Tower version 3.1.2 in Centos 7.2 . There was no issue in the installation but when I tried to open the Ansible Tower in…

---

## [Ansible and pexpect on redhat 6 (looking for a setup tutorial)](https://forum.ansible.com/t/ansible-and-pexpect-on-redhat-6-looking-for-a-setup-tutorial/24116)

<div class="topic-metadata">

**Author:** [@thierry.montalbano](https://forum.ansible.com/u/thierry.montalbano)\
**Replies:** 2\
**Last updated:** [May 9, 2017, 1:05pm UTC](https://forum.ansible.com/t/ansible-and-pexpect-on-redhat-6-looking-for-a-setup-tutorial/24116 "2017-05-09T13:05:20Z")

</div>

Hello, I’ve been researching this for a while now. I’m convinced the solution must be easy to find and feel pretty dumb, but I’d appreciate some input from the community here. I’m trying to use the pexpect module with …

---

## [Alternative to win\_msi](https://forum.ansible.com/t/alternative-to-win-msi/24239)

<div class="topic-metadata">

**Author:** [@Tai\_Kedzierski](https://forum.ansible.com/u/Tai_Kedzierski)\
**Replies:** 5\
**Last updated:** [May 9, 2017, 12:59pm UTC](https://forum.ansible.com/t/alternative-to-win-msi/24239 "2017-05-09T12:59:56Z")

</div>

Hello I am wanting to start maintaining a group of Windows hosts that badly need orchestration. One task is to update Java (major version) on all of them I have found the win\_msi module , but scrolling down I find that…

---

## [Help with Basic IOS Command module](https://forum.ansible.com/t/help-with-basic-ios-command-module/24397)

<div class="topic-metadata">

**Author:** [@bain](https://forum.ansible.com/u/bain)\
**Replies:** 5\
**Last updated:** [May 9, 2017, 12:32pm UTC](https://forum.ansible.com/t/help-with-basic-ios-command-module/24397 "2017-05-09T12:32:27Z")

</div>

If anyone is able to assist i would really appreciate it, I have spent hours looking around ,fixing random things and still cannot find why my script errors out on a 'type error"… /etc/ansible/cisco$ cat tasks.yml hos…

---

## [Multiple new modules](https://forum.ansible.com/t/multiple-new-modules/24377)

<div class="topic-metadata">

**Author:** [@Georgios\_Nikolopoulo](https://forum.ansible.com/u/Georgios_Nikolopoulo)\
**Replies:** 2\
**Last updated:** [May 9, 2017, 8:04am UTC](https://forum.ansible.com/t/multiple-new-modules/24377 "2017-05-09T08:04:07Z")

</div>

Hi all, I am currently developing some modules for Citrix NetScaler. You can find the repo at https://github.com/citrix/netscaler-ansible-modules It is quite a lot of code and I was wondering how to start the process …

---

## [Python Script Module](https://forum.ansible.com/t/python-script-module/24422)

<div class="topic-metadata">

**Author:** [@Scott\_Munday](https://forum.ansible.com/u/Scott_Munday)\
**Replies:** 0\
**Last updated:** [May 8, 2017, 10:58pm UTC](https://forum.ansible.com/t/python-script-module/24422 "2017-05-08T22:58:52Z")

</div>

I created a plugin I use professionally to run Python scripts within an Ansible context. Let me know what y’all think. https://github.com/ihatemundays/ansible-python-script-module

---

## [Permission problem with docker module.](https://forum.ansible.com/t/permission-problem-with-docker-module/18299)

<div class="topic-metadata">

**Author:** [@Stefan\_Eriksson](https://forum.ansible.com/u/Stefan_Eriksson)\
**Replies:** 4\
**Last updated:** [May 8, 2017, 10:38pm UTC](https://forum.ansible.com/t/permission-problem-with-docker-module/18299 "2017-05-08T22:38:39Z")

</div>

Hi I’m trying out the docker module and I want to run it without sudo as root, but dont know why I get permission errors, running locally works great. I’ve added usermod -aG docker stefan stefan@docker1:~$ groups stef…

---

## [Can't run ssh command on sonus SBC 5110 (raw command, no module available)](https://forum.ansible.com/t/cant-run-ssh-command-on-sonus-sbc-5110-raw-command-no-module-available/24421)

<div class="topic-metadata">

**Author:** [@naeem\_dhby](https://forum.ansible.com/u/naeem_dhby)\
**Replies:** 0\
**Last updated:** [May 8, 2017, 7:16pm UTC](https://forum.ansible.com/t/cant-run-ssh-command-on-sonus-sbc-5110-raw-command-no-module-available/24421 "2017-05-08T19:16:51Z")

</div>

Hi. i’m trying to run some show command with raw module on my Sonus device ( SBC 5110) but i get error in different condition: first i tried to run command with smart or default transport Here is playbook: hosts: …

---

## [using a "when" for setting environment ?](https://forum.ansible.com/t/using-a-when-for-setting-environment/24418)

<div class="topic-metadata">

**Author:** [@Stephen\_Tan](https://forum.ansible.com/u/Stephen_Tan)\
**Replies:** 1\
**Last updated:** [May 8, 2017, 6:40pm UTC](https://forum.ansible.com/t/using-a-when-for-setting-environment/24418 "2017-05-08T18:40:03Z")

</div>

Will this work? environment: http\_proxy: “{{ apt\_mirror }}” when: use\_apt\_mirror So, I only want to set the environment variable when the var “use\_apt\_mirror” is true. There is no obvious documentation to suggest tha…

---

## [playbooks log viewer](https://forum.ansible.com/t/playbooks-log-viewer/24419)

<div class="topic-metadata">

**Author:** [@Rem](https://forum.ansible.com/u/Rem)\
**Replies:** 1\
**Last updated:** [May 8, 2017, 4:42pm UTC](https://forum.ansible.com/t/playbooks-log-viewer/24419 "2017-05-08T16:42:49Z")

</div>

Hi all, I work with Ansible, and usually, collect playbooks log inside a directory: /ansible/log/logs01 each log contains the JSON output for servers, eg: hostname.domain.com.json My question is, using Callback modu…

---

## [Unreachable error](https://forum.ansible.com/t/unreachable-error/21784)

<div class="topic-metadata">

**Author:** [@navdeep\_uniyal](https://forum.ansible.com/u/navdeep_uniyal)\
**Replies:** 2\
**Last updated:** [May 8, 2017, 2:32pm UTC](https://forum.ansible.com/t/unreachable-error/21784 "2017-05-08T14:32:38Z")

</div>

Hi all, I am new to ansible. I have been learning ansible using ad hoc commands as well as ansible playbooks. Things were running fine until I started getting errors as given below. I have no idea how to resolve these e…

---

## [unicode object has no attribute](https://forum.ansible.com/t/unicode-object-has-no-attribute/24416)

<div class="topic-metadata">

**Author:** [@Steven\_Rhodes](https://forum.ansible.com/u/Steven_Rhodes)\
**Replies:** 0\
**Last updated:** [May 8, 2017, 3:36am UTC](https://forum.ansible.com/t/unicode-object-has-no-attribute/24416 "2017-05-08T03:36:27Z")

</div>

I am trying to understand the error message “ERROR! ‘unicode object’ has no attribute ‘subnets’” As shown as an example at https://docs.ansible.com/ansible/ec2\_vpc\_subnet\_facts\_module.html My Code: — # EC2 VPC hosts…

---

## [ansible error HTTPSConnectionPool](https://forum.ansible.com/t/ansible-error-httpsconnectionpool/24405)

<div class="topic-metadata">

**Author:** [@Rahul\_Singh\_Rawat](https://forum.ansible.com/u/Rahul_Singh_Rawat)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 10:39pm UTC](https://forum.ansible.com/t/ansible-error-httpsconnectionpool/24405 "2017-05-07T22:39:07Z")

</div>

Hi Team, Inventory file :- /hosts \[windows\] 10.0.46.197 when running the ansible windows -i hosts -m win\_ping i am getting below error however if i am trying for other windows host machine i am getting success messag…

---

## [Requesting modules to manage Github/Bitbucket/Gitlab deploy keys](https://forum.ansible.com/t/requesting-modules-to-manage-github-bitbucket-gitlab-deploy-keys/23359)

<div class="topic-metadata">

**Author:** [@Ali\_I](https://forum.ansible.com/u/Ali_I)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 8:20pm UTC](https://forum.ansible.com/t/requesting-modules-to-manage-github-bitbucket-gitlab-deploy-keys/23359 "2017-05-07T20:20:37Z")

</div>

Previously, issue 2626 was opened in the ansible-modules-core repository requesting a module for managing Github deploy keys, but it was never developed. Currently, this can be accomplished using the uri module, however…

---

## [Add 2 CLI options --list-tasks-json and --list-tasks-with-path](https://forum.ansible.com/t/add-2-cli-options-list-tasks-json-and-list-tasks-with-path/24298)

<div class="topic-metadata">

**Author:** [@Corey\_Quon](https://forum.ansible.com/u/Corey_Quon)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 6:29pm UTC](https://forum.ansible.com/t/add-2-cli-options-list-tasks-json-and-list-tasks-with-path/24298 "2017-05-07T18:29:17Z")

</div>

I would like to add a couple of CLI options to “ansible-playbook” to help with some integration: Reasoning: For some integration, we would like to have a unique way to identify every task in an ansible playbook, howeve…

---

## [Jinja2 sort filter and Python 3](https://forum.ansible.com/t/jinja2-sort-filter-and-python-3/24412)

<div class="topic-metadata">

**Author:** [@Sergey\_Baranov](https://forum.ansible.com/u/Sergey_Baranov)\
**Replies:** 0\
**Last updated:** [May 7, 2017, 6:01pm UTC](https://forum.ansible.com/t/jinja2-sort-filter-and-python-3/24412 "2017-05-07T18:01:29Z")

</div>

\` \` Hi everyone! I’m using this jinja2 macro for xml configs: \` {%- macro print\_opts(options, indent=’ ', count=0) %} {% for key in options.keys() | sort2 %} {% set value = options\[key\] %} {% if value is string %…

---

## [run playbook in Ansible v2 with python](https://forum.ansible.com/t/run-playbook-in-ansible-v2-with-python/24410)

<div class="topic-metadata">

**Author:** [@ESWAR\_RAO](https://forum.ansible.com/u/ESWAR_RAO)\
**Replies:** 0\
**Last updated:** [May 7, 2017, 12:22pm UTC](https://forum.ansible.com/t/run-playbook-in-ansible-v2-with-python/24410 "2017-05-07T12:22:43Z")

</div>

Hi All, I am trying to invoke ansible playbook V2 from python modules. I am following below link: (1) http://docs.ansible.com/ansible/dev\_guide/developing\_api.html (2) http://stackoverflow.com/questions/37783145/how-…

---

## [A tool to help you visualize, understand and troubleshoot your playbook runs: ARA - Ansible Run Analysis](https://forum.ansible.com/t/a-tool-to-help-you-visualize-understand-and-troubleshoot-your-playbook-runs-ara-ansible-run-analysis/24408)

<div class="topic-metadata">

**Author:** [@rfc2549](https://forum.ansible.com/u/rfc2549)\
**Replies:** 2\
**Last updated:** [May 6, 2017, 8:38pm UTC](https://forum.ansible.com/t/a-tool-to-help-you-visualize-understand-and-troubleshoot-your-playbook-runs-ara-ansible-run-analysis/24408 "2017-05-06T20:38:44Z")

</div>

Hi there ! I’m the author of a project called ARA: Ansible Run Analysis. I’m here to tell you about an awesome new version of ARA that was just released and I’ve highlighted the best parts in a blog post: https://dmsi…

---

## [how do I use ios\_config to change configuration to default?](https://forum.ansible.com/t/how-do-i-use-ios-config-to-change-configuration-to-default/24311)

<div class="topic-metadata">

**Author:** [@John\_Z](https://forum.ansible.com/u/John_Z)\
**Replies:** 1\
**Last updated:** [May 6, 2017, 12:32am UTC](https://forum.ansible.com/t/how-do-i-use-ios-config-to-change-configuration-to-default/24311 "2017-05-06T00:32:47Z")

</div>

How do I use ios\_config to delete configuration but only if it is present? I want ios\_config to update many devices to conform to a standard template. It will have to delete configuration as well as add it. I don’t want …

---

## [Invoke Jinja2 template in a custom module](https://forum.ansible.com/t/invoke-jinja2-template-in-a-custom-module/24409)

<div class="topic-metadata">

**Author:** [@Rama\_Krishna](https://forum.ansible.com/u/Rama_Krishna)\
**Replies:** 0\
**Last updated:** [May 6, 2017, 12:24am UTC](https://forum.ansible.com/t/invoke-jinja2-template-in-a-custom-module/24409 "2017-05-06T00:24:03Z")

</div>

Hi Fellas, I’m trying to invoke jinja2 template to a custom module, but it end up i get only a string of file name instead of calling ansible container to get the jinja2 output. On debug i see, when the default modules…

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

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