# Latest

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

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

**Page:** 699

---

## [ec2 tag instance filters 'AND' condition implementation in Ansible-Tower](https://forum.ansible.com/t/ec2-tag-instance-filters-and-condition-implementation-in-ansible-tower/23335)

<div class="topic-metadata">

**Author:** [@Govardhana\_M.K](https://forum.ansible.com/u/Govardhana_M.K)\
**Replies:** 1\
**Last updated:** [December 28, 2016, 7:06pm UTC](https://forum.ansible.com/t/ec2-tag-instance-filters-and-condition-implementation-in-ansible-tower/23335 "2016-12-28T19:06:04Z")

</div>

I would like to filter the dynamically discovered instances with ec2.py based on ‘AND’ condition of ec2 tags with instance filters. only able to achieve OR condition with the syntax as below: tag:tagkey1=tagvalue1,tag:…

---

## [Managing an ec2 instance after creation](https://forum.ansible.com/t/managing-an-ec2-instance-after-creation/23334)

<div class="topic-metadata">

**Author:** [@Maish\_Saidel-Keesing](https://forum.ansible.com/u/Maish_Saidel-Keesing)\
**Replies:** 1\
**Last updated:** [December 28, 2016, 6:21pm UTC](https://forum.ansible.com/t/managing-an-ec2-instance-after-creation/23334 "2016-12-28T18:21:16Z")

</div>

Good afternoon all. I am trying to understand the flow of this will work - still not clear to me. I would like to provision an ec2 instance with ansible. Once that instance is created - I would like to continue to con…

---

## [Unable to upgrade to Ansible 2.2 on Mac](https://forum.ansible.com/t/unable-to-upgrade-to-ansible-2-2-on-mac/23326)

<div class="topic-metadata">

**Author:** [@Santhosh\_Gowda](https://forum.ansible.com/u/Santhosh_Gowda)\
**Replies:** 5\
**Last updated:** [December 28, 2016, 4:00pm UTC](https://forum.ansible.com/t/unable-to-upgrade-to-ansible-2-2-on-mac/23326 "2016-12-28T16:00:55Z")

</div>

Hello, I am trying to upgrade to Ansible 2.2 from 2.1 and below error is being thrown. Anyone come across this error ? if so can you please let me know how to get around this issue. HW12662:playbooks sgowda$ ansible-pl…

---

## [Glassfish configuration support](https://forum.ansible.com/t/glassfish-configuration-support/23339)

<div class="topic-metadata">

**Author:** [@zochamx](https://forum.ansible.com/u/zochamx)\
**Replies:** 0\
**Last updated:** [December 28, 2016, 12:39pm UTC](https://forum.ansible.com/t/glassfish-configuration-support/23339 "2016-12-28T12:39:34Z")

</div>

Hi all, i 've read enough trying to admin a quite big glassfish infrastructure although i haven’t find any module that handles glassfish application servers. Am i missing sth? In case that indeed there isn’t could i he…

---

## [Azure Headache](https://forum.ansible.com/t/azure-headache/23328)

<div class="topic-metadata">

**Author:** [@Stephen\_Gregory](https://forum.ansible.com/u/Stephen_Gregory)\
**Replies:** 3\
**Last updated:** [December 28, 2016, 11:34am UTC](https://forum.ansible.com/t/azure-headache/23328 "2016-12-28T11:34:57Z")

</div>

Good morning all, I’m very new to Ansible, but am looking to use it to baremetal and configure our company’s infrastructure products on either Azure or on client sites with VMware or Hyper-V. As the company is pushing A…

---

## [Invalid input detected at '^' marker. (Ansible 2.2 ios\_config module)](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-ios-config-module/23336)

<div class="topic-metadata">

**Author:** [@Kyle\_Patton](https://forum.ansible.com/u/Kyle_Patton)\
**Replies:** 0\
**Last updated:** [December 27, 2016, 7:40pm UTC](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-ios-config-module/23336 "2016-12-27T19:40:28Z")

</div>

I’ve tried numerous different configurations to get ios\_config to shutdown a port. According to documentation I think this should work.

---

## [problem with with\_items + when in ansible 2.2](https://forum.ansible.com/t/problem-with-with-items-when-in-ansible-2-2/23330)

<div class="topic-metadata">

**Author:** [@Spike1](https://forum.ansible.com/u/Spike1)\
**Replies:** 5\
**Last updated:** [December 24, 2016, 9:37am UTC](https://forum.ansible.com/t/problem-with-with-items-when-in-ansible-2-2/23330 "2016-12-24T09:37:09Z")

</div>

Hi, I found this bug, which is closed, but I believe I’m still seeing the same problem: Ansible 2.x errors on the task with the with\_items loop with when: some\_var is defined condition when it is used in a role, but no…

---

## [Backport uri module bug fix to stable 2.2](https://forum.ansible.com/t/backport-uri-module-bug-fix-to-stable-2-2/23293)

<div class="topic-metadata">

**Author:** [@Genadi\_Postrilko](https://forum.ansible.com/u/Genadi_Postrilko)\
**Replies:** 2\
**Last updated:** [December 24, 2016, 6:39am UTC](https://forum.ansible.com/t/backport-uri-module-bug-fix-to-stable-2-2/23293 "2016-12-24T06:39:33Z")

</div>

Hello, I have encountered a uri module digest authentication bug on ansible 2.2.0: https://github.com/ansible/ansible/issues/16936 The issue will be resolved at 2.3 by the following pull request: https://github.com/a…

---

## [Capture ethernet device of given ip address](https://forum.ansible.com/t/capture-ethernet-device-of-given-ip-address/23329)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 1\
**Last updated:** [December 23, 2016, 8:34pm UTC](https://forum.ansible.com/t/capture-ethernet-device-of-given-ip-address/23329 "2016-12-23T20:34:11Z")

</div>

Greetings, I know the IP address of a host. How do I filter at setup task to get the device the address is assigned to? End goal is after creating a new vmware image, I know the temporary IP, want to assign a permanent …

---

## [How to deal with "inventory" that isn't inventoriable.](https://forum.ansible.com/t/how-to-deal-with-inventory-that-isnt-inventoriable/23080)

<div class="topic-metadata">

**Author:** [@Stephen\_John\_Smoogen](https://forum.ansible.com/u/Stephen_John_Smoogen)\
**Replies:** 3\
**Last updated:** [December 23, 2016, 1:57pm UTC](https://forum.ansible.com/t/how-to-deal-with-inventory-that-isnt-inventoriable/23080 "2016-12-23T13:57:48Z")

</div>

I have a large number of out of band hardware (IBM IMM, routers owned by other groups, Dracs (which will be ansibled soon), and similar odd things) which I need to keep track of for various other software like nagios …

---

## [cant install ubuntu ppa](https://forum.ansible.com/t/cant-install-ubuntu-ppa/23327)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [December 23, 2016, 10:00am UTC](https://forum.ansible.com/t/cant-install-ubuntu-ppa/23327 "2016-12-23T10:00:13Z")

</div>

on ubuntu xenial, when trying to apt update, E: The repository ‘http://ppa.launchpad.net/ansible/ansible/ubuntu xenial Release’ does not have a Release file. N: Updating from such a repository can’t be done securely, a…

---

## [Command and mount modules don't work correctly with SSHFS](https://forum.ansible.com/t/command-and-mount-modules-dont-work-correctly-with-sshfs/23325)

<div class="topic-metadata">

**Author:** [@ansible\_novice1](https://forum.ansible.com/u/ansible_novice1)\
**Replies:** 0\
**Last updated:** [December 23, 2016, 7:38am UTC](https://forum.ansible.com/t/command-and-mount-modules-dont-work-correctly-with-sshfs/23325 "2016-12-23T07:38:28Z")

</div>

Ansible version: 2.0.1.0 2 isuues. I want to mount SSHFS filesystem as a root user without reboot as temporarily as sure as permanently. Temporary mount may be done with sshfs command. So, here is example when all cr…

---

## [Which Modules can be use to manage Raid?](https://forum.ansible.com/t/which-modules-can-be-use-to-manage-raid/23324)

<div class="topic-metadata">

**Author:** [@user12](https://forum.ansible.com/u/user12)\
**Replies:** 0\
**Last updated:** [December 23, 2016, 6:46am UTC](https://forum.ansible.com/t/which-modules-can-be-use-to-manage-raid/23324 "2016-12-23T06:46:46Z")

</div>

Which Modules Can be use to manage Raid? Or,How to do with another way? Thanks!!!

---

## [ERROR! 'state' is not a valid attribute for a Task  (selinux module)](https://forum.ansible.com/t/error-state-is-not-a-valid-attribute-for-a-task-selinux-module/23323)

<div class="topic-metadata">

**Author:** [@twinmegami\_arara](https://forum.ansible.com/u/twinmegami_arara)\
**Replies:** 1\
**Last updated:** [December 23, 2016, 1:53am UTC](https://forum.ansible.com/t/error-state-is-not-a-valid-attribute-for-a-task-selinux-module/23323 "2016-12-23T01:53:18Z")

</div>

Doc: http://docs.ansible.com/ansible/selinux\_module.html I wrote below task in a role: \` selinux: state: disabled … name: start docker notify: restart docker \` But got \` ERROR! ‘state’ is not a valid attribu…

---

## [AnsibleError: Unable to create local directories](https://forum.ansible.com/t/ansibleerror-unable-to-create-local-directories/23321)

<div class="topic-metadata">

**Author:** [@jordan](https://forum.ansible.com/u/jordan)\
**Replies:** 4\
**Last updated:** [December 22, 2016, 11:19pm UTC](https://forum.ansible.com/t/ansibleerror-unable-to-create-local-directories/23321 "2016-12-22T23:19:18Z")

</div>

I’m trying to integrate my flask application (which uses the ansible modules for python) and I keep running into this problem. It looks like ansible, upon import, tries to create some temporary directory, but the path th…

---

## [Parameterized Inventory?](https://forum.ansible.com/t/parameterized-inventory/23322)

<div class="topic-metadata">

**Author:** [@Vicki](https://forum.ansible.com/u/Vicki)\
**Replies:** 0\
**Last updated:** [December 22, 2016, 11:11pm UTC](https://forum.ansible.com/t/parameterized-inventory/23322 "2016-12-22T23:11:57Z")

</div>

Hello, I am provisioning multiple environments that are identical to each other in all aspects except for actual VMs and values of variables. The VMs and variables follow the same naming conventions. I am thinking of cr…

---

## [how to replace a big string in file using ansible](https://forum.ansible.com/t/how-to-replace-a-big-string-in-file-using-ansible/23312)

<div class="topic-metadata">

**Author:** [@deva.srao](https://forum.ansible.com/u/deva.srao)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 6:38pm UTC](https://forum.ansible.com/t/how-to-replace-a-big-string-in-file-using-ansible/23312 "2016-12-22T18:38:30Z")

</div>

Hi I have string in a file that contains lot of special characters. how to replace that string using ansible modules. From $base\_url = ‘http://’ . $\_SERVER\[‘SERVER\_NAME’\]; To $base\_url = ‘http://server1.abc.com’; C…

---

## [Install Extras Modules](https://forum.ansible.com/t/install-extras-modules/23306)

<div class="topic-metadata">

**Author:** [@wishwa\_perera](https://forum.ansible.com/u/wishwa_perera)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 6:26pm UTC](https://forum.ansible.com/t/install-extras-modules/23306 "2016-12-22T18:26:14Z")

</div>

I installed ansible using apt on ubuntu. I want to use win\_say module which is an extras module. Can anyone guide me on how to install ???

---

## [Create multiple dynamic inventories or custom dynamic inventory?](https://forum.ansible.com/t/create-multiple-dynamic-inventories-or-custom-dynamic-inventory/23320)

<div class="topic-metadata">

**Author:** [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Replies:** 2\
**Last updated:** [December 22, 2016, 6:17pm UTC](https://forum.ansible.com/t/create-multiple-dynamic-inventories-or-custom-dynamic-inventory/23320 "2016-12-22T18:17:53Z")

</div>

Hi, We have multiple aws accounts and want to use ansible as a configuration management system for them, so how do we proceed, to manage multiple aws accounts with one ansible server. we have an account that is peered…

---

## [Issue with group\_vars OSError: \[Errno 20\] Not a directory:](https://forum.ansible.com/t/issue-with-group-vars-oserror-errno-20-not-a-directory/23305)

<div class="topic-metadata">

**Author:** [@n\_nagesh](https://forum.ansible.com/u/n_nagesh)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 5:41pm UTC](https://forum.ansible.com/t/issue-with-group-vars-oserror-errno-20-not-a-directory/23305 "2016-12-22T17:41:14Z")

</div>

Using /etc/ansible/ansible.cfg as config file ERROR! Unexpected Exception: \[Errno 20\] Not a directory: ‘/vagrant/ansible/playbooks/qa/group\_vars’ the full traceback was: Traceback (most recent call last): File “/usr/…

---

## [Accessing encrypted variables fails](https://forum.ansible.com/t/accessing-encrypted-variables-fails/23314)

<div class="topic-metadata">

**Author:** [@pgb205](https://forum.ansible.com/u/pgb205)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 5:36pm UTC](https://forum.ansible.com/t/accessing-encrypted-variables-fails/23314 "2016-12-22T17:36:17Z")

</div>

I have a playbook that executes several commands that require variable input. So far I have done the following. Created encrypted yml file in /etc/ansible/secrets folder with the format pass\_1: ‘string’ pass\_2: ‘stri…

---

## [Command line for System Upgrades](https://forum.ansible.com/t/command-line-for-system-upgrades/23311)

<div class="topic-metadata">

**Author:** [@Rick\_Belscher](https://forum.ansible.com/u/Rick_Belscher)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 5:35pm UTC](https://forum.ansible.com/t/command-line-for-system-upgrades/23311 "2016-12-22T17:35:05Z")

</div>

I am working on patching multiple ubuntu systems and have run into an issue and I am unable to find a solution. I’m pretty new to ansible so not sure if it’s possible to respond to prompts by OS. Here is what I run now: …

---

## [YAML inventory files: something real or a confusion](https://forum.ansible.com/t/yaml-inventory-files-something-real-or-a-confusion/23290)

<div class="topic-metadata">

**Author:** [@Stuart\_Watt](https://forum.ansible.com/u/Stuart_Watt)\
**Replies:** 1\
**Last updated:** [December 22, 2016, 5:33pm UTC](https://forum.ansible.com/t/yaml-inventory-files-something-real-or-a-confusion/23290 "2016-12-22T17:33:06Z")

</div>

Hi all I’m slightly confused, under the Alternative Directory Layout in http://docs.ansible.com/ansible/playbooks\_best\_practices.html, all the examples shown use a “hosts.yml” which implies a YAML format inventory. Ther…

---

## [how to set the --limit parameter to a variable ?](https://forum.ansible.com/t/how-to-set-the-limit-parameter-to-a-variable/23318)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 2\
**Last updated:** [December 22, 2016, 2:01pm UTC](https://forum.ansible.com/t/how-to-set-the-limit-parameter-to-a-variable/23318 "2016-12-22T14:01:39Z")

</div>

Hello, I do run a playbook by setting a limit: ansible-playbook -i pilote.ini --limit DV70 My inventory file contains the following: \[DV70:chlidren\] DV70\_DEV DV70\_REC … \[DV70\_DEV\] ansible\_host=server1 ansible\_use…

---

## [Github issue #11151 still not resolved](https://forum.ansible.com/t/github-issue-11151-still-not-resolved/23319)

<div class="topic-metadata">

**Author:** [@Rajesh\_Vaya](https://forum.ansible.com/u/Rajesh_Vaya)\
**Replies:** 0\
**Last updated:** [December 22, 2016, 1:53pm UTC](https://forum.ansible.com/t/github-issue-11151-still-not-resolved/23319 "2016-12-22T13:53:34Z")

</div>

Hi, There is still an issue if the string begins with “0”. There is this very very strange issue where if the variable’s value contains all digits where each digit is below 7 and starts with 0 then the entire variable i…

---

## [Role dependencies](https://forum.ansible.com/t/role-dependencies/23317)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 0\
**Last updated:** [December 22, 2016, 12:16pm UTC](https://forum.ansible.com/t/role-dependencies/23317 "2016-12-22T12:16:38Z")

</div>

Hello, I have a playbook with one role to install an application split on 2 servers, so the inventory file contains 2 entries like this: \[DV70\_DEV\] ansible\_host=server1 ansible\_user=usertest PARAM=WEB ansible\_host=se…

---

## [inventory file generated following  a playbook run](https://forum.ansible.com/t/inventory-file-generated-following-a-playbook-run/23308)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 2\
**Last updated:** [December 22, 2016, 11:17am UTC](https://forum.ansible.com/t/inventory-file-generated-following-a-playbook-run/23308 "2016-12-22T11:17:23Z")

</div>

Hello, I want to deploy on 2 servers an application and then to deploy an apache server and configuring it. My issue is that to deploy the Apache server, I need to know the servers names and ports, I have these informa…

---

## [module\_stdout": "/bin/sh: 1: /usr/bin/python: not found\\r\\n](https://forum.ansible.com/t/module-stdout-bin-sh-1-usr-bin-python-not-found-r-n/23316)

<div class="topic-metadata">

**Author:** [@guruprasad\_k](https://forum.ansible.com/u/guruprasad_k)\
**Replies:** 0\
**Last updated:** [December 22, 2016, 5:19am UTC](https://forum.ansible.com/t/module-stdout-bin-sh-1-usr-bin-python-not-found-r-n/23316 "2016-12-22T05:19:50Z")

</div>

Hi, Using Ubuntu 16.04,python 2.7,ansible 2.2.0.0 ansible-playbook -i hostname install.yml -vvv Using /etc/ansible/ansible.cfg as config file PLAYBOOK: install.yml \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [docker-py 2.0.0 support](https://forum.ansible.com/t/docker-py-2-0-0-support/23315)

<div class="topic-metadata">

**Author:** [@Michael\_Kinsley](https://forum.ansible.com/u/Michael_Kinsley)\
**Replies:** 2\
**Last updated:** [December 22, 2016, 12:32am UTC](https://forum.ansible.com/t/docker-py-2-0-0-support/23315 "2016-12-22T00:32:11Z")

</div>

Hi ansible devs, docker 2.0.0 (formerly docker-py) has been released: https://github.com/docker/docker-py/releases/tag/2.0.0 There are a number of breaking changes, including a top-level name change from “docker-py” to…

---

## [Dynamic Inventory to private VPC instances](https://forum.ansible.com/t/dynamic-inventory-to-private-vpc-instances/23302)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 1\
**Last updated:** [December 21, 2016, 5:03pm UTC](https://forum.ansible.com/t/dynamic-inventory-to-private-vpc-instances/23302 "2016-12-21T17:03:45Z")

</div>

I asked this a while back and I did not find a good solution back then… Hopefully something has changed! I am running Ansible outside of multiple VPCs, and have a set of configs in my ~/.ssh/config that get picked up wh…

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

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