# Archives

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

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

**Page:** 528

---

## [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…

---

## [bastion host type connection to ansible](https://forum.ansible.com/t/bastion-host-type-connection-to-ansible/23271)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 1\
**Last updated:** [December 21, 2016, 4:32pm UTC](https://forum.ansible.com/t/bastion-host-type-connection-to-ansible/23271 "2016-12-21T16:32:36Z")

</div>

How can use ansible with the below ssh.cfg Host test Hostname 10.35.74.241 User oyarimtepe@syslnx#host.foo.com@machine1.host.foo.com I am trying to connect machine1. The above settings let me connect with ssh test 1…

---

## [Include Vars inside of Variable Array](https://forum.ansible.com/t/include-vars-inside-of-variable-array/23310)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 4:22pm UTC](https://forum.ansible.com/t/include-vars-inside-of-variable-array/23310 "2016-12-21T16:22:55Z")

</div>

I wasn’t sure if this is possible, but in the new “name” field in 2.2 is there a way to specify that you could create an array in that variable? I am trying to loop through a bunch of files with vars and want to prevent …

---

## [Is there any Ansible module to Deploy VM OVF Template ?](https://forum.ansible.com/t/is-there-any-ansible-module-to-deploy-vm-ovf-template/23309)

<div class="topic-metadata">

**Author:** [@Prasoon\_Kumar](https://forum.ansible.com/u/Prasoon_Kumar)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 2:47pm UTC](https://forum.ansible.com/t/is-there-any-ansible-module-to-deploy-vm-ovf-template/23309 "2016-12-21T14:47:09Z")

</div>

Hi, Is there any Ansible module to Deploy VM OVF Template ? Thanks Prasoon

---

## [Ansible enhancement request: persistent variables?](https://forum.ansible.com/t/ansible-enhancement-request-persistent-variables/23298)

<div class="topic-metadata">

**Author:** [@eric3](https://forum.ansible.com/u/eric3)\
**Replies:** 5\
**Last updated:** [December 21, 2016, 2:45pm UTC](https://forum.ansible.com/t/ansible-enhancement-request-persistent-variables/23298 "2016-12-21T14:45:58Z")

</div>

I’m looking for an enhancement to Ansible that I’m conceiving of as “persistent variables.” Specifically, when one part of my script does something that registers a variable, I’m typically using that registration to affe…

---

## [How Deploy VM in Azure and to install on it applications](https://forum.ansible.com/t/how-deploy-vm-in-azure-and-to-install-on-it-applications/23307)

<div class="topic-metadata">

**Author:** [@Shmulik\_Alfandari](https://forum.ansible.com/u/Shmulik_Alfandari)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 2:35pm UTC](https://forum.ansible.com/t/how-deploy-vm-in-azure-and-to-install-on-it-applications/23307 "2016-12-21T14:35:45Z")

</div>

Hi, I created playbook which deploy Centos VM in azure. It is working fine. I want in this playbook to install application on that deployed VM. How can I continue with this playbook and install application on this VM? …

---

## [How to deploy OVA template using Ansible?](https://forum.ansible.com/t/how-to-deploy-ova-template-using-ansible/23303)

<div class="topic-metadata">

**Author:** [@Prasoon\_Kumar](https://forum.ansible.com/u/Prasoon_Kumar)\
**Replies:** 0\
**Last updated:** [December 21, 2016, 6:46am UTC](https://forum.ansible.com/t/how-to-deploy-ova-template-using-ansible/23303 "2016-12-21T06:46:27Z")

</div>

Hi, I am able to clone to VM from VM template but not able to deploy VM OVA template using Ansible. Please help. Thanks Prasoon

---

## [Deploy application on a newly created AWS](https://forum.ansible.com/t/deploy-application-on-a-newly-created-aws/23288)

<div class="topic-metadata">

**Author:** [@farahfa89](https://forum.ansible.com/u/farahfa89)\
**Replies:** 1\
**Last updated:** [December 20, 2016, 11:07pm UTC](https://forum.ansible.com/t/deploy-application-on-a-newly-created-aws/23288 "2016-12-20T23:07:28Z")

</div>

I am creating an Ansible playbook that has two roles: one role that creates an AWS instance (from a pre-made AMI which includes Ansible), then another role that deploys Sonatype Nexus into that instance. I’ve tested the …

---

## [Complex set of default variables with custom plugin?](https://forum.ansible.com/t/complex-set-of-default-variables-with-custom-plugin/23301)

<div class="topic-metadata">

**Author:** [@Kamil\_Demecki](https://forum.ansible.com/u/Kamil_Demecki)\
**Replies:** 0\
**Last updated:** [December 20, 2016, 9:51pm UTC](https://forum.ansible.com/t/complex-set-of-default-variables-with-custom-plugin/23301 "2016-12-20T21:51:44Z")

</div>

Hi, I’m looking for a solution to limit size of required setup for set of environments. Below it is small chunk of bigger setup where I’m defining variables having default values. \` app\_datasources: Target: Backend…

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

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