# Latest

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

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

**Page:** 687

---

## [Module "include\_vars" fails with when using "file" parameter](https://forum.ansible.com/t/module-include-vars-fails-with-when-using-file-parameter/22352)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 3:19am UTC](https://forum.ansible.com/t/module-include-vars-fails-with-when-using-file-parameter/22352 "2017-02-10T03:19:45Z")

</div>

Hi, when using the include\_module with the "file" parameter, it fails with AttributeError: 'NoneType' object has no attribute 'startswith'. This works fine: ----- testmyvars\_1.yml -----------

---

## [Questions regarding porting action plugin from 1.8.x to 2.x](https://forum.ansible.com/t/questions-regarding-porting-action-plugin-from-1-8-x-to-2-x/22233)

<div class="topic-metadata">

**Author:** [@David\_Reuss](https://forum.ansible.com/u/David_Reuss)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 3:10am UTC](https://forum.ansible.com/t/questions-regarding-porting-action-plugin-from-1-8-x-to-2-x/22233 "2017-02-10T03:10:13Z")

</div>

Hi, I’ve delayed porting my pre 2.0 action plugins, but now it’s finally time to attempt to upgrade to ansible 2.x, and i have a few questions. The porting guide is rather lacking in details, especially regarding actio…

---

## [Cpu/ram config for ansilbe host when deploy on hundreds of nodes](https://forum.ansible.com/t/cpu-ram-config-for-ansilbe-host-when-deploy-on-hundreds-of-nodes/23699)

<div class="topic-metadata">

**Author:** [@ying\_chen](https://forum.ansible.com/u/ying_chen)\
**Replies:** 0\
**Last updated:** [February 10, 2017, 2:54am UTC](https://forum.ansible.com/t/cpu-ram-config-for-ansilbe-host-when-deploy-on-hundreds-of-nodes/23699 "2017-02-10T02:54:13Z")

</div>

Hi guys, I have a cluster of hundreds of nodes on cloud, and have a dedicated VM for ansible. I wonder what kind of cpu/memory should be prepared for ansible host. Shall it depend on number of nodes or playbook content…

---

## [playbook - Could not resolve hostname ~/ssh.conf:](https://forum.ansible.com/t/playbook-could-not-resolve-hostname-ssh-conf/23187)

<div class="topic-metadata">

**Author:** [@Swathi\_Cutie](https://forum.ansible.com/u/Swathi_Cutie)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 2:53am UTC](https://forum.ansible.com/t/playbook-could-not-resolve-hostname-ssh-conf/23187 "2017-02-10T02:53:40Z")

</div>

Please help , Ansible playbook failing with the error "failed connect to host via ssh’ \[root@localhost infrastructure\]# ansible-playbook -i /home/swathi/Desktop/infrastructure/production/ python\_request.yml PLAY \[meso…

---

## [ansible ad-hoc commands using vault](https://forum.ansible.com/t/ansible-ad-hoc-commands-using-vault/23698)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [February 10, 2017, 2:50am UTC](https://forum.ansible.com/t/ansible-ad-hoc-commands-using-vault/23698 "2017-02-10T02:50:37Z")

</div>

The private\_key\_file in config is for using your private ssh keys to connect, not for yaml encrypted files, Ansible will not decrypt it.

---

## [Update of ansible seems incorrect](https://forum.ansible.com/t/update-of-ansible-seems-incorrect/23190)

<div class="topic-metadata">

**Author:** [@Sebastian\_S](https://forum.ansible.com/u/Sebastian_S)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 2:48am UTC](https://forum.ansible.com/t/update-of-ansible-seems-incorrect/23190 "2017-02-10T02:48:10Z")

</div>

Hello, I’ve a Ubuntu 14.04 box with Ansible and Ansible-Tower running. I do regularly upgrades of the packages and have the official mirror for Ansible in my sources.list. So it gets updates. So far, so good. But i th…

---

## [Parallel deployment issue](https://forum.ansible.com/t/parallel-deployment-issue/21793)

<div class="topic-metadata">

**Author:** [@oMgSufod](https://forum.ansible.com/u/oMgSufod)\
**Replies:** 2\
**Last updated:** [February 10, 2017, 2:43am UTC](https://forum.ansible.com/t/parallel-deployment-issue/21793 "2017-02-10T02:43:34Z")

</div>

Hi, We are using Ansible to deploy a lot of differents services on a lot of servers. We developped a backend which is starting ansible playbook when the user send a rest request. In our project, we deploy entire platf…

---

## [New ansible-galaxy CLI capabilities for installing from private repos from Will Thames](https://forum.ansible.com/t/new-ansible-galaxy-cli-capabilities-for-installing-from-private-repos-from-will-thames/16005)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 5\
**Last updated:** [February 10, 2017, 2:42am UTC](https://forum.ansible.com/t/new-ansible-galaxy-cli-capabilities-for-installing-from-private-repos-from-will-thames/16005 "2017-02-10T02:42:39Z")

</div>

Hi all, I recently merged a patchset from Will Thames that adds the ability for the ansible-galaxy command to install from a requirements file that supports private repos, such as hg or git, or web based tarballs. This …

---

## [Ansible custom module and custom Python library](https://forum.ansible.com/t/ansible-custom-module-and-custom-python-library/23608)

<div class="topic-metadata">

**Author:** [@Julien\_Buonocore](https://forum.ansible.com/u/Julien_Buonocore)\
**Replies:** 1\
**Last updated:** [February 10, 2017, 2:34am UTC](https://forum.ansible.com/t/ansible-custom-module-and-custom-python-library/23608 "2017-02-10T02:34:48Z")

</div>

Hello, As part of the deployment of an application specific to the business of my company, I developed an Ansible module in Python and I also developed a Python library for reuse and factorization the code. A bootable p…

---

## [ansible-playbook hosts defined as "," defaults to play all the inventory defined in -i](https://forum.ansible.com/t/ansible-playbook-hosts-defined-as-defaults-to-play-all-the-inventory-defined-in-i/23696)

<div class="topic-metadata">

**Author:** [@Stacey\_Fletcher](https://forum.ansible.com/u/Stacey_Fletcher)\
**Replies:** 4\
**Last updated:** [February 10, 2017, 2:21am UTC](https://forum.ansible.com/t/ansible-playbook-hosts-defined-as-defaults-to-play-all-the-inventory-defined-in-i/23696 "2017-02-10T02:21:16Z")

</div>

Hi everyone, We use Jenkins to call ansible-playbook, usually the command would look like the following: ansible-playbook -i targets deploy\_portal.yml -e 'hosts=portal\_dev,portal\_dev2 version=1.0.35' -vvvv It would …

---

## [Would It Make Sense to Allow Multiple Inventories?](https://forum.ansible.com/t/would-it-make-sense-to-allow-multiple-inventories/23640)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 10\
**Last updated:** [February 9, 2017, 11:04pm UTC](https://forum.ansible.com/t/would-it-make-sense-to-allow-multiple-inventories/23640 "2017-02-09T23:04:36Z")

</div>

The Ansible documentation says "you can also use multiple inventory files at the same time" but, AFAIK, that isn't entirely accurate. If you give the '-i' flag a directory, then any inventory files under that director…

---

## [Bitten by the command line options](https://forum.ansible.com/t/bitten-by-the-command-line-options/23630)

<div class="topic-metadata">

**Author:** [@Noel\_Verhoeven](https://forum.ansible.com/u/Noel_Verhoeven)\
**Replies:** 6\
**Last updated:** [February 9, 2017, 10:53pm UTC](https://forum.ansible.com/t/bitten-by-the-command-line-options/23630 "2017-02-09T22:53:20Z")

</div>

I’ve been trying to get a new server to work without luck. This windows 2008R2 server has the local Administrator account and an account called AnsibleControlAdmin, member of the Administrators group. In group\_vars, I h…

---

## [Issues with Ansible Configure script](https://forum.ansible.com/t/issues-with-ansible-configure-script/23671)

<div class="topic-metadata">

**Author:** [@Strung6013](https://forum.ansible.com/u/Strung6013)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 8:15pm UTC](https://forum.ansible.com/t/issues-with-ansible-configure-script/23671 "2017-02-09T20:15:39Z")

</div>

When running the configure script on a machine that is freshly imaged, I repeatedly get errors. Maybe it’s in the process or steps to which I got it added to domain/configured post imaging, but I figured that I would pos…

---

## [Provision Issue with simultaneous request](https://forum.ansible.com/t/provision-issue-with-simultaneous-request/23681)

<div class="topic-metadata">

**Author:** [@Gautam\_Banerjee](https://forum.ansible.com/u/Gautam_Banerjee)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 6:51pm UTC](https://forum.ansible.com/t/provision-issue-with-simultaneous-request/23681 "2017-02-09T18:51:01Z")

</div>

Hi, I am provisioning multiple applications with one request through docker with ansible. It runs fine with one request. When I am giving two simultaneous request the ansible processing is quitting suddenly and looks li…

---

## [Iterate over dinamyc array inside a task](https://forum.ansible.com/t/iterate-over-dinamyc-array-inside-a-task/23697)

<div class="topic-metadata">

**Author:** [@Mariano\_Tewel](https://forum.ansible.com/u/Mariano_Tewel)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 6:47pm UTC](https://forum.ansible.com/t/iterate-over-dinamyc-array-inside-a-task/23697 "2017-02-09T18:47:01Z")

</div>

Hi, how can i solve this problem? I have the following task: name: Provision EC2 ec2: key\_name: “{{ ec2\_keypair }}” group\_id: “{{ ec2\_security\_group }}” instance\_type: “{{ ec2\_instance\_type }}” image: “{{ ec2\_imag…

---

## [Infrastructure inventories and custom software](https://forum.ansible.com/t/infrastructure-inventories-and-custom-software/23687)

<div class="topic-metadata">

**Author:** [@Sonny\_Heer](https://forum.ansible.com/u/Sonny_Heer)\
**Replies:** 3\
**Last updated:** [February 9, 2017, 6:40pm UTC](https://forum.ansible.com/t/infrastructure-inventories-and-custom-software/23687 "2017-02-09T18:40:42Z")

</div>

Hi all, Assume a production/staging/dev multistage environment project using ansible best practices layout. Another custom project A in a separate git repo. The project build produces an artifact that is deployed to a h…

---

## [Ansible and remote X](https://forum.ansible.com/t/ansible-and-remote-x/23694)

<div class="topic-metadata">

**Author:** [@g.roberts](https://forum.ansible.com/u/g.roberts)\
**Replies:** 3\
**Last updated:** [February 9, 2017, 6:30pm UTC](https://forum.ansible.com/t/ansible-and-remote-x/23694 "2017-02-09T18:30:21Z")

</div>

All, I need to launch a program on a remote node that has a gui and display that gui on the local node from which I ran ansible. I can do this manually just fine. Run the following and xclock from the remote node appea…

---

## [Without sudo, is it possible to manage multiple become users with distinct passwords?](https://forum.ansible.com/t/without-sudo-is-it-possible-to-manage-multiple-become-users-with-distinct-passwords/23679)

<div class="topic-metadata">

**Author:** [@ednotover](https://forum.ansible.com/u/ednotover)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 6:02pm UTC](https://forum.ansible.com/t/without-sudo-is-it-possible-to-manage-multiple-become-users-with-distinct-passwords/23679 "2017-02-09T18:02:01Z")

</div>

Apologies in advance if this issue has been answered already. My searches came up empty. I have a playbook that uses multiple become users on each host. I’d like to have the playbook work with whatever become method the…

---

## [How do you use ec2 dynamic inventory with windows instances?](https://forum.ansible.com/t/how-do-you-use-ec2-dynamic-inventory-with-windows-instances/17676)

<div class="topic-metadata">

**Author:** [@Daniel\_Furze](https://forum.ansible.com/u/Daniel_Furze)\
**Replies:** 4\
**Last updated:** [February 9, 2017, 3:59pm UTC](https://forum.ansible.com/t/how-do-you-use-ec2-dynamic-inventory-with-windows-instances/17676 "2017-02-09T15:59:05Z")

</div>

I’ve been playing with ansible and have everything working for managing linux instances via dynamic inventory in ec2, I have also set up windows support when using a fix hosts file. When I try to use ec2 dynamic invento…

---

## [How to copy very long(5000+ lines) out-put of commands to files](https://forum.ansible.com/t/how-to-copy-very-long-5000-lines-out-put-of-commands-to-files/23667)

<div class="topic-metadata">

**Author:** [@Satish](https://forum.ansible.com/u/Satish)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 3:43pm UTC](https://forum.ansible.com/t/how-to-copy-very-long-5000-lines-out-put-of-commands-to-files/23667 "2017-02-09T15:43:42Z")

</div>

Hello Team, I am using ios\_command module in a playbook. With this module we executes different commands (i.e. show version, show ISIS neighbor, show users etc…) on routers and collect respective output in text file. To…

---

## [Working on a Conan module (C/C++ package manager)](https://forum.ansible.com/t/working-on-a-conan-module-c-c-package-manager/23693)

<div class="topic-metadata">

**Author:** [@Sean\_Bollin](https://forum.ansible.com/u/Sean_Bollin)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 3:18pm UTC](https://forum.ansible.com/t/working-on-a-conan-module-c-c-package-manager/23693 "2017-02-09T15:18:58Z")

</div>

Hi all I am using Ansible on a personal project and started developing a Conan module that I could use. I’m copying from other implementations in the packaging/language folder. It’s just in its infancy now: https://git…

---

## [Disable the all hosts directive](https://forum.ansible.com/t/disable-the-all-hosts-directive/23690)

<div class="topic-metadata">

**Author:** [@Kobus](https://forum.ansible.com/u/Kobus)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 2:56pm UTC](https://forum.ansible.com/t/disable-the-all-hosts-directive/23690 "2017-02-09T14:56:28Z")

</div>

Hi I am fairly new to ansible, but wanted to disable the all hosts directive. I want to force people to use a specific hosts group and never the all group. Biggest reason for this is the segregation of environment, most…

---

## [vars\_prompt in Ansible](https://forum.ansible.com/t/vars-prompt-in-ansible/23691)

<div class="topic-metadata">

**Author:** [@Stepan\_Harutyunyan](https://forum.ansible.com/u/Stepan_Harutyunyan)\
**Replies:** 3\
**Last updated:** [February 9, 2017, 1:56pm UTC](https://forum.ansible.com/t/vars-prompt-in-ansible/23691 "2017-02-09T13:56:36Z")

</div>

Hi All, I want to create Ansible script which will create user on linux servers, so I use vars\_propt for entering values of username, groupname, shell. For groupname variable I want to use username’s value as a default …

---

## [How to select hosts based on the last connection time?](https://forum.ansible.com/t/how-to-select-hosts-based-on-the-last-connection-time/23683)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 5\
**Last updated:** [February 9, 2017, 1:40pm UTC](https://forum.ansible.com/t/how-to-select-hosts-based-on-the-last-connection-time/23683 "2017-02-09T13:40:41Z")

</div>

How to run a playbook on hosts, that have been connected today? Or those, which have nor been connected today?

---

## [SOLVED: vmware\_guest: customizing new VM from template](https://forum.ansible.com/t/solved-vmware-guest-customizing-new-vm-from-template/23692)

<div class="topic-metadata">

**Author:** [@Rodrigo\_B\_Brasil](https://forum.ansible.com/u/Rodrigo_B_Brasil)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 1:18pm UTC](https://forum.ansible.com/t/solved-vmware-guest-customizing-new-vm-from-template/23692 "2017-02-09T13:18:04Z")

</div>

This issue was resolved by the PR https://github.com/ansible/ansible/pull/21068

---

## [Ansible cloud openstack os\_server module userdata param : how to use it ?](https://forum.ansible.com/t/ansible-cloud-openstack-os-server-module-userdata-param-how-to-use-it/23689)

<div class="topic-metadata">

**Author:** [@Sylvain\_GINIBRE](https://forum.ansible.com/u/Sylvain_GINIBRE)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 10:58am UTC](https://forum.ansible.com/t/ansible-cloud-openstack-os-server-module-userdata-param-how-to-use-it/23689 "2017-02-09T10:58:26Z")

</div>

Hi, I try to make an intance using os\_server module and a cloud-config file using the userdata parameter. name: Deploy a CentOS-7 instance os\_server: cloud: myCloud state: present name: “{{ inventory\_hostname }}” …

---

## [Is there any Multi user LAMP playbook ?](https://forum.ansible.com/t/is-there-any-multi-user-lamp-playbook/23688)

<div class="topic-metadata">

**Author:** [@Olivier\_Revollat](https://forum.ansible.com/u/Olivier_Revollat)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 9:11am UTC](https://forum.ansible.com/t/is-there-any-multi-user-lamp-playbook/23688 "2017-02-09T09:11:57Z")

</div>

I’m looking for a playbook that can create sftp access to multiple user and each user have a hosting with php apache mysql. Thanks :slight\_smile:

---

## [Ansible and CVS integration](https://forum.ansible.com/t/ansible-and-cvs-integration/23649)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 1\
**Last updated:** [February 9, 2017, 7:21am UTC](https://forum.ansible.com/t/ansible-and-cvs-integration/23649 "2017-02-09T07:21:42Z")

</div>

Hi to all… I’ve created set of templates which I use to deploy some application config files (between 20-30 files, depends on environment) to all my servers (about 100 servers). From ansible server I deploy every chang…

---

## [get\_url unable to download from ftp site](https://forum.ansible.com/t/get-url-unable-to-download-from-ftp-site/23686)

<div class="topic-metadata">

**Author:** [@Abhijit\_Chakraborty](https://forum.ansible.com/u/Abhijit_Chakraborty)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 5:13am UTC](https://forum.ansible.com/t/get-url-unable-to-download-from-ftp-site/23686 "2017-02-09T05:13:42Z")

</div>

I am unable to download a file from ftp site. my yml file is as below

---

## [get\_url unable to download from ftp link](https://forum.ansible.com/t/get-url-unable-to-download-from-ftp-link/23685)

<div class="topic-metadata">

**Author:** [@Abhijit\_Chakraborty](https://forum.ansible.com/u/Abhijit_Chakraborty)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 4:38am UTC](https://forum.ansible.com/t/get-url-unable-to-download-from-ftp-link/23685 "2017-02-09T04:38:10Z")

</div>

Hello experts, I have been unable to download a file via ftp using get\_url.This is the contents of my yml file

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

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