# Latest

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

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

**Page:** 901

---

## [Standard user account used for initiating builds / rollouts using Ansible](https://forum.ansible.com/t/standard-user-account-used-for-initiating-builds-rollouts-using-ansible/17338)

<div class="topic-metadata">

**Author:** [@Stuart\_Budd](https://forum.ansible.com/u/Stuart_Budd)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 8:08pm UTC](https://forum.ansible.com/t/standard-user-account-used-for-initiating-builds-rollouts-using-ansible/17338 "2015-01-21T20:08:08Z")

</div>

Hi I have a general question please with regards to what account I should use as the \* standard \* user for initiating Ansible deployments / rollouts. I know that the use of the term \* standard \* could be a little trick…

---

## [Docker Module. Defining Ports](https://forum.ansible.com/t/docker-module-defining-ports/17344)

<div class="topic-metadata">

**Author:** [@cselden](https://forum.ansible.com/u/cselden)\
**Replies:** 0\
**Last updated:** [January 21, 2015, 5:49pm UTC](https://forum.ansible.com/t/docker-module-defining-ports/17344 "2015-01-21T17:49:16Z")

</div>

Hi, I’m trying to start Docker using the core module provided by Ansible and I’m running into issues defining ports forwarding. It is currently defined as: ports: “40000:8185,40001:22,40002:61000” When the playbook r…

---

## [Nore more landscape-common: nearly 30% speed increase with stock Ubuntu servers](https://forum.ansible.com/t/nore-more-landscape-common-nearly-30-speed-increase-with-stock-ubuntu-servers/17343)

<div class="topic-metadata">

**Author:** [@Willem\_de\_Groot](https://forum.ansible.com/u/Willem_de_Groot)\
**Replies:** 1\
**Last updated:** [January 21, 2015, 5:16pm UTC](https://forum.ansible.com/t/nore-more-landscape-common-nearly-30-speed-increase-with-stock-ubuntu-servers/17343 "2015-01-21T17:16:18Z")

</div>

My colleague Gertjan found out that purging landscape-common on Ubuntu Precise servers decreases our playbook execution time from 3m5s to 2m10s. Quite a win. I’ve put together a quick blog about it: https://www.byte.nl/…

---

## [Dynamic inventory and group vars](https://forum.ansible.com/t/dynamic-inventory-and-group-vars/17340)

<div class="topic-metadata">

**Author:** [@Niko\_Felger](https://forum.ansible.com/u/Niko_Felger)\
**Replies:** 0\
**Last updated:** [January 21, 2015, 4:20pm UTC](https://forum.ansible.com/t/dynamic-inventory-and-group-vars/17340 "2015-01-21T16:20:05Z")

</div>

Hi, I’ve been using ansible for half a year and have been really happy with it so far, so first of all: thanks for all the great work on this project! We’re moving from static to dynamic inventory, but I’m having troub…

---

## [postgres\_user usage](https://forum.ansible.com/t/postgres-user-usage/17339)

<div class="topic-metadata">

**Author:** [@jwerak](https://forum.ansible.com/u/jwerak)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 3:46pm UTC](https://forum.ansible.com/t/postgres-user-usage/17339 "2015-01-21T15:46:03Z")

</div>

Hi, I am trying to create replication user with following task: name: Create replication db user postgresql\_user: name: ‘replication’ encrypted: yes role\_attr\_flags: REPLICATION password: “{{ python\_hash\_test.std…

---

## [Using Ansible on Ubuntu to stop+rm+run docker containers; getting an ssh error regarding docker socket](https://forum.ansible.com/t/using-ansible-on-ubuntu-to-stop-rm-run-docker-containers-getting-an-ssh-error-regarding-docker-socket/17092)

<div class="topic-metadata">

**Author:** [@Kenneth\_Wolcott](https://forum.ansible.com/u/Kenneth_Wolcott)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 2:51pm UTC](https://forum.ansible.com/t/using-ansible-on-ubuntu-to-stop-rm-run-docker-containers-getting-an-ssh-error-regarding-docker-socket/17092 "2015-01-21T14:51:33Z")

</div>

Hi; I have a Mac Book Air running Yosemite that hosts a Ubuntu 14.04 (server) VirtualBox guest OS. I'm using docker 1.4.0 on the Ubuntu guest. I'm using Ansible 1.8.2 and I'm using the Ansible docker module. …

---

## [source input from a file (exp: package names and versions from an excel or a csv)](https://forum.ansible.com/t/source-input-from-a-file-exp-package-names-and-versions-from-an-excel-or-a-csv/17337)

<div class="topic-metadata">

**Author:** [@Sagayaraj\_A](https://forum.ansible.com/u/Sagayaraj_A)\
**Replies:** 1\
**Last updated:** [January 21, 2015, 2:43pm UTC](https://forum.ansible.com/t/source-input-from-a-file-exp-package-names-and-versions-from-an-excel-or-a-csv/17337 "2015-01-21T14:43:58Z")

</div>

I’m looking for a way to input names of packages (around 100+ packages - actually it’s dynamic) and allow ansible to run a playbook against these packages (update or install etc). I can’t seem to find anyway except by ad…

---

## [AWS\_SECRET\_KEY I need to rstrip('/r') on ubuntu or I get an error](https://forum.ansible.com/t/aws-secret-key-i-need-to-rstrip-r-on-ubuntu-or-i-get-an-error/17293)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 2\
**Last updated:** [January 21, 2015, 2:40pm UTC](https://forum.ansible.com/t/aws-secret-key-i-need-to-rstrip-r-on-ubuntu-or-i-get-an-error/17293 "2015-01-21T14:40:19Z")

</div>

I’m on ubuntu 14.04 \[(master)\] ansible --version ansible 1.8.2 If I just define AWS\_SECRET\_KEY,AWS\_ACCESS\_KEY in my bash env, I get the following error with all ec2 modules. boto.exception.EC2ResponseError: EC2Respo…

---

## [Ansible sometimes encountered error 'SSH encountered an unknown error during the connection. '](https://forum.ansible.com/t/ansible-sometimes-encountered-error-ssh-encountered-an-unknown-error-during-the-connection/17334)

<div class="topic-metadata">

**Author:** [@user113](https://forum.ansible.com/u/user113)\
**Replies:** 1\
**Last updated:** [January 21, 2015, 2:33pm UTC](https://forum.ansible.com/t/ansible-sometimes-encountered-error-ssh-encountered-an-unknown-error-during-the-connection/17334 "2015-01-21T14:33:54Z")

</div>

I am pretty sure the private key and user are correct for ansible script because we only occasionally see this error. So I suspect the network connection can not be reached sometimes or SSH service is not started on remo…

---

## [Run a single role in playbook](https://forum.ansible.com/t/run-a-single-role-in-playbook/17336)

<div class="topic-metadata">

**Author:** [@Andrew\_Craft](https://forum.ansible.com/u/Andrew_Craft)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 12:46pm UTC](https://forum.ansible.com/t/run-a-single-role-in-playbook/17336 "2015-01-21T12:46:03Z")

</div>

In the same way that you can use tags to target specific tasks in a large playbook, is it possible to filter by roles? Tags are useful but often find i am tagging all tasks in a role with same tag so i can run just those…

---

## [bug in lvg module?](https://forum.ansible.com/t/bug-in-lvg-module/17325)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 6\
**Last updated:** [January 21, 2015, 6:46am UTC](https://forum.ansible.com/t/bug-in-lvg-module/17325 "2015-01-21T06:46:03Z")

</div>

Hi List, I’m trying to create an lvg using the lvg ansible module like so: - name: Maak een vg-tc lvg: vg=vg.osddata.raven pvs=/dev/xvdb,/dev/xvdc state=present But I’m getting this error back: failed: \[10.220.225…

---

## [Returning a value from my playbook to the python client](https://forum.ansible.com/t/returning-a-value-from-my-playbook-to-the-python-client/17333)

<div class="topic-metadata">

**Author:** [@Ritesh\_Shetty](https://forum.ansible.com/u/Ritesh_Shetty)\
**Replies:** 2\
**Last updated:** [January 21, 2015, 3:58am UTC](https://forum.ansible.com/t/returning-a-value-from-my-playbook-to-the-python-client/17333 "2015-01-21T03:58:07Z")

</div>

Hi All, I am using the python api to call the playbook. Something like this pb = ansible.playbook.PlayBook( playbook=playbook, remote\_pass=sshpass, callbacks=playbook\_cb, runner\_callbacks=runner\_cb, stats=stats, …

---

## [Attempting to combine sub\_items and when for application deployment](https://forum.ansible.com/t/attempting-to-combine-sub-items-and-when-for-application-deployment/17318)

<div class="topic-metadata">

**Author:** [@Lyle\_Dietz](https://forum.ansible.com/u/Lyle_Dietz)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 3:52am UTC](https://forum.ansible.com/t/attempting-to-combine-sub-items-and-when-for-application-deployment/17318 "2015-01-21T03:52:35Z")

</div>

I’m trying to deploy specific Java EE EARs to a host based on what groups that host is in. Each EAR goes in to it’s own deployable directory because we’re running each application component in it’s own container. What …

---

## [Possible bug when using serial: and --start-from-task](https://forum.ansible.com/t/possible-bug-when-using-serial-and-start-from-task/17332)

<div class="topic-metadata">

**Author:** [@Ivan\_Dimitrov](https://forum.ansible.com/u/Ivan_Dimitrov)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 10:54pm UTC](https://forum.ansible.com/t/possible-bug-when-using-serial-and-start-from-task/17332 "2015-01-20T22:54:05Z")

</div>

Hello Group, I think I found a possible bug when using the serial: and start-from-task together. I expect to loop through all my hosts in the host group and start from the specific task for all hosts. But it starts the…

---

## [How to update host variables](https://forum.ansible.com/t/how-to-update-host-variables/17303)

<div class="topic-metadata">

**Author:** [@Peter\_Mooshammer](https://forum.ansible.com/u/Peter_Mooshammer)\
**Replies:** 4\
**Last updated:** [January 20, 2015, 9:05pm UTC](https://forum.ansible.com/t/how-to-update-host-variables/17303 "2015-01-20T21:05:02Z")

</div>

Hi there, I do the following on gce: name: Launch instances gce: instance\_names: abc network: dfe machine\_type: “{{ machine\_type }}” image: “{{ image }}” zone: “{{ zone }}” tags: test register: gce name: r…

---

## [Grouping variables when using Dynamic Inventory](https://forum.ansible.com/t/grouping-variables-when-using-dynamic-inventory/17329)

<div class="topic-metadata">

**Author:** [@Dan\_Storm](https://forum.ansible.com/u/Dan_Storm)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 6:53pm UTC](https://forum.ansible.com/t/grouping-variables-when-using-dynamic-inventory/17329 "2015-01-20T18:53:46Z")

</div>

Hi. I’m looking at having three environments. A development, staging and production environment. Development environment is a local Vagrant box. Staging would be a DigitalOcean droplet. Production would be several D…

---

## [What is the proper name for an Ansible "installation"?](https://forum.ansible.com/t/what-is-the-proper-name-for-an-ansible-installation/17297)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 2\
**Last updated:** [January 20, 2015, 6:11pm UTC](https://forum.ansible.com/t/what-is-the-proper-name-for-an-ansible-installation/17297 "2015-01-20T18:11:38Z")

</div>

Hi all, I have a growing Ansible installation rooted in a directory (named at present “ansible-stuff” :slight\_smile: that follows the design promulgated in http://docs.ansible.com/playbooks\_best\_practices.html#content-o…

---

## [Windows access denied](https://forum.ansible.com/t/windows-access-denied/17322)

<div class="topic-metadata">

**Author:** [@KlimaXima](https://forum.ansible.com/u/KlimaXima)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 12:47pm UTC](https://forum.ansible.com/t/windows-access-denied/17322 "2015-01-20T12:47:14Z")

</div>

Hello all, I am following this turorial http://docs.ansible.com/intro\_windows.html to install the python on ansible but i keep running into problem. I think it has something to do with the windows run as administrator o…

---

## [Can role depndencies be overridden?](https://forum.ansible.com/t/can-role-depndencies-be-overridden/17326)

<div class="topic-metadata">

**Author:** [@junkmailtrapenator](https://forum.ansible.com/u/junkmailtrapenator)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 12:37pm UTC](https://forum.ansible.com/t/can-role-depndencies-be-overridden/17326 "2015-01-20T12:37:03Z")

</div>

Let’s say I install a role from Ansible Galaxy: \` $ ansible-galaxy install SomeUser.role1 \` Now this role is great and does exactly what I want except it has a role dependency on 'SomeUser.role2 which I don’t need or…

---

## [Possible bug with 1.8.x : Loading environment specific variable files via vars\_files no longer working for - \[\] syntax](https://forum.ansible.com/t/possible-bug-with-1-8-x-loading-environment-specific-variable-files-via-vars-files-no-longer-working-for-syntax/17257)

<div class="topic-metadata">

**Author:** [@Aliaksei\_Ilkiu](https://forum.ansible.com/u/Aliaksei_Ilkiu)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 10:09am UTC](https://forum.ansible.com/t/possible-bug-with-1-8-x-loading-environment-specific-variable-files-via-vars-files-no-longer-working-for-syntax/17257 "2015-01-20T10:09:05Z")

</div>

I have a variable ourenv that defines specific environment. This variable is defined in inventory file a used to load environment specific values via vars\_files as demonstrated in https://gist.github.com/marktheunissen/2…

---

## [Task performs work despite conditional](https://forum.ansible.com/t/task-performs-work-despite-conditional/17302)

<div class="topic-metadata">

**Author:** [@James\_Morgan1](https://forum.ansible.com/u/James_Morgan1)\
**Replies:** 7\
**Last updated:** [January 20, 2015, 9:56am UTC](https://forum.ansible.com/t/task-performs-work-despite-conditional/17302 "2015-01-20T09:56:50Z")

</div>

Hi, I have the following task \` name: Create ec2 key pair using local key when: ec2\_key\_material is defined ec2\_key: name: “{{ ec2\_key\_name }}” region: “{{ ec2\_region }}” key\_material: “{{ item }}” with\_file: …

---

## [Variable: register: ec2 is not properly parsed when used](https://forum.ansible.com/t/variable-register-ec2-is-not-properly-parsed-when-used/17323)

<div class="topic-metadata">

**Author:** [@Ivan\_Dimitrov](https://forum.ansible.com/u/Ivan_Dimitrov)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 8:39am UTC](https://forum.ansible.com/t/variable-register-ec2-is-not-properly-parsed-when-used/17323 "2015-01-20T08:39:29Z")

</div>

Hello Guys, This is the first time I write to the group, so please bare with me if I miss something or my English is bad. I want to create ec2 instances and use the output of the ec2 module as input for other tasks, li…

---

## [win\_package module](https://forum.ansible.com/t/win-package-module/17314)

<div class="topic-metadata">

**Author:** [@mssmss0606](https://forum.ansible.com/u/mssmss0606)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 8:10am UTC](https://forum.ansible.com/t/win-package-module/17314 "2015-01-20T08:10:02Z")

</div>

Hello, I’m looking for the win\_package module. Could you tell me where is it possible to get or download it ?? Best regards. mby.

---

## [Possible bug when using serial and run\_once](https://forum.ansible.com/t/possible-bug-when-using-serial-and-run-once/17321)

<div class="topic-metadata">

**Author:** [@Ivan\_Dimitrov](https://forum.ansible.com/u/Ivan_Dimitrov)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 7:36am UTC](https://forum.ansible.com/t/possible-bug-when-using-serial-and-run-once/17321 "2015-01-20T07:36:21Z")

</div>

Hello Group, Here is another possible bug. When using serial and run\_once, the run\_once command is executed for every serial-loop, instead of once for the entire playbook. I expected it to run only once for the entire p…

---

## [Possible bug when usnig setial: and --start-from-task](https://forum.ansible.com/t/possible-bug-when-usnig-setial-and-start-from-task/17320)

<div class="topic-metadata">

**Author:** [@Ivan\_Dimitrov](https://forum.ansible.com/u/Ivan_Dimitrov)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 7:31am UTC](https://forum.ansible.com/t/possible-bug-when-usnig-setial-and-start-from-task/17320 "2015-01-20T07:31:48Z")

</div>

Hello Group, I think I found a possible bug when using the serial: and start-from-task together. I expect to loop through all my hosts in the host group and start from the specific task for all hosts. But it starts the…

---

## [Variable: register: ec2 is not properly parsed when used](https://forum.ansible.com/t/variable-register-ec2-is-not-properly-parsed-when-used/17319)

<div class="topic-metadata">

**Author:** [@Ivan\_Dimitrov](https://forum.ansible.com/u/Ivan_Dimitrov)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 7:16am UTC](https://forum.ansible.com/t/variable-register-ec2-is-not-properly-parsed-when-used/17319 "2015-01-20T07:16:57Z")

</div>

Hello Guys, This is the first time I write to the group, so please bare with me if I miss something or my English is bad. I want to create ec2 instances and use the output of the ec2 module as input for other tasks, li…

---

## [Docker pull with sudo inline works but sudo enabled at the top of the ansible playbook fails](https://forum.ansible.com/t/docker-pull-with-sudo-inline-works-but-sudo-enabled-at-the-top-of-the-ansible-playbook-fails/17317)

<div class="topic-metadata">

**Author:** [@Kenneth\_Wolcott](https://forum.ansible.com/u/Kenneth_Wolcott)\
**Replies:** 2\
**Last updated:** [January 20, 2015, 1:32am UTC](https://forum.ansible.com/t/docker-pull-with-sudo-inline-works-but-sudo-enabled-at-the-top-of-the-ansible-playbook-fails/17317 "2015-01-20T01:32:56Z")

</div>

Hello there; Has anybody experienced a problem with "docker pull" as the action of an ansible playbook when sudo is enabled at the top of the ansible playbook, but the failure goes away when the action is replaced b…

---

## [Unexpected behavior - bug or user error?](https://forum.ansible.com/t/unexpected-behavior-bug-or-user-error/17315)

<div class="topic-metadata">

**Author:** [@Don\_Jackson1](https://forum.ansible.com/u/Don_Jackson1)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 11:55pm UTC](https://forum.ansible.com/t/unexpected-behavior-bug-or-user-error/17315 "2015-01-19T23:55:12Z")

</div>

While attempting to use the sysctl module like this: sysctl: name: vm.swappiness value: 0 state: present reload: true I got the following error: TASK: \[Ensure vm.swappiness is set to 0\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [problems with with\_subelements](https://forum.ansible.com/t/problems-with-with-subelements/17316)

<div class="topic-metadata">

**Author:** [@Robb\_Wagoner](https://forum.ansible.com/u/Robb_Wagoner)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 11:51pm UTC](https://forum.ansible.com/t/problems-with-with-subelements/17316 "2015-01-19T23:51:19Z")

</div>

Hello, I am attempting to make my EC2 VPC infrastructure indempotent. I have a list of VPC dictionaries for a region. Each VPC has a list of security\_groups. I am having problems using the with\_subelements: loop/lookup …

---

## [Add new routes to existing route table in vpc](https://forum.ansible.com/t/add-new-routes-to-existing-route-table-in-vpc/17313)

<div class="topic-metadata">

**Author:** [@sanveer76](https://forum.ansible.com/u/sanveer76)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 7:59pm UTC](https://forum.ansible.com/t/add-new-routes-to-existing-route-table-in-vpc/17313 "2015-01-19T19:59:51Z")

</div>

I am trying to add new routes to an existing vpc route table , and am not able to accomplish this. The playbook just runs without any error and doesnt do anything. Is this a feature to be implemented or is this a bug?

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

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