# Latest

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

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

**Page:** 722

---

## [Ansible playbooks for vmware modules](https://forum.ansible.com/t/ansible-playbooks-for-vmware-modules/22671)

<div class="topic-metadata">

**Author:** [@Karthikeyan\_S](https://forum.ansible.com/u/Karthikeyan_S)\
**Replies:** 0\
**Last updated:** [September 29, 2016, 6:31am UTC](https://forum.ansible.com/t/ansible-playbooks-for-vmware-modules/22671 "2016-09-29T06:31:07Z")

</div>

Hi, Does anyone has playbook for vmware modules ? I am looking to re-use it instead of constructing from scratch ? Regards, Karthik

---

## [delegate\_to, templates and roles. Files are not being created in /tmp](https://forum.ansible.com/t/delegate-to-templates-and-roles-files-are-not-being-created-in-tmp/22663)

<div class="topic-metadata">

**Author:** [@Chethan\_S](https://forum.ansible.com/u/Chethan_S)\
**Replies:** 3\
**Last updated:** [September 29, 2016, 6:27am UTC](https://forum.ansible.com/t/delegate-to-templates-and-roles-files-are-not-being-created-in-tmp/22663 "2016-09-29T06:27:58Z")

</div>

I have an Ansible role (resides in …/roles/rolename/tasks) which goes like this - \` name: Creating the PowerShell Scripts necessary template: src=script.ps1 dest=/tmp/{{item}}.ps1 with\_items: “{{ names }}” delegate…

---

## [Info about docker containers](https://forum.ansible.com/t/info-about-docker-containers/22664)

<div class="topic-metadata">

**Author:** [@Ionut\_Cadariu](https://forum.ansible.com/u/Ionut_Cadariu)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 5:30am UTC](https://forum.ansible.com/t/info-about-docker-containers/22664 "2016-09-29T05:30:19Z")

</div>

Hello, I have docker containers running on multiple hosts and I need to find a way of synchronizing a list of logs from each of these containers to the ansible server but I can’t find a way to do it. Can someone point …

---

## [Question: with\_sequence and registered variables not having anticipated outcome](https://forum.ansible.com/t/question-with-sequence-and-registered-variables-not-having-anticipated-outcome/22660)

<div class="topic-metadata">

**Author:** [@Chris\_Stobie](https://forum.ansible.com/u/Chris_Stobie)\
**Replies:** 5\
**Last updated:** [September 29, 2016, 4:26am UTC](https://forum.ansible.com/t/question-with-sequence-and-registered-variables-not-having-anticipated-outcome/22660 "2016-09-29T04:26:05Z")

</div>

I have a playbook that creates an ec2 instance and from that creation I want to register the output as a var. From there I would use the registered var to create and attach an ebs volume. However I’m running into the fol…

---

## [rds ansible module throwing error allowmajorupgradeversion](https://forum.ansible.com/t/rds-ansible-module-throwing-error-allowmajorupgradeversion/22669)

<div class="topic-metadata">

**Author:** [@Nitin\_Ayyagari](https://forum.ansible.com/u/Nitin_Ayyagari)\
**Replies:** 0\
**Last updated:** [September 29, 2016, 2:41am UTC](https://forum.ansible.com/t/rds-ansible-module-throwing-error-allowmajorupgradeversion/22669 "2016-09-29T02:41:49Z")

</div>

I’m trying to upgrade mysql rds from 5.5 to 5.6 using ansible rds module. However its throwing that AllowMajorUpgradeVersion flag must be present but docs donot have that option. can anyone help me please how to pass thi…

---

## [How to docker exec in ansible?](https://forum.ansible.com/t/how-to-docker-exec-in-ansible/22668)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 0\
**Last updated:** [September 29, 2016, 2:27am UTC](https://forum.ansible.com/t/how-to-docker-exec-in-ansible/22668 "2016-09-29T02:27:45Z")

</div>

I would like to build a container then run some commands on it… name: Log into DockerHub docker\_login: username: “{{docker\_hub\_username}}” password: “{{docker\_hub\_password}}” email: “{{docker\_hub\_email}}” name: Bui…

---

## [Ansible Tower - slack module gives me Permission Denied error.](https://forum.ansible.com/t/ansible-tower-slack-module-gives-me-permission-denied-error/22667)

<div class="topic-metadata">

**Author:** [@tom.moretto](https://forum.ansible.com/u/tom.moretto)\
**Replies:** 0\
**Last updated:** [September 28, 2016, 7:52pm UTC](https://forum.ansible.com/t/ansible-tower-slack-module-gives-me-permission-denied-error/22667 "2016-09-28T19:52:24Z")

</div>

any input/guidance is much appreciated. not sure where the failure is at, but here is my playbook: \` hosts: all tasks: name: Send starting notification via Slack local\_action: module: “slack” token: “{{ slack\_…

---

## [snmp information gathering](https://forum.ansible.com/t/snmp-information-gathering/22666)

<div class="topic-metadata">

**Author:** [@Mark\_Prangnell](https://forum.ansible.com/u/Mark_Prangnell)\
**Replies:** 0\
**Last updated:** [September 28, 2016, 1:55pm UTC](https://forum.ansible.com/t/snmp-information-gathering/22666 "2016-09-28T13:55:14Z")

</div>

Hi, I’m new to Ansible and am after some assistance with the snmp\_facts module. I am looking to extract some information using snmp\_facts but the OIDs are not included by default. I know they exist as I can get the info…

---

## [Ansible 2.1.2 RC5 is ready for testing](https://forum.ansible.com/t/ansible-2-1-2-rc5-is-ready-for-testing/22652)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 4\
**Last updated:** [September 28, 2016, 10:36am UTC](https://forum.ansible.com/t/ansible-2-1-2-rc5-is-ready-for-testing/22652 "2016-09-28T10:36:20Z")

</div>

Hi all, we’re happy to announce that RC5 for 2.1.2 is now available for testing. This release candidate fixes a bug introduced in the mount module in RC4. How do you get it?

---

## [I can't execute java program](https://forum.ansible.com/t/i-cant-execute-java-program/22650)

<div class="topic-metadata">

**Author:** [@user94](https://forum.ansible.com/u/user94)\
**Replies:** 1\
**Last updated:** [September 28, 2016, 7:23am UTC](https://forum.ansible.com/t/i-cant-execute-java-program/22650 "2016-09-28T07:23:11Z")

</div>

Hi, May I ask for execute java program with ansible? I execute a java program (spring boot project, a jar package for java web site) ansible ofbiz1 -m shell -a “chdir=/opt/CassEC-OrderSupports nohup java -jar product.…

---

## [ansible hang on setup stage](https://forum.ansible.com/t/ansible-hang-on-setup-stage/22658)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [September 28, 2016, 6:41am UTC](https://forum.ansible.com/t/ansible-hang-on-setup-stage/22658 "2016-09-28T06:41:42Z")

</div>

Hello Sorry for the previous mail, went out accidentally before I had prepared. ansible 2.1.1.0 centos 6.8 (control machine) RHEL 6.6 (Managed machine) I have a role that works fine with all the rest of the systems,…

---

## [Beginning Adventures with Docker Module](https://forum.ansible.com/t/beginning-adventures-with-docker-module/22662)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 0\
**Last updated:** [September 28, 2016, 2:00am UTC](https://forum.ansible.com/t/beginning-adventures-with-docker-module/22662 "2016-09-28T02:00:26Z")

</div>

I created a vagrant environment to rapidly test code, and a custom inventory.py. But alas, hosts: dockerexp.dev doesn’t work, so screw it, hosts: all. Now I have functional environment, time to do some docker stuff, try…

---

## [Question: with\_sequence and registered vars when creating ec2 instance](https://forum.ansible.com/t/question-with-sequence-and-registered-vars-when-creating-ec2-instance/22661)

<div class="topic-metadata">

**Author:** [@Christopher\_Stobie](https://forum.ansible.com/u/Christopher_Stobie)\
**Replies:** 0\
**Last updated:** [September 28, 2016, 1:08am UTC](https://forum.ansible.com/t/question-with-sequence-and-registered-vars-when-creating-ec2-instance/22661 "2016-09-28T01:08:59Z")

</div>

I have a playbook that creates an ec2 instance and from that creation I want to register the output as a var. From there I would use the registered var to create and attach an ebs volume. However I’m running into the fol…

---

## [Ansible Tower skipping valid tasks without even acknowledging they exist.](https://forum.ansible.com/t/ansible-tower-skipping-valid-tasks-without-even-acknowledging-they-exist/22659)

<div class="topic-metadata">

**Author:** [@Ian\_Dennison](https://forum.ansible.com/u/Ian_Dennison)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 10:35pm UTC](https://forum.ansible.com/t/ansible-tower-skipping-valid-tasks-without-even-acknowledging-they-exist/22659 "2016-09-27T22:35:58Z")

</div>

I am running a playbook that adds a subdirectory on the Ansible Tower host (defined as a group of Servers with one entry) for every userid name in a variables list. I have integrated the variables and inventories from an…

---

## [ansible hang on setup stage](https://forum.ansible.com/t/ansible-hang-on-setup-stage/22657)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 9:53pm UTC](https://forum.ansible.com/t/ansible-hang-on-setup-stage/22657 "2016-09-27T21:53:39Z")

</div>

Hello,

---

## [How do I change a vmware VM network after deployment.](https://forum.ansible.com/t/how-do-i-change-a-vmware-vm-network-after-deployment/22656)

<div class="topic-metadata">

**Author:** [@Mike\_Schlottman](https://forum.ansible.com/u/Mike_Schlottman)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 9:09pm UTC](https://forum.ansible.com/t/how-do-i-change-a-vmware-vm-network-after-deployment/22656 "2016-09-27T21:09:12Z")

</div>

I cloned a vmware VM from a template. Now I need to change the network to a different network port group. I tried using vsphere\_guest to change the network, but reconfigure only seems to work for CPU, Memory and CDROM. I…

---

## [os\_server fails with "Error in creating instance (Inner Exception: create() takes at least 4 non-keyword arguments (2 given))"](https://forum.ansible.com/t/os-server-fails-with-error-in-creating-instance-inner-exception-create-takes-at-least-4-non-keyword-arguments-2-given/22649)

<div class="topic-metadata">

**Author:** [@Richard\_Eggert](https://forum.ansible.com/u/Richard_Eggert)\
**Replies:** 5\
**Last updated:** [September 27, 2016, 7:25pm UTC](https://forum.ansible.com/t/os-server-fails-with-error-in-creating-instance-inner-exception-create-takes-at-least-4-non-keyword-arguments-2-given/22649 "2016-09-27T19:25:39Z")

</div>

I managed to get the os\_server\_facts module working, but when I try to use the os\_server module to create a new VM instance, I get the following error: Error in creating instance (Inner Exception: create() takes at leas…

---

## [Service Module ERROR : No JSON Could be decoded](https://forum.ansible.com/t/service-module-error-no-json-could-be-decoded/22655)

<div class="topic-metadata">

**Author:** [@mohan.kaimal](https://forum.ansible.com/u/mohan.kaimal)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 6:11pm UTC](https://forum.ansible.com/t/service-module-error-no-json-could-be-decoded/22655 "2016-09-27T18:11:50Z")

</div>

ansible --version ansible 2.1.1.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides While running the below playbook , i’m getting JSON object error at the service stop leve…

---

## [Python module import errors on devel, Ubuntu 16.04](https://forum.ansible.com/t/python-module-import-errors-on-devel-ubuntu-16-04/22654)

<div class="topic-metadata">

**Author:** [@viper233](https://forum.ansible.com/u/viper233)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 5:26pm UTC](https://forum.ansible.com/t/python-module-import-errors-on-devel-ubuntu-16-04/22654 "2016-09-27T17:26:22Z")

</div>

I was looking to start work on a new module, start writing tests, after rebase-ing devel I’m now getting an error when trying to run Ansible from source on Ubuntu 16.04. This error has only started occurring in the past …

---

## [aws ec2\_key module permission denied error in ANSIBLE TOWER](https://forum.ansible.com/t/aws-ec2-key-module-permission-denied-error-in-ansible-tower/22653)

<div class="topic-metadata">

**Author:** [@pinky](https://forum.ansible.com/u/pinky)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 4:49pm UTC](https://forum.ansible.com/t/aws-ec2-key-module-permission-denied-error-in-ansible-tower/22653 "2016-09-27T16:49:13Z")

</div>

Hi all, Iam new bee to Ansible tower, When iam running this module in tower it shows me permission denied.My credentials for aws are correct and it autheticates successfully in tower .But When loading this module it sho…

---

## [ansible Error while installation](https://forum.ansible.com/t/ansible-error-while-installation/22575)

<div class="topic-metadata">

**Author:** [@Ramesh](https://forum.ansible.com/u/Ramesh)\
**Replies:** 5\
**Last updated:** [September 27, 2016, 3:12pm UTC](https://forum.ansible.com/t/ansible-error-while-installation/22575 "2016-09-27T15:12:59Z")

</div>

Hi Here, While Im installing the ansible on MacOS X EI Capitan, Im getting below one after installation and doing ansible --version Rameshs-MacBook-Pro:~ Ramesh$ ansible --version ansible 2.1.1.0 config file = conf…

---

## [Ansible 2.1.2 RC4 is ready for testing](https://forum.ansible.com/t/ansible-2-1-2-rc4-is-ready-for-testing/22648)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 3\
**Last updated:** [September 27, 2016, 2:52pm UTC](https://forum.ansible.com/t/ansible-2-1-2-rc4-is-ready-for-testing/22648 "2016-09-27T14:52:52Z")

</div>

Hi all, we’re happy to announce that RC4 for 2.1.2 is now available for testing. This release candidate also adds the following fixes for bugs: Fixed a bug related to creation of retry files (#17456) Fixed a bug in th…

---

## [How to access a certain element of a register variable in a loop](https://forum.ansible.com/t/how-to-access-a-certain-element-of-a-register-variable-in-a-loop/22644)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 5\
**Last updated:** [September 27, 2016, 2:09pm UTC](https://forum.ansible.com/t/how-to-access-a-certain-element-of-a-register-variable-in-a-loop/22644 "2016-09-27T14:09:40Z")

</div>

I discovered the other day that when a register variable is used in a loop, like this \` name: Generate pw’s for users command: “/some\_path/generate\_hashed\_pw.sh -u {{ item }}” register: hashed\_pws with\_items: joe s…

---

## [how to verify all parameters are set and different from space in a csv file ?](https://forum.ansible.com/t/how-to-verify-all-parameters-are-set-and-different-from-space-in-a-csv-file/22651)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 6\
**Last updated:** [September 27, 2016, 12:38pm UTC](https://forum.ansible.com/t/how-to-verify-all-parameters-are-set-and-different-from-space-in-a-csv-file/22651 "2016-09-27T12:38:56Z")

</div>

Hello, I read a csv file with the lookup command with a loop on the items: tasks: set\_fact: “{{ item.name }}”: “{{ lookup(‘csvfile’, ‘{{ item.csvvar }} file=vars/fvaltat.csv delimiter=; col=1’) }}” with\_items: { na…

---

## [Blockinfile module not in the right place?](https://forum.ansible.com/t/blockinfile-module-not-in-the-right-place/22595)

<div class="topic-metadata">

**Author:** [@Clifford\_Trueman](https://forum.ansible.com/u/Clifford_Trueman)\
**Replies:** 1\
**Last updated:** [September 26, 2016, 10:46pm UTC](https://forum.ansible.com/t/blockinfile-module-not-in-the-right-place/22595 "2016-09-26T22:46:54Z")

</div>

So running into a few issues running blockinfile for a few tests. I created a really basic playbook literally form the ansible doc example - name: insert/update eth0 configuration stanza in /etc/network/interfaces …

---

## [Parsing output from CLI](https://forum.ansible.com/t/parsing-output-from-cli/22646)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 1\
**Last updated:** [September 26, 2016, 9:54pm UTC](https://forum.ansible.com/t/parsing-output-from-cli/22646 "2016-09-26T21:54:13Z")

</div>

Hi - I’m at a point in my Ansible development where I think I need to write a module. We use a third party messaging server called SwiftMQ. It’s very similar to RabbitMQ & ActiveMQ. SwiftMQ (SMQ) doesn’t provide an API …

---

## [Ansible 2.1.2 RC3 is ready for testing](https://forum.ansible.com/t/ansible-2-1-2-rc3-is-ready-for-testing/22548)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 2\
**Last updated:** [September 26, 2016, 7:40pm UTC](https://forum.ansible.com/t/ansible-2-1-2-rc3-is-ready-for-testing/22548 "2016-09-26T19:40:19Z")

</div>

Hi all, we’re happy to announce that RC3 for 2.1.2 is now available for testing. This release candidate also adds the following fixes for bugs: Backported a fix for a bug in the \_fixup\_perms module helper code (#17427)…

---

## [Deployment YAML script](https://forum.ansible.com/t/deployment-yaml-script/22647)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 0\
**Last updated:** [September 26, 2016, 7:21pm UTC](https://forum.ansible.com/t/deployment-yaml-script/22647 "2016-09-26T19:21:39Z")

</div>

I am running a Yaml deployment on with Jenkins. I specified the branch (develop) but when I run the YAML I am getting error message . ​The weird stuff is I have already added the key to bitbucket deployment key . any id…

---

## [per host configuration option](https://forum.ansible.com/t/per-host-configuration-option/14550)

<div class="topic-metadata">

**Author:** [@Makimoto\_Marakatti](https://forum.ansible.com/u/Makimoto_Marakatti)\
**Replies:** 19\
**Last updated:** [September 26, 2016, 7:09pm UTC](https://forum.ansible.com/t/per-host-configuration-option/14550 "2016-09-26T19:09:13Z")

</div>

Hi I’ve got a machine that needs to have remote\_tmp set to “$HOME/.ansible/tmp”. But this gives me issues with the rest of the boxes. So the option in the config file says “remote\_tmp = /tmp”. I’ve tried to set the opt…

---

## [Shade not available via yum?](https://forum.ansible.com/t/shade-not-available-via-yum/22628)

<div class="topic-metadata">

**Author:** [@Richard\_Eggert](https://forum.ansible.com/u/Richard_Eggert)\
**Replies:** 14\
**Last updated:** [September 26, 2016, 6:36pm UTC](https://forum.ansible.com/t/shade-not-available-via-yum/22628 "2016-09-26T18:36:05Z")

</div>

I installed Ansible using yum on CentOS 6.8 via a corporate mirror of EPEL. However, when I attempted to use the os\_server module to interact with the OpenStack API, it failed saying that “shade” is required. When I went…

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

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