# Latest

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

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

**Page:** 694

---

## [ios\_config module questions](https://forum.ansible.com/t/ios-config-module-questions/23483)

<div class="topic-metadata">

**Author:** [@Stijn](https://forum.ansible.com/u/Stijn)\
**Replies:** 2\
**Last updated:** [January 19, 2017, 3:43pm UTC](https://forum.ansible.com/t/ios-config-module-questions/23483 "2017-01-19T15:43:46Z")

</div>

Hey everyone, I’m giving Ansible a try and I’m quite impressed. I have a couple of questions regarding the ios\_config module. \`

---

## [rds module - storage parameters](https://forum.ansible.com/t/rds-module-storage-parameters/23503)

<div class="topic-metadata">

**Author:** [@a\_folgueira](https://forum.ansible.com/u/a_folgueira)\
**Replies:** 0\
**Last updated:** [January 19, 2017, 3:29pm UTC](https://forum.ansible.com/t/rds-module-storage-parameters/23503 "2017-01-19T15:29:23Z")

</div>

Hello Is there a way on the rds module to specify the rds instance storage type, if it is encrypted and the kms key used for encryption? Thanks

---

## [Ansible Training India](https://forum.ansible.com/t/ansible-training-india/23486)

<div class="topic-metadata">

**Author:** [@Jagadishan\_Perumal](https://forum.ansible.com/u/Jagadishan_Perumal)\
**Replies:** 1\
**Last updated:** [January 19, 2017, 12:55am UTC](https://forum.ansible.com/t/ansible-training-india/23486 "2017-01-19T00:55:19Z")

</div>

Hello, Is there anyone in India who can provide ansible training.

---

## [Strage behaviour related to localhost in ansible 2.2](https://forum.ansible.com/t/strage-behaviour-related-to-localhost-in-ansible-2-2/23487)

<div class="topic-metadata">

**Author:** [@Stefan\_Magnus\_Landro](https://forum.ansible.com/u/Stefan_Magnus_Landro)\
**Replies:** 1\
**Last updated:** [January 19, 2017, 12:00am UTC](https://forum.ansible.com/t/strage-behaviour-related-to-localhost-in-ansible-2-2/23487 "2017-01-19T00:00:58Z")

</div>

Hi all, Can anyone explain why targeting localhost explicitly instead of defaulting to localhost behaves differently? Cheers, Stefan

---

## [ios\_command does not seem to be working](https://forum.ansible.com/t/ios-command-does-not-seem-to-be-working/23499)

<div class="topic-metadata">

**Author:** [@Mohamed\_Lrhazi](https://forum.ansible.com/u/Mohamed_Lrhazi)\
**Replies:** 1\
**Last updated:** [January 18, 2017, 11:23pm UTC](https://forum.ansible.com/t/ios-command-does-not-seem-to-be-working/23499 "2017-01-18T23:23:25Z")

</div>

Hello, am trying ansible and ios\_command module for the first time… it seems as if ansible is trying to execute normal unix commands instead of ios… what am I missing? \` ➜ cisco cat pb.yaml

---

## [Idempotency: How to determine which user to use when root is no longer allowed?](https://forum.ansible.com/t/idempotency-how-to-determine-which-user-to-use-when-root-is-no-longer-allowed/23498)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [January 18, 2017, 7:58pm UTC](https://forum.ansible.com/t/idempotency-how-to-determine-which-user-to-use-when-root-is-no-longer-allowed/23498 "2017-01-18T19:58:49Z")

</div>

Hi there, say I get a new instance somewhere that allows logins as root. I want to run a playbook that configures the machine and no longer allows root logins. And I want it to be idempotent. :wink: Consider this moc…

---

## [How to run Playbook by using PHP ?](https://forum.ansible.com/t/how-to-run-playbook-by-using-php/23495)

<div class="topic-metadata">

**Author:** [@Satish](https://forum.ansible.com/u/Satish)\
**Replies:** 0\
**Last updated:** [January 18, 2017, 5:04pm UTC](https://forum.ansible.com/t/how-to-run-playbook-by-using-php/23495 "2017-01-18T17:04:17Z")

</div>

Hello Team, Can anyone tell me, how to run Ansible PlayBook by using PHP ?? Thanking you.

---

## [Var substitution help](https://forum.ansible.com/t/var-substitution-help/23491)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [January 18, 2017, 3:35pm UTC](https://forum.ansible.com/t/var-substitution-help/23491 "2017-01-18T15:35:17Z")

</div>

Hello, all. A while ago, I created a quck-'n-dirty user creation playbook. With the following line, I was able to both create the user, and his/her encrypted password (for CentOS 6/7): user: name=“someuser” password={{…

---

## [EC2 compound tags and limiting dynamic inventory](https://forum.ansible.com/t/ec2-compound-tags-and-limiting-dynamic-inventory/23492)

<div class="topic-metadata">

**Author:** [@Bass\_Slap](https://forum.ansible.com/u/Bass_Slap)\
**Replies:** 0\
**Last updated:** [January 18, 2017, 3:15pm UTC](https://forum.ansible.com/t/ec2-compound-tags-and-limiting-dynamic-inventory/23492 "2017-01-18T15:15:20Z")

</div>

I’m using ec2.py dynamic inventory successfully with limiting by multiple tags, but my need is to be able to limit by a tag where one of the compound values matches, but I haven’t found a way to do so yet. Example: Tag …

---

## [What is the difference between inventory group\_vars and playbook group\_vars?](https://forum.ansible.com/t/what-is-the-difference-between-inventory-group-vars-and-playbook-group-vars/23490)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 1\
**Last updated:** [January 18, 2017, 2:36pm UTC](https://forum.ansible.com/t/what-is-the-difference-between-inventory-group-vars-and-playbook-group-vars/23490 "2017-01-18T14:36:23Z")

</div>

The following document http://docs.ansible.com/ansible/playbooks\_variables.html#variable-precedence-where-should-i-put-a-variable states that inventory group\_vars have lower precedence than playbook group\_vars. But I …

---

## [Conditional broken with Ansible 2.2.1.0-1 running on Rhel6/CentOS6](https://forum.ansible.com/t/conditional-broken-with-ansible-2-2-1-0-1-running-on-rhel6-centos6/23489)

<div class="topic-metadata">

**Author:** [@PhilEv](https://forum.ansible.com/u/PhilEv)\
**Replies:** 0\
**Last updated:** [January 18, 2017, 12:36pm UTC](https://forum.ansible.com/t/conditional-broken-with-ansible-2-2-1-0-1-running-on-rhel6-centos6/23489 "2017-01-18T12:36:57Z")

</div>

Hello The ansible 2.2.1.0-1 running on Rhel6/CentOS6 leads to error for existing playbooks with roles applied conditionally. The fix is available in the stable-2.2 branch (and others) We have numerous playbooks based …

---

## [Run multiple tasks with different Ansible users for Windows hosts](https://forum.ansible.com/t/run-multiple-tasks-with-different-ansible-users-for-windows-hosts/23451)

<div class="topic-metadata">

**Author:** [@davidfof](https://forum.ansible.com/u/davidfof)\
**Replies:** 1\
**Last updated:** [January 18, 2017, 10:12am UTC](https://forum.ansible.com/t/run-multiple-tasks-with-different-ansible-users-for-windows-hosts/23451 "2017-01-18T10:12:35Z")

</div>

Hi all, I have role that contains several tasks that should be run by different Ansible users. The playbook that uses this role should run on Windows hosts and I do this using a command similar to the following: ans…

---

## [how to access variables set on target env](https://forum.ansible.com/t/how-to-access-variables-set-on-target-env/23476)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 3\
**Last updated:** [January 18, 2017, 10:01am UTC](https://forum.ansible.com/t/how-to-access-variables-set-on-target-env/23476 "2017-01-18T10:01:16Z")

</div>

Hi i have a shell script which is setWLSEnv.sh on target machine, i run this first to set up web logic env after that i run the command java weblogic.WLST {{ pyhton file}} now i get Error: could not find or load main…

---

## [multiple commands in single ssh connection](https://forum.ansible.com/t/multiple-commands-in-single-ssh-connection/23482)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 1\
**Last updated:** [January 17, 2017, 10:55pm UTC](https://forum.ansible.com/t/multiple-commands-in-single-ssh-connection/23482 "2017-01-17T22:55:36Z")

</div>

Hi does any body know how to run multiple commands in single ssh connection i have the code command: “{{ item }}” with\_items: /bin/sh test.sh /bin/sh test2.sh when run this i can see “ESTABLISH SSH CONNECTION for …

---

## [Ansible 2.2.1 and 2.1.4 FINAL have been released!](https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [January 17, 2017, 8:40pm UTC](https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468 "2017-01-17T20:40:43Z")

</div>

Hi all, we are happy to announce that Ansible 2.2.1 and 2.1.4 have been released. This release fixes a few bugs, but the main fix is for CVE-2016-9587 which was previously disclosed during the RC process. As always, th…

---

## [How to avoid error when using a registered variable in check mode?](https://forum.ansible.com/t/how-to-avoid-error-when-using-a-registered-variable-in-check-mode/23461)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 4\
**Last updated:** [January 17, 2017, 7:36pm UTC](https://forum.ansible.com/t/how-to-avoid-error-when-using-a-registered-variable-in-check-mode/23461 "2017-01-17T19:36:32Z")

</div>

Hi, I have a playbook that has to use the command module and registers its output in a variable like so: - command: do something here register: my\_variable - debug: msg="Here is the output of {{ my\_variable.stdout…

---

## [anisble Tower user account](https://forum.ansible.com/t/anisble-tower-user-account/23480)

<div class="topic-metadata">

**Author:** [@jithendra\_myla](https://forum.ansible.com/u/jithendra_myla)\
**Replies:** 0\
**Last updated:** [January 17, 2017, 7:28pm UTC](https://forum.ansible.com/t/anisble-tower-user-account/23480 "2017-01-17T19:28:04Z")

</div>

Can i install Ansible tower as user account “ansible” instead of “awx” ?

---

## [Ansible host license across multiple inventories](https://forum.ansible.com/t/ansible-host-license-across-multiple-inventories/23479)

<div class="topic-metadata">

**Author:** [@driverA](https://forum.ansible.com/u/driverA)\
**Replies:** 0\
**Last updated:** [January 17, 2017, 6:42pm UTC](https://forum.ansible.com/t/ansible-host-license-across-multiple-inventories/23479 "2017-01-17T18:42:52Z")

</div>

Hi everyone, the Ansible/Tower license model is based on hosts. What if I have a host that is a member of multiple inventories? Does Ansible assign a license to the existence of each host within an inventory or does it a…

---

## [Ansible role to deploy on weblogic](https://forum.ansible.com/t/ansible-role-to-deploy-on-weblogic/23478)

<div class="topic-metadata">

**Author:** [@Anand\_Dasari](https://forum.ansible.com/u/Anand_Dasari)\
**Replies:** 0\
**Last updated:** [January 17, 2017, 3:57pm UTC](https://forum.ansible.com/t/ansible-role-to-deploy-on-weblogic/23478 "2017-01-17T15:57:46Z")

</div>

Hi did anybody succeed with unusable role/play to connect to weblogic on t3s protocol? as i was able to use regular python scripts using normal t3 protocol as wlst.sh {{ env variables }} {{ pythonscript}} but with t3…

---

## [Remote Env Setup Queries](https://forum.ansible.com/t/remote-env-setup-queries/23433)

<div class="topic-metadata">

**Author:** [@John\_Patrick](https://forum.ansible.com/u/John_Patrick)\
**Replies:** 7\
**Last updated:** [January 17, 2017, 3:53pm UTC](https://forum.ansible.com/t/remote-env-setup-queries/23433 "2017-01-17T15:53:17Z")

</div>

I’m working on a custom module but having issues with the environment setup on the remote server. How should the remote environment variables be correctly setup. I’ve been looking here http://docs.ansible.com/ansible/de…

---

## [copy from remote a to remote b](https://forum.ansible.com/t/copy-from-remote-a-to-remote-b/23475)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 1\
**Last updated:** [January 17, 2017, 1:09pm UTC](https://forum.ansible.com/t/copy-from-remote-a-to-remote-b/23475 "2017-01-17T13:09:42Z")

</div>

I need to copy the very big file X from remote system A to remote system B, only if X is newer on A or if X is missing on B. I can do it in two steps: first transfer X from A to the Ansible server and next from the Ansi…

---

## [NPM module --no-optional param](https://forum.ansible.com/t/npm-module-no-optional-param/23471)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Vieira](https://forum.ansible.com/u/Rodrigo_Vieira)\
**Replies:** 0\
**Last updated:** [January 17, 2017, 12:50am UTC](https://forum.ansible.com/t/npm-module-no-optional-param/23471 "2017-01-17T00:50:43Z")

</div>

Hey everyone, I need to add this param on my npm install. I created a commit, it’s okay send a PR or I should do something before? Thank you!

---

## [Formerly working ansible playbook now quietly does nothing - how to debug ?](https://forum.ansible.com/t/formerly-working-ansible-playbook-now-quietly-does-nothing-how-to-debug/23470)

<div class="topic-metadata">

**Author:** [@Traiano\_Welcome](https://forum.ansible.com/u/Traiano_Welcome)\
**Replies:** 0\
**Last updated:** [January 16, 2017, 9:21pm UTC](https://forum.ansible.com/t/formerly-working-ansible-playbook-now-quietly-does-nothing-how-to-debug/23470 "2017-01-16T21:21:01Z")

</div>

Hi List I’ve previously run a playbook to deploy an ec2 instance to aws, which worked fine. Except now, having made no changes to the playbook, it does nothing. There are no apparent errors or messages to indicate wha…

---

## [PostgreSQL query and dealing with results](https://forum.ansible.com/t/postgresql-query-and-dealing-with-results/23469)

<div class="topic-metadata">

**Author:** [@Christian\_Tardif](https://forum.ansible.com/u/Christian_Tardif)\
**Replies:** 0\
**Last updated:** [January 16, 2017, 8:55pm UTC](https://forum.ansible.com/t/postgresql-query-and-dealing-with-results/23469 "2017-01-16T20:55:06Z")

</div>

Hi, I’m trying to build an ansible playbook that would be able to execute a SQL query and then parse the command output to play with the data and update some stuff from it. My SQL request looks like: SELECT row\_to\_jso…

---

## [Shell script in handler](https://forum.ansible.com/t/shell-script-in-handler/23464)

<div class="topic-metadata">

**Author:** [@Shantanu\_Jain](https://forum.ansible.com/u/Shantanu_Jain)\
**Replies:** 1\
**Last updated:** [January 16, 2017, 6:52pm UTC](https://forum.ansible.com/t/shell-script-in-handler/23464 "2017-01-16T18:52:50Z")

</div>

Can I write a shell script in handler and call it again and again?

---

## [Using module.is\_executable(path) results in an exception](https://forum.ansible.com/t/using-module-is-executable-path-results-in-an-exception/23465)

<div class="topic-metadata">

**Author:** [@ER1](https://forum.ansible.com/u/ER1)\
**Replies:** 1\
**Last updated:** [January 16, 2017, 5:01pm UTC](https://forum.ansible.com/t/using-module-is-executable-path-results-in-an-exception/23465 "2017-01-16T17:01:33Z")

</div>

I am trying to develop a new module for Ansible. I need to validate a provided parameter points to a valid executable on the system. I am having problems using the is\_executable helper function from Ansible module\_utils. …

---

## [sefcontext restorecon](https://forum.ansible.com/t/sefcontext-restorecon/23379)

<div class="topic-metadata">

**Author:** [@Andy\_Mangion](https://forum.ansible.com/u/Andy_Mangion)\
**Replies:** 4\
**Last updated:** [January 16, 2017, 4:54pm UTC](https://forum.ansible.com/t/sefcontext-restorecon/23379 "2017-01-16T16:54:30Z")

</div>

Hi, I am using Ansible 2.2 and wanted to implement a step to set a selinux context of a file using the sefcontext module. After some work to get it to work on RHEL 7; it is successfully writing to the local policy file …

---

## [Ansilbe apt handling of dpkg\_options](https://forum.ansible.com/t/ansilbe-apt-handling-of-dpkg-options/23216)

<div class="topic-metadata">

**Author:** [@adam.frederick](https://forum.ansible.com/u/adam.frederick)\
**Replies:** 3\
**Last updated:** [January 16, 2017, 3:40pm UTC](https://forum.ansible.com/t/ansilbe-apt-handling-of-dpkg-options/23216 "2017-01-16T15:40:30Z")

</div>

I am attempting to perform the follow in order to only upgrade ubuntu security updates… apt: upgrade=yes update\_cache=yes dpkg\_options=‘Dir::Etc::SourceList=/etc/apt/security.sources.list’ and I receive the following e…

---

## [How to acces ansible\_host from the inventory?](https://forum.ansible.com/t/how-to-acces-ansible-host-from-the-inventory/23456)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 2\
**Last updated:** [January 16, 2017, 8:50am UTC](https://forum.ansible.com/t/how-to-acces-ansible-host-from-the-inventory/23456 "2017-01-16T08:50:28Z")

</div>

I have an inventory with IP addresses: \[myhosts\] host1 ansible\_host=10.0.0.1 host2 ansible\_host=10.0.0.2 This makes me independent from the /etc/hosts file, which I want to manage with Ansible. I wrote a bootstrap p…

---

## [Application Deployment Process](https://forum.ansible.com/t/application-deployment-process/23463)

<div class="topic-metadata">

**Author:** [@Sai\_Janakiram](https://forum.ansible.com/u/Sai_Janakiram)\
**Replies:** 0\
**Last updated:** [January 16, 2017, 6:56am UTC](https://forum.ansible.com/t/application-deployment-process/23463 "2017-01-16T06:56:51Z")

</div>

Dear Experts, I am planning to deploy application in AWS using Ansible. Is Ansbile responsible of Infrastructure provision part? or do I need to get the Infrastructure first then feed the IP address during the Applicat…

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

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