# Latest

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

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

**Page:** 714

---

## [Linux aliases in shell...](https://forum.ansible.com/t/linux-aliases-in-shell/22875)

<div class="topic-metadata">

**Author:** [@Sonny\_Chee](https://forum.ansible.com/u/Sonny_Chee)\
**Replies:** 3\
**Last updated:** [October 27, 2016, 2:44pm UTC](https://forum.ansible.com/t/linux-aliases-in-shell/22875 "2016-10-27T14:44:00Z")

</div>

Hey Guys, Is there a way to make aliases available in a shell? I tried sourcing a file with aliases before invoking my alias with no luck… ie: shell: . ~/.bash\_aliases && my\_command args Any help would be appreciated. …

---

## [Playbook datastructure when using the Python API](https://forum.ansible.com/t/playbook-datastructure-when-using-the-python-api/22902)

<div class="topic-metadata">

**Author:** [@Francesco\_Albanese](https://forum.ansible.com/u/Francesco_Albanese)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 1:26pm UTC](https://forum.ansible.com/t/playbook-datastructure-when-using-the-python-api/22902 "2016-10-27T13:26:46Z")

</div>

Hello, In order to harmonize several in-house operations, I wrote some self-contained Python command line tools built upon the Ansible core. As it is not desirable to be dependent on several external files, my code emb…

---

## [Modules for community review](https://forum.ansible.com/t/modules-for-community-review/22900)

<div class="topic-metadata">

**Author:** [@Adam\_Hamsik](https://forum.ansible.com/u/Adam_Hamsik)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 10:41am UTC](https://forum.ansible.com/t/modules-for-community-review/22900 "2016-10-27T10:41:21Z")

</div>

Hi, I have couple PRs waiting in modules-extras and I would love to get some community review on them so we can ship them if possible. I regularly use and test all of them. Would it be possible to get someone from commu…

---

## [Question about organizing roles and playbooks](https://forum.ansible.com/t/question-about-organizing-roles-and-playbooks/22892)

<div class="topic-metadata">

**Author:** [@thokari81](https://forum.ansible.com/u/thokari81)\
**Replies:** 4\
**Last updated:** [October 27, 2016, 9:57am UTC](https://forum.ansible.com/t/question-about-organizing-roles-and-playbooks/22892 "2016-10-27T09:57:55Z")

</div>

Hello, How to best model the following scenario: I have a set of hosts in one playbook. \[qa-machines\] HostA HostB HostC I have a subset of these hosts that should receive additional roles. \[jenkins-slaves\] HostC …

---

## [Playbook can't connect to EC2 instance, but SSH works fine?](https://forum.ansible.com/t/playbook-cant-connect-to-ec2-instance-but-ssh-works-fine/22876)

<div class="topic-metadata">

**Author:** [@Eric\_Campusano](https://forum.ansible.com/u/Eric_Campusano)\
**Replies:** 1\
**Last updated:** [October 27, 2016, 7:58am UTC](https://forum.ansible.com/t/playbook-cant-connect-to-ec2-instance-but-ssh-works-fine/22876 "2016-10-27T07:58:20Z")

</div>

New to Ansible but I’m really enjoying working with it so far. I’ve started writing a playbook that creates an EC2 instance and then attempts to connect to it and configure it. For some reason it’s failing to connect, ev…

---

## [group\_vars and ansible's patterns - suggestions please!](https://forum.ansible.com/t/group-vars-and-ansibles-patterns-suggestions-please/22895)

<div class="topic-metadata">

**Author:** [@Dan\_Rough](https://forum.ansible.com/u/Dan_Rough)\
**Replies:** 5\
**Last updated:** [October 27, 2016, 6:12am UTC](https://forum.ansible.com/t/group-vars-and-ansibles-patterns-suggestions-please/22895 "2016-10-27T06:12:53Z")

</div>

Hi, I’d like to know how others are dealing with keeping their group\_vars files granular. Ours have become a little unwieldily and we’re considering approaches to breaking them apart. When we provision a server, we ass…

---

## [ansible-playbook -i inventory/ bidder\_c4.yml](https://forum.ansible.com/t/ansible-playbook-i-inventory-bidder-c4-yml/22898)

<div class="topic-metadata">

**Author:** [@quentin](https://forum.ansible.com/u/quentin)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 5:00am UTC](https://forum.ansible.com/t/ansible-playbook-i-inventory-bidder-c4-yml/22898 "2016-10-27T05:00:33Z")

</div>

ERROR! The file inventory/gce.py is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with chmod -x inventory/gce.py. Inventory script (inventory/gce…

---

## [Execute Ansible-playbook Question](https://forum.ansible.com/t/execute-ansible-playbook-question/22897)

<div class="topic-metadata">

**Author:** [@sspeng2016](https://forum.ansible.com/u/sspeng2016)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 4:37am UTC](https://forum.ansible.com/t/execute-ansible-playbook-question/22897 "2016-10-27T04:37:29Z")

</div>

Hi Sir/Miss: I try to use ansible-playbook,the implementation of the TASK \[setup\] steps, Managed Node system when the dead, so the request for assistance.

---

## [Execute Ansible-playbook Question](https://forum.ansible.com/t/execute-ansible-playbook-question/22896)

<div class="topic-metadata">

**Author:** [@sspeng2016](https://forum.ansible.com/u/sspeng2016)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 3:31am UTC](https://forum.ansible.com/t/execute-ansible-playbook-question/22896 "2016-10-27T03:31:43Z")

</div>

Hi Sir/Miss: I try to use ansible-playbook, the implementation of the TASK \[setup\] steps, Managed Node system when the dead, so the request for assistance. System Environment: Control Manage: CentOS 6.5 + Python 2.6.6…

---

## [modifying members of local groups in windows](https://forum.ansible.com/t/modifying-members-of-local-groups-in-windows/22894)

<div class="topic-metadata">

**Author:** [@Mike\_Devlin](https://forum.ansible.com/u/Mike_Devlin)\
**Replies:** 2\
**Last updated:** [October 27, 2016, 2:08am UTC](https://forum.ansible.com/t/modifying-members-of-local-groups-in-windows/22894 "2016-10-27T02:08:32Z")

</div>

the win\_group module looks like it only lets you create or remove a group, and win\_user is for add/modify/removing local users. Is there a way to add an active directory group as a member of a local group that I am not s…

---

## [Facing Problem while creating Kinesis event source mapping for Lambda](https://forum.ansible.com/t/facing-problem-while-creating-kinesis-event-source-mapping-for-lambda/22887)

<div class="topic-metadata">

**Author:** [@Bharath\_Kumar1](https://forum.ansible.com/u/Bharath_Kumar1)\
**Replies:** 2\
**Last updated:** [October 26, 2016, 4:35pm UTC](https://forum.ansible.com/t/facing-problem-while-creating-kinesis-event-source-mapping-for-lambda/22887 "2016-10-26T16:35:26Z")

</div>

Hello, Can any one help with the following error ? “msg”: “Module alias error: internal error: required and default are mutually exclusive for event\_source”

---

## [Modify variables during the playbook](https://forum.ansible.com/t/modify-variables-during-the-playbook/22891)

<div class="topic-metadata">

**Author:** [@Pujan\_Shah1](https://forum.ansible.com/u/Pujan_Shah1)\
**Replies:** 0\
**Last updated:** [October 26, 2016, 3:19pm UTC](https://forum.ansible.com/t/modify-variables-during-the-playbook/22891 "2016-10-26T15:19:56Z")

</div>

Is it possible to modify nested variables when playbook is executing. nested\_variable: { ip: 1.2.3.4, port: 80, host: ‘example.com’, ssl: { enabled: true, port: 443, }, } During the playbook based on other c…

---

## [I want to use the "target" also as a variable not just for hosts file](https://forum.ansible.com/t/i-want-to-use-the-target-also-as-a-variable-not-just-for-hosts-file/22890)

<div class="topic-metadata">

**Author:** [@Gad](https://forum.ansible.com/u/Gad)\
**Replies:** 0\
**Last updated:** [October 26, 2016, 3:07pm UTC](https://forum.ansible.com/t/i-want-to-use-the-target-also-as-a-variable-not-just-for-hosts-file/22890 "2016-10-26T15:07:07Z")

</div>

ansible-playbook msi\_install.yml -vvv The problems( in red) the find command is OK but instead of getting the value of the target host like “199.121.121.1” i am getting “win\_host1” where should I define the varible “r…

---

## [How can i specify the same target host twice or more in my playbook ?](https://forum.ansible.com/t/how-can-i-specify-the-same-target-host-twice-or-more-in-my-playbook/22888)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 1\
**Last updated:** [October 26, 2016, 1:31pm UTC](https://forum.ansible.com/t/how-can-i-specify-the-same-target-host-twice-or-more-in-my-playbook/22888 "2016-10-26T13:31:47Z")

</div>

I have a situation for which we have decided to allow multiple instances of the same app to run on same host machines. I do not want to modify my playbook or inventory to incorporate this temporary hack and was wondering…

---

## [Seeking community review for new extras module](https://forum.ansible.com/t/seeking-community-review-for-new-extras-module/22889)

<div class="topic-metadata">

**Author:** [@James\_Hogarth](https://forum.ansible.com/u/James_Hogarth)\
**Replies:** 0\
**Last updated:** [October 26, 2016, 9:07am UTC](https://forum.ansible.com/t/seeking-community-review-for-new-extras-module/22889 "2016-10-26T09:07:13Z")

</div>

Hi all, I’ve submitted a module to build on automating jenkins installs and it’s currently at the stage where it needs to community reviews to proceed https://github.com/ansible/ansible-modules-extras/pull/3068 This m…

---

## [Not able to load the credentials](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865)

<div class="topic-metadata">

**Author:** [@Girish\_Kumar\_Mayigow](https://forum.ansible.com/u/Girish_Kumar_Mayigow)\
**Replies:** 3\
**Last updated:** [October 26, 2016, 5:38am UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865 "2016-10-26T05:38:29Z")

</div>

Hi, I am trying to create a storage account and below is the play book and the error, please let me know what am missing. i have created a file credentials.ini under etc/home/.azure \`

---

## [Lambda Kinesis stream event mapping](https://forum.ansible.com/t/lambda-kinesis-stream-event-mapping/22886)

<div class="topic-metadata">

**Author:** [@Bharat\_K](https://forum.ansible.com/u/Bharat_K)\
**Replies:** 0\
**Last updated:** [October 26, 2016, 2:16am UTC](https://forum.ansible.com/t/lambda-kinesis-stream-event-mapping/22886 "2016-10-26T02:16:55Z")

</div>

I am creating lambda trigger for kinesis stream however getting below error. “msg”: “Module alias error: internal error: required and default are mutually exclusive for event\_source” Code: hosts: control gather\_fact…

---

## [Ansible target not logging to syslog](https://forum.ansible.com/t/ansible-target-not-logging-to-syslog/22032)

<div class="topic-metadata">

**Author:** [@Ed\_S](https://forum.ansible.com/u/Ed_S)\
**Replies:** 5\
**Last updated:** [October 26, 2016, 1:38am UTC](https://forum.ansible.com/t/ansible-target-not-logging-to-syslog/22032 "2016-10-26T01:38:14Z")

</div>

Hello, I’m running ansible 2.1.0.0 and when running a playbook against a target system(machine B), there are no messages logged to syslog on the target machine(machine b) during the run. Are there settings necessary to …

---

## [module (setup) is missing interpreter line error while running the python api](https://forum.ansible.com/t/module-setup-is-missing-interpreter-line-error-while-running-the-python-api/22884)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 0\
**Last updated:** [October 25, 2016, 6:35pm UTC](https://forum.ansible.com/t/module-setup-is-missing-interpreter-line-error-while-running-the-python-api/22884 "2016-10-25T18:35:58Z")

</div>

Hi, After struggling to fix the problem i am back to the list again. Seems i have a problem about reading my Inventory. I am not able to find the problem so i need help:

---

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

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [October 25, 2016, 3:47pm UTC](https://forum.ansible.com/t/ansible-2-1-3-rc3-is-ready-for-testing/22883 "2016-10-25T15:47:09Z")

</div>

Hi all, we’re happy to announce that RC3 for 2.1.3 is now available for testing. This release candidate addresses the following bugs: Fixed a bug where a custom module could overwrite connection-based variables. Fixed…

---

## [How do I execute ALL the task in a YML file locally?](https://forum.ansible.com/t/how-do-i-execute-all-the-task-in-a-yml-file-locally/22881)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 3\
**Last updated:** [October 25, 2016, 3:44pm UTC](https://forum.ansible.com/t/how-do-i-execute-all-the-task-in-a-yml-file-locally/22881 "2016-10-25T15:44:50Z")

</div>

I have a role whose main.yml file includes several \*.yml files, e.g., \` main.yml

---

## [How to use version\_compare Jinja filter to only compare major and minor releases?](https://forum.ansible.com/t/how-to-use-version-compare-jinja-filter-to-only-compare-major-and-minor-releases/22880)

<div class="topic-metadata">

**Author:** [@Tadej\_Janez](https://forum.ansible.com/u/Tadej_Janez)\
**Replies:** 3\
**Last updated:** [October 25, 2016, 3:11pm UTC](https://forum.ansible.com/t/how-to-use-version-compare-jinja-filter-to-only-compare-major-and-minor-releases/22880 "2016-10-25T15:11:55Z")

</div>

Hi! I was a bit puzzled when trying to use version\_compare Jinja filter to check that the major and minor Ansible versions are equal to some desired value. Here is an example playbook: - hosts: localhost connection…

---

## [Some questions about the new module vmware\_guest](https://forum.ansible.com/t/some-questions-about-the-new-module-vmware-guest/22878)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 0\
**Last updated:** [October 25, 2016, 9:37am UTC](https://forum.ansible.com/t/some-questions-about-the-new-module-vmware-guest/22878 "2016-10-25T09:37:00Z")

</div>

Hello, I would like to ask some queststions about the new module vmware\_guest which will be included in release 2.2. In the given example the parameter hardware is used to specify osid and scsi method. What are possibl…

---

## [vmware\_guest: "unsupported parameter for module: datacenter"](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-datacenter/22877)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 2\
**Last updated:** [October 25, 2016, 9:27am UTC](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-datacenter/22877 "2016-10-25T09:27:52Z")

</div>

Hello folks, I’m having difficulties using the vmware\_guest module to create a guest vm on my VMware vCenter 6. My playbook looks as follows: \` Create a new VM on an ESX server hosts: localhost tasks: vsphere\_guest: …

---

## [Role Includes When Statement](https://forum.ansible.com/t/role-includes-when-statement/22874)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 1\
**Last updated:** [October 25, 2016, 2:22am UTC](https://forum.ansible.com/t/role-includes-when-statement/22874 "2016-10-25T02:22:12Z")

</div>

I am on the most recent version of the devel branch, and I have a role dependency in the meta of that role, and when I set it I have a when statement. Now it skips everything when it runs except a task with\_items, and it…

---

## [Cumulative group variables?](https://forum.ansible.com/t/cumulative-group-variables/22871)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 2\
**Last updated:** [October 25, 2016, 1:26am UTC](https://forum.ansible.com/t/cumulative-group-variables/22871 "2016-10-25T01:26:34Z")

</div>

I’m working on modeling our datacenter top-of-rack switches in Ansible, and have run into a potential problem with my approach. The basic idea is to use a hierarchal group structure that starts with general purpose (tor)…

---

## [Dynamic Includes + Tags = Failures](https://forum.ansible.com/t/dynamic-includes-tags-failures/22873)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 0\
**Last updated:** [October 25, 2016, 1:19am UTC](https://forum.ansible.com/t/dynamic-includes-tags-failures/22873 "2016-10-25T01:19:43Z")

</div>

I am on the latest of the devel branch, and I am not entirely sure if this is expected behavior or not. I have a couple issues, where in my main.yml in my playbook, I have roles that are tagged at the top level and then …

---

## [auto package version selection?](https://forum.ansible.com/t/auto-package-version-selection/22867)

<div class="topic-metadata">

**Author:** [@david1](https://forum.ansible.com/u/david1)\
**Replies:** 1\
**Last updated:** [October 24, 2016, 11:38pm UTC](https://forum.ansible.com/t/auto-package-version-selection/22867 "2016-10-24T23:38:18Z")

</div>

Hi, I’m deploying an application via Ansible on Ubuntu. The application’s .deb requires several php modules but misses some so in my playbook I have the following. name: Install php packages apt: name={{item}} state=…

---

## [Ansible powershell module to be run on remote powershell on Linux machine.](https://forum.ansible.com/t/ansible-powershell-module-to-be-run-on-remote-powershell-on-linux-machine/22856)

<div class="topic-metadata">

**Author:** [@Raj3](https://forum.ansible.com/u/Raj3)\
**Replies:** 10\
**Last updated:** [October 24, 2016, 8:05pm UTC](https://forum.ansible.com/t/ansible-powershell-module-to-be-run-on-remote-powershell-on-linux-machine/22856 "2016-10-24T20:05:44Z")

</div>

Has anybody successfully run powershell on Linux as an ansible module? Well, I have an ansible on one machine ServerAnsible. And, I have a powershell and powercli core installed on my linux machine ServerPS. I would like…

---

## [inventory not being able to read when using ansible 2 api](https://forum.ansible.com/t/inventory-not-being-able-to-read-when-using-ansible-2-api/22866)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 4\
**Last updated:** [October 24, 2016, 6:14pm UTC](https://forum.ansible.com/t/inventory-not-being-able-to-read-when-using-ansible-2-api/22866 "2016-10-24T18:14:00Z")

</div>

Here is my structure. ✗ tree -L 2 . ├── ansible.cfg ├── ansible.cfg.bak ├── group\_vars │ ├── default │ └── default.bak ├── hosts ├── playbook.yml ├── playbook\_hostname.yml ├── playbook\_ip.yml ├── roles │ ├──…

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

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