# Archives

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

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

**Page:** 568

---

## [new module for ansible-modules-extras - chage](https://forum.ansible.com/t/new-module-for-ansible-modules-extras-chage/22171)

<div class="topic-metadata">

**Author:** [@John\_Buxton](https://forum.ansible.com/u/John_Buxton)\
**Replies:** 0\
**Last updated:** [July 30, 2016, 1:16pm UTC](https://forum.ansible.com/t/new-module-for-ansible-modules-extras-chage/22171 "2016-07-30T13:16:15Z")

</div>

Hello, I have a module which I would like to contribute to ansible-modules-extras. I would also be happy to play a role in supporting this module in the future. The Ansible community information page suggests it’s best…

---

## [Trouble Setting Directory Ownership On Ubuntu 14.04 Virtualbox](https://forum.ansible.com/t/trouble-setting-directory-ownership-on-ubuntu-14-04-virtualbox/22169)

<div class="topic-metadata">

**Author:** [@Kyle\_Willis](https://forum.ansible.com/u/Kyle_Willis)\
**Replies:** 0\
**Last updated:** [July 30, 2016, 12:23am UTC](https://forum.ansible.com/t/trouble-setting-directory-ownership-on-ubuntu-14-04-virtualbox/22169 "2016-07-30T00:23:41Z")

</div>

I am trying to define the ownership for a directory located in a Ubuntu 14.04 Virtual machine, which was created with vagrant and provisioned using Ansible. The approach I’m currently using results in no change to the di…

---

## [ERROR! 'ignore\_errrors' is not a valid attribute for a Task](https://forum.ansible.com/t/error-ignore-errrors-is-not-a-valid-attribute-for-a-task/22167)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 2\
**Last updated:** [July 29, 2016, 9:42pm UTC](https://forum.ansible.com/t/error-ignore-errrors-is-not-a-valid-attribute-for-a-task/22167 "2016-07-29T21:42:14Z")

</div>

Hello, I have a task that looks like this: \` We need to ignore errors because links won’t all be there. name: migrate group-owned staff files to new GIDs shell: “find /home/staff -gid {{item.0.gid}} -exec chgrp {{it…

---

## [Error while building docker image](https://forum.ansible.com/t/error-while-building-docker-image/19346)

<div class="topic-metadata">

**Author:** [@Darvin\_Denmian](https://forum.ansible.com/u/Darvin_Denmian)\
**Replies:** 2\
**Last updated:** [July 29, 2016, 8:24pm UTC](https://forum.ansible.com/t/error-while-building-docker-image/19346 "2016-07-29T20:24:18Z")

</div>

Hi guys, I’m facing a weird problem when trying to build a docker image, this is the basic workflow: I successfully build a docker image called “accounts-skeleton” … name: “Accounts: building Accounts Skeleton ima…

---

## [Ansible Contributor Summit (27 July) - Information and remote participation details](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22094)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron2](https://forum.ansible.com/u/Robyn_Bergeron2)\
**Replies:** 3\
**Last updated:** [July 29, 2016, 8:22pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22094 "2016-07-29T20:22:03Z")

</div>

Greetings! In case you haven’t heard: The Ansible Contributor Summit will be happening this coming Wednesday, 27 July, the day before AnsibleFest in San Francisco. Similar to our last Contributor Summit, we’ll be having…

---

## [Safe method to resize existing filesystem](https://forum.ansible.com/t/safe-method-to-resize-existing-filesystem/22153)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 2\
**Last updated:** [July 29, 2016, 7:56pm UTC](https://forum.ansible.com/t/safe-method-to-resize-existing-filesystem/22153 "2016-07-29T19:56:48Z")

</div>

I was looking at the filesystem module today, hoping to use it to resize a filesystem that is living in a logical volume. However, I am not sure how to use it safely so it doesn’t create a filesystem. Has anyone used the…

---

## [win\_msi not installig the msi package](https://forum.ansible.com/t/win-msi-not-installig-the-msi-package/22124)

<div class="topic-metadata">

**Author:** [@megha\_sharma](https://forum.ansible.com/u/megha_sharma)\
**Replies:** 3\
**Last updated:** [July 29, 2016, 4:20pm UTC](https://forum.ansible.com/t/win-msi-not-installig-the-msi-package/22124 "2016-07-29T16:20:59Z")

</div>

Hi, I am using Ansible 2.1.0.0 and trying to run the below playbook name: Install 7 zip win\_msi: extra\_args: “/quiet” path: ‘C:\\path\\7z1602-x64.msi’ state: present Output: TASK \[Install 7 zip\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Missed hosts on playbook run](https://forum.ansible.com/t/missed-hosts-on-playbook-run/22163)

<div class="topic-metadata">

**Author:** [@Bill\_Carlson](https://forum.ansible.com/u/Bill_Carlson)\
**Replies:** 0\
**Last updated:** [July 29, 2016, 2:39pm UTC](https://forum.ansible.com/t/missed-hosts-on-playbook-run/22163 "2016-07-29T14:39:58Z")

</div>

Hello all, Currently running v2.1.0, have noted several times where hosts are missing in a playbook run. No failure, no error for those hosts, no mention at all. It’s also random which hosts get missed. One common ite…

---

## [Issue while running ansible-playbook.](https://forum.ansible.com/t/issue-while-running-ansible-playbook/22133)

<div class="topic-metadata">

**Author:** [@navdeep\_uniyal](https://forum.ansible.com/u/navdeep_uniyal)\
**Replies:** 1\
**Last updated:** [July 29, 2016, 11:40am UTC](https://forum.ansible.com/t/issue-while-running-ansible-playbook/22133 "2016-07-29T11:40:02Z")

</div>

I am very new to ansible and have been trying to deploy a VM on openstack testbed using ansible. I am getting the error: “fatal: \[localhost\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “python-novaclient is req…

---

## [ansible azure module - attach disk or resize vhd (Linux)](https://forum.ansible.com/t/ansible-azure-module-attach-disk-or-resize-vhd-linux/22161)

<div class="topic-metadata">

**Author:** [@nilgun\_celik](https://forum.ansible.com/u/nilgun_celik)\
**Replies:** 0\
**Last updated:** [July 29, 2016, 8:06am UTC](https://forum.ansible.com/t/ansible-azure-module-attach-disk-or-resize-vhd-linux/22161 "2016-07-29T08:06:09Z")

</div>

Hi there, I have been trying to expand the default 30GB image size for Ubuntu 14.04 image on Azure store. Normally I attach a secondary data disk to my vm instance and mount it afterwards. Another option would be to r…

---

## [run command on several nodes, but run another command on first node](https://forum.ansible.com/t/run-command-on-several-nodes-but-run-another-command-on-first-node/22152)

<div class="topic-metadata">

**Author:** [@kfrydrys\_ILIM](https://forum.ansible.com/u/kfrydrys_ILIM)\
**Replies:** 1\
**Last updated:** [July 29, 2016, 7:59am UTC](https://forum.ansible.com/t/run-command-on-several-nodes-but-run-another-command-on-first-node/22152 "2016-07-29T07:59:24Z")

</div>

Hi, I want to use ansible to start MariaDB/GaleraCluster I need to run /usr/bin/mysqld\_safe --wsrep-new-cluster & on the one of the nodes first (there is no important it node1, or node4). next I want to run sys…

---

## [Change exit code of ansible-playbook if there are any changes](https://forum.ansible.com/t/change-exit-code-of-ansible-playbook-if-there-are-any-changes/22145)

<div class="topic-metadata">

**Author:** [@Lukasz\_Gorski](https://forum.ansible.com/u/Lukasz_Gorski)\
**Replies:** 2\
**Last updated:** [July 29, 2016, 7:26am UTC](https://forum.ansible.com/t/change-exit-code-of-ansible-playbook-if-there-are-any-changes/22145 "2016-07-29T07:26:36Z")

</div>

Hi, is there any sensible option to make ansible-playbook exit with non-0 exit code if there are any changes to be made to target hosts? The rationale for this is: we want to start using Jenkins to test if our producti…

---

## [Make sure your variable name does not contain invalid characters like '-'](https://forum.ansible.com/t/make-sure-your-variable-name-does-not-contain-invalid-characters-like/22160)

<div class="topic-metadata">

**Author:** [@Omkar\_Jadhav](https://forum.ansible.com/u/Omkar_Jadhav)\
**Replies:** 0\
**Last updated:** [July 29, 2016, 6:36am UTC](https://forum.ansible.com/t/make-sure-your-variable-name-does-not-contain-invalid-characters-like/22160 "2016-07-29T06:36:13Z")

</div>

Hi, I am using ansible version 2.1.0.0 and part of my code is : \` shell: /etc/init.d/named restart when: (‘FAILED’ not in zoneconfig.stdout) and (‘neither’ not in zoneconfig.stdout) and (‘FAILED’ not in echofail.st…

---

## [Ansible paybook error : Make sure your variable name does not contain invalid characters like '-'](https://forum.ansible.com/t/ansible-paybook-error-make-sure-your-variable-name-does-not-contain-invalid-characters-like/22159)

<div class="topic-metadata">

**Author:** [@Omkar\_Jadhav](https://forum.ansible.com/u/Omkar_Jadhav)\
**Replies:** 0\
**Last updated:** [July 29, 2016, 6:03am UTC](https://forum.ansible.com/t/ansible-paybook-error-make-sure-your-variable-name-does-not-contain-invalid-characters-like/22159 "2016-07-29T06:03:16Z")

</div>

HI, I am using Ansible - 2.1.0.0. part of my code is as below \` shell: /etc/init.d/named restart when: (‘FAILED’ not in zoneconfig.stdout) and (‘neither’ not in zoneconfig.stdout) and (‘FAILED’ not in echofail.stdo…

---

## [modules apt: only\_upgrade fail](https://forum.ansible.com/t/modules-apt-only-upgrade-fail/22071)

<div class="topic-metadata">

**Author:** [@richard934935](https://forum.ansible.com/u/richard934935)\
**Replies:** 7\
**Last updated:** [July 29, 2016, 2:40am UTC](https://forum.ansible.com/t/modules-apt-only-upgrade-fail/22071 "2016-07-29T02:40:14Z")

</div>

Hello, Having either apt: only\_upgrade=docker-engine in my playbook or running it on the command line as ansible all --sudo -m apt -a ‘only\_upgrade=docker-engine’ fails with xx.xxx.xx.xxx | FAILED! =\> { "changed": fals…

---

## [how to compare two dates (possibly in different format) in jinja2 templates ?](https://forum.ansible.com/t/how-to-compare-two-dates-possibly-in-different-format-in-jinja2-templates/22155)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 6:23pm UTC](https://forum.ansible.com/t/how-to-compare-two-dates-possibly-in-different-format-in-jinja2-templates/22155 "2016-07-28T18:23:34Z")

</div>

I am writing a template in which the warning output is generated if the winRM certificate of target windows host is going to expire in 1 month. I just don’t see a way how can i compare two dates in jinja2 template. I ha…

---

## [Ansible 2.1.1.0-1 FINAL has been released!](https://forum.ansible.com/t/ansible-2-1-1-0-1-final-has-been-released/22154)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 6:22pm UTC](https://forum.ansible.com/t/ansible-2-1-1-0-1-final-has-been-released/22154 "2016-07-28T18:22:01Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.1.1 has been released! This release fixes many bugs, summarized here from previous RC emails: Fixed some bugs in variable dependency resolution. These were mainly re…

---

## [ssl: auth method ssl requires a password](https://forum.ansible.com/t/ssl-auth-method-ssl-requires-a-password/22149)

<div class="topic-metadata">

**Author:** [@Arun\_John\_Varughese](https://forum.ansible.com/u/Arun_John_Varughese)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 2:02pm UTC](https://forum.ansible.com/t/ssl-auth-method-ssl-requires-a-password/22149 "2016-07-28T14:02:28Z")

</div>

Hi, While trying to connect to a windows VM through Ansible I get this issue: TASK \[setup\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \<10.xx.xx.xx\> ESTABLISH WINRM CONNECTION FOR USER: winad-a…

---

## [ssl: auth method ssl requires a password](https://forum.ansible.com/t/ssl-auth-method-ssl-requires-a-password/22148)

<div class="topic-metadata">

**Author:** [@Arun\_John\_Varughese](https://forum.ansible.com/u/Arun_John_Varughese)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 1:55pm UTC](https://forum.ansible.com/t/ssl-auth-method-ssl-requires-a-password/22148 "2016-07-28T13:55:34Z")

</div>

Hi, I am having an issue trying to connect to my windows server in the internal network, as I get this error: TASK \[setup\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[10.xxx.xxx.xxx\]: U…

---

## [nxos\_template module time-out when banner motd is broken into several lines](https://forum.ansible.com/t/nxos-template-module-time-out-when-banner-motd-is-broken-into-several-lines/22146)

<div class="topic-metadata">

**Author:** [@Martin\_Baro](https://forum.ansible.com/u/Martin_Baro)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 12:59pm UTC](https://forum.ansible.com/t/nxos-template-module-time-out-when-banner-motd-is-broken-into-several-lines/22146 "2016-07-28T12:59:29Z")

</div>

Hi, I’m getting “time-out trying to send command” error message when trying to push banner motd template to nxos like: banner motd # unauthorized access prohibited

---

## [Shell Module and escaping quotes](https://forum.ansible.com/t/shell-module-and-escaping-quotes/22128)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 4\
**Last updated:** [July 28, 2016, 12:48pm UTC](https://forum.ansible.com/t/shell-module-and-escaping-quotes/22128 "2016-07-28T12:48:08Z")

</div>

I apologize if this isn’t an strictly an ansible problem, but I’m attempting to run a command like the following which works when run directly on the server in bash but fails when I try running via ansible. name: write…

---

## [Conditional execution of tasks failing](https://forum.ansible.com/t/conditional-execution-of-tasks-failing/22125)

<div class="topic-metadata">

**Author:** [@GANA\_SAGAR](https://forum.ansible.com/u/GANA_SAGAR)\
**Replies:** 1\
**Last updated:** [July 28, 2016, 12:31pm UTC](https://forum.ansible.com/t/conditional-execution-of-tasks-failing/22125 "2016-07-28T12:31:21Z")

</div>

Hi, I am trying to write a task to be executed over 4 groups. 2 of them are based on location ‘sb’ ‘ada’ and 2 of them based on distribution. each combination has separate template. sb - redhat - template 1 sb - aix -…

---

## [docker\_container device IOPS limit](https://forum.ansible.com/t/docker-container-device-iops-limit/22144)

<div class="topic-metadata">

**Author:** [@Alvaro\_Gil](https://forum.ansible.com/u/Alvaro_Gil)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 12:31pm UTC](https://forum.ansible.com/t/docker-container-device-iops-limit/22144 "2016-07-28T12:31:16Z")

</div>

Hello, I am looking for define IOPS limit for a container using docker\_container module but it doesn’t seems to be supported. Any suggestion about how to do it? Thanks!

---

## [Ansible Pull mode](https://forum.ansible.com/t/ansible-pull-mode/22130)

<div class="topic-metadata">

**Author:** [@knowshan](https://forum.ansible.com/u/knowshan)\
**Replies:** 1\
**Last updated:** [July 28, 2016, 12:24pm UTC](https://forum.ansible.com/t/ansible-pull-mode/22130 "2016-07-28T12:24:45Z")

</div>

I am looking for suggestions for implementing Ansible pull model. The pull mode is essential for bootstrapping new systems and auto-scaling not launched by Ansible. I’ve looked at ansible-pull command, but it downloads …

---

## [yum groupinstall "Development tools" for mutliple Linux-based OS](https://forum.ansible.com/t/yum-groupinstall-development-tools-for-mutliple-linux-based-os/22131)

<div class="topic-metadata">

**Author:** [@Igor\_P](https://forum.ansible.com/u/Igor_P)\
**Replies:** 2\
**Last updated:** [July 28, 2016, 11:01am UTC](https://forum.ansible.com/t/yum-groupinstall-development-tools-for-mutliple-linux-based-os/22131 "2016-07-28T11:01:10Z")

</div>

Hi, I am new to Ansible and I am working a playbook that requires to have Development-tool installed on on CentOS based server. However, I was thinking about writing playbook that will be applicable to Debian-based OSs …

---

## [win\_regedit error "Input string was not in a correct formatInput string was not in a correct format"](https://forum.ansible.com/t/win-regedit-error-input-string-was-not-in-a-correct-formatinput-string-was-not-in-a-correct-format/22109)

<div class="topic-metadata">

**Author:** [@user86](https://forum.ansible.com/u/user86)\
**Replies:** 2\
**Last updated:** [July 28, 2016, 8:03am UTC](https://forum.ansible.com/t/win-regedit-error-input-string-was-not-in-a-correct-formatinput-string-was-not-in-a-correct-format/22109 "2016-07-28T08:03:23Z")

</div>

Hello. I have a problem with win\_regedit. My code: \` name: Windows Update. hosts: windows tasks: name: RebootRelaunchTimeout. win\_regedit: key: HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU value: …

---

## [\[PR\]\[ansible-modules-extras\]\[shippable\] shippable containers seem to be missing python2.4](https://forum.ansible.com/t/pr-ansible-modules-extras-shippable-shippable-containers-seem-to-be-missing-python2-4/22138)

<div class="topic-metadata">

**Author:** [@boukili.olivier](https://forum.ansible.com/u/boukili.olivier)\
**Replies:** 1\
**Last updated:** [July 28, 2016, 5:03am UTC](https://forum.ansible.com/t/pr-ansible-modules-extras-shippable-shippable-containers-seem-to-be-missing-python2-4/22138 "2016-07-28T05:03:29Z")

</div>

Hi, I’ve got an ansible-modules-extras PR whose shippable builds always fail due to python2.4 not being installed on those shippable containers (builds fine on travis-ci’s): python2.4 -m compileall -fq -x ‘cloud/|monit…

---

## [Storing Arrays in variable](https://forum.ansible.com/t/storing-arrays-in-variable/22142)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 3:33am UTC](https://forum.ansible.com/t/storing-arrays-in-variable/22142 "2016-07-28T03:33:16Z")

</div>

Dear All, I have a file with the below content: NexGen SS7 maximum allowed configuration file MAXIMUM\_INSTANCES = 2 MAXIMUM\_LINKS = 0 MTP2 = NO SCTP = YES M2UA = NO MTP3 = NO M3UA = YES SCCP = YES TCAP = YES M…

---

## [Ansible module to run window service](https://forum.ansible.com/t/ansible-module-to-run-window-service/22102)

<div class="topic-metadata">

**Author:** [@HY1](https://forum.ansible.com/u/HY1)\
**Replies:** 5\
**Last updated:** [July 27, 2016, 11:46pm UTC](https://forum.ansible.com/t/ansible-module-to-run-window-service/22102 "2016-07-27T23:46:42Z")

</div>

Hello, I’m very new to Ansible. I noticed that there is a win\_service module to create window service but none to run a window service. I have a powershell script to do that. Is it better to create a new module or integ…

---

## [azure\_rm\_virtualmachine](https://forum.ansible.com/t/azure-rm-virtualmachine/22141)

<div class="topic-metadata">

**Author:** [@M\_Ghaleb](https://forum.ansible.com/u/M_Ghaleb)\
**Replies:** 0\
**Last updated:** [July 27, 2016, 8:23pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine/22141 "2016-07-27T20:23:05Z")

</div>

Hi, I’m trying to use this Module to spin up a VM in Azure. However how can I bootstrap Ansible PS1 script which enables the WinRM for other tasks? Its working but I can’t see how can I inject user data into it? Thank…

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

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