# Latest

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

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

**Page:** 513

---

## [Do YAML inventory plugins support inheritance?](https://forum.ansible.com/t/do-yaml-inventory-plugins-support-inheritance/28801)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 2\
**Last updated:** [October 20, 2018, 12:03am UTC](https://forum.ansible.com/t/do-yaml-inventory-plugins-support-inheritance/28801 "2018-10-20T00:03:26Z")

</div>

I’m experimenting with the new AWS\_EC2 plugin and have been wondering if there’s a way to streamline the file as we have separate inventory folders for dev, demo and prod. Is there a way to do something like and ‘include…

---

## [Ansible 2.6.6 is available](https://forum.ansible.com/t/ansible-2-6-6-is-available/28833)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 2\
**Last updated:** [October 19, 2018, 11:57pm UTC](https://forum.ansible.com/t/ansible-2-6-6-is-available/28833 "2018-10-19T23:57:22Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.6 is now available! How do you get it?

---

## [Ansible 2.6.6 is available](https://forum.ansible.com/t/ansible-2-6-6-is-available/28832)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [October 19, 2018, 10:42pm UTC](https://forum.ansible.com/t/ansible-2-6-6-is-available/28832 "2018-10-19T22:42:44Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.6 is now available! How do you get it?

---

## [include\_tasks vs include](https://forum.ansible.com/t/include-tasks-vs-include/28804)

<div class="topic-metadata">

**Author:** [@Ben\_Joyce](https://forum.ansible.com/u/Ben_Joyce)\
**Replies:** 9\
**Last updated:** [October 19, 2018, 9:08pm UTC](https://forum.ansible.com/t/include-tasks-vs-include/28804 "2018-10-19T21:08:14Z")

</div>

Hi. Has include\_tasks been deprecated? I have a playbook that used include\_tasks fine up until recently. ansible-playbook --version reports 2.7.0 Unfortunately I can’t be sure of what the previous version was, if it wa…

---

## [Become directives vs connection variables](https://forum.ansible.com/t/become-directives-vs-connection-variables/28831)

<div class="topic-metadata">

**Author:** [@aaldi](https://forum.ansible.com/u/aaldi)\
**Replies:** 2\
**Last updated:** [October 19, 2018, 7:55pm UTC](https://forum.ansible.com/t/become-directives-vs-connection-variables/28831 "2018-10-19T19:55:03Z")

</div>

I’m trying to understand privilege escalation, but have a hard time comparing these two concepts. If I specify become: yes, does that mean that privilege escalation works now? What about if I specify ansible\_become: yes?…

---

## [PowerShell script help](https://forum.ansible.com/t/powershell-script-help/28818)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 4\
**Last updated:** [October 19, 2018, 3:55pm UTC](https://forum.ansible.com/t/powershell-script-help/28818 "2018-10-19T15:55:50Z")

</div>

Hi, all. I’ve created a playbook to run a PowerShell script. The script is already copied to the target system (but also exists on the Ansible server). It must be run with the following argument: -ConsoleTitle “Dell Co…

---

## [AWX "inventory\_file" variable](https://forum.ansible.com/t/awx-inventory-file-variable/28757)

<div class="topic-metadata">

**Author:** [@Me\_Mo](https://forum.ansible.com/u/Me_Mo)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:30pm UTC](https://forum.ansible.com/t/awx-inventory-file-variable/28757 "2018-10-19T15:30:56Z")

</div>

hi i have a ansible playbook that uses the “inventory\_file” variable in ansible but in awx/tower this is a tempfile, wich changes. is there any varibale in awx/tower wich refer to the “name” of the used inventory? t…

---

## [LDAP/ED   team mapping  to ansible tower](https://forum.ansible.com/t/ldap-ed-team-mapping-to-ansible-tower/28828)

<div class="topic-metadata">

**Author:** [@Sashank](https://forum.ansible.com/u/Sashank)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:26pm UTC](https://forum.ansible.com/t/ldap-ed-team-mapping-to-ansible-tower/28828 "2018-10-19T15:26:22Z")

</div>

I am using LDAP/ Enterprise directory for authentication/authorization: we have n teams created in ED and should map teams on organization/project based in ansible tower config if a new team is created should i have to…

---

## [Unable to sync all AWS instance server onto Ansible Tower](https://forum.ansible.com/t/unable-to-sync-all-aws-instance-server-onto-ansible-tower/28793)

<div class="topic-metadata">

**Author:** [@Raj2](https://forum.ansible.com/u/Raj2)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:25pm UTC](https://forum.ansible.com/t/unable-to-sync-all-aws-instance-server-onto-ansible-tower/28793 "2018-10-19T15:25:13Z")

</div>

I have around 30 Server Instances in AWS all having only the Private IP. In the ansible tower, I have used AWS access key and secret key and thus configured the credentials in the tower. When I start creating a new inv…

---

## [Unable to get automatically name of group from LDAP to Team Map](https://forum.ansible.com/t/unable-to-get-automatically-name-of-group-from-ldap-to-team-map/28802)

<div class="topic-metadata">

**Author:** [@patriksiska97](https://forum.ansible.com/u/patriksiska97)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:23pm UTC](https://forum.ansible.com/t/unable-to-get-automatically-name-of-group-from-ldap-to-team-map/28802 "2018-10-19T15:23:29Z")

</div>

Hi, please, I have a question to community, because I really do not know what to do anymore with this issue, I tried everything and I Googled all sites, but I didn´t find what I´m looking for… When I manually set into “…

---

## [Very first time Network Engineer user - ping module needs to connect with SSH to work?](https://forum.ansible.com/t/very-first-time-network-engineer-user-ping-module-needs-to-connect-with-ssh-to-work/28826)

<div class="topic-metadata">

**Author:** [@Greg\_Focaccio](https://forum.ansible.com/u/Greg_Focaccio)\
**Replies:** 5\
**Last updated:** [October 19, 2018, 1:24pm UTC](https://forum.ansible.com/t/very-first-time-network-engineer-user-ping-module-needs-to-connect-with-ssh-to-work/28826 "2018-10-19T13:24:04Z")

</div>

Hi All, First time getting into any kind of automation -starting with Ansible. Odd results for me. What is going on? Thanks, Greg 05:41root@xfrr3 /etc/ansible ? ansible f1 --module-name=ping172.16.0.1 | UNREACHABLE!…

---

## [Using source\_profile to assume role instead of fixed credentials](https://forum.ansible.com/t/using-source-profile-to-assume-role-instead-of-fixed-credentials/28827)

<div class="topic-metadata">

**Author:** [@Moises\_Margotto](https://forum.ansible.com/u/Moises_Margotto)\
**Replies:** 0\
**Last updated:** [October 19, 2018, 1:11pm UTC](https://forum.ansible.com/t/using-source-profile-to-assume-role-instead-of-fixed-credentials/28827 "2018-10-19T13:11:46Z")

</div>

Hi there. My team uses Ansible to manage resources across lots of different AWS accounts, and we are looking to move from using static access keys and secrets to credentials granted by IAM assume role. To do this, we’d …

---

## [ansible always reports changed](https://forum.ansible.com/t/ansible-always-reports-changed/28825)

<div class="topic-metadata">

**Author:** [@Jost](https://forum.ansible.com/u/Jost)\
**Replies:** 2\
**Last updated:** [October 19, 2018, 9:00am UTC](https://forum.ansible.com/t/ansible-always-reports-changed/28825 "2018-10-19T09:00:40Z")

</div>

Hi I have ansible 2.6.5 and I notice one strange think. If I use hard code path for “item.dest” then reports no changed. Change is reported only if I change something inside plugins which is OK name: install plugins …

---

## [running bash command in ansible on centos 7 leads to /dev/null permission denied problem](https://forum.ansible.com/t/running-bash-command-in-ansible-on-centos-7-leads-to-dev-null-permission-denied-problem/28824)

<div class="topic-metadata">

**Author:** [@lwsanty](https://forum.ansible.com/u/lwsanty)\
**Replies:** 0\
**Last updated:** [October 18, 2018, 10:25pm UTC](https://forum.ansible.com/t/running-bash-command-in-ansible-on-centos-7-leads-to-dev-null-permission-denied-problem/28824 "2018-10-18T22:25:39Z")

</div>

hi guys! has anyone bumped into the similar issue before? https://github.com/ansible/ansible/issues/47305

---

## [include\_role with passed variable defined by template fails](https://forum.ansible.com/t/include-role-with-passed-variable-defined-by-template-fails/28794)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Panteleyev](https://forum.ansible.com/u/Dmitriy_Panteleyev)\
**Replies:** 3\
**Last updated:** [October 18, 2018, 7:21pm UTC](https://forum.ansible.com/t/include-role-with-passed-variable-defined-by-template-fails/28794 "2018-10-18T19:21:24Z")

</div>

I’m a bit confused how variables are defined when using include\_role. A basic example follows. /play.yml \` hosts: localhost roles: one \` /roles/one/tasks/main.yml \`

---

## [When are file lookups performed? How to store lookup result in a variable?](https://forum.ansible.com/t/when-are-file-lookups-performed-how-to-store-lookup-result-in-a-variable/28823)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Panteleyev](https://forum.ansible.com/u/Dmitriy_Panteleyev)\
**Replies:** 2\
**Last updated:** [October 18, 2018, 7:20pm UTC](https://forum.ansible.com/t/when-are-file-lookups-performed-how-to-store-lookup-result-in-a-variable/28823 "2018-10-18T19:20:44Z")

</div>

I was under the impression that if I define a variable with a lookup function, it would store the results of the lookup. And then when I used that variable, it would spit out the results of the lookup. However, from run…

---

## [Handlers called but not working](https://forum.ansible.com/t/handlers-called-but-not-working/28819)

<div class="topic-metadata">

**Author:** [@LeamHall](https://forum.ansible.com/u/LeamHall)\
**Replies:** 4\
**Last updated:** [October 18, 2018, 6:11pm UTC](https://forum.ansible.com/t/handlers-called-but-not-working/28819 "2018-10-18T18:11:42Z")

</div>

In the ansible output it says: META: ran handlers For this role handlers/main.yml is: - name: restart\_and\_enable\_httpd service: name: httpd state: restarted enabled: true This is Ansible 2.6 o…

---

## [getting error when test ping on router ios](https://forum.ansible.com/t/getting-error-when-test-ping-on-router-ios/28692)

<div class="topic-metadata">

**Author:** [@aris](https://forum.ansible.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 18, 2018, 4:16pm UTC](https://forum.ansible.com/t/getting-error-when-test-ping-on-router-ios/28692 "2018-10-18T16:16:17Z")

</div>

Hi, I’m trying test ping using command “ansible -m ping all” and then i getting error bellow : ansible -m ping all \[WARNING\]: \* Failed to parse /etc/ansible/hosts with yaml plugin: Syntax Error while loading YAML. foun…

---

## [Managing Realm Permits Based on Satellite Parameters](https://forum.ansible.com/t/managing-realm-permits-based-on-satellite-parameters/28822)

<div class="topic-metadata">

**Author:** [@Jeremy\_Winder](https://forum.ansible.com/u/Jeremy_Winder)\
**Replies:** 0\
**Last updated:** [October 18, 2018, 3:51pm UTC](https://forum.ansible.com/t/managing-realm-permits-based-on-satellite-parameters/28822 "2018-10-18T15:51:12Z")

</div>

I am running RHEL 7.5, Satellite 6.3, Ansible 2.7.0, and Ansible AWX 2.0.1. I am in the process of developing playbooks to handle our server provisioning. As part of the provisioning process, we are using sssd and realm…

---

## [block rescue notifications](https://forum.ansible.com/t/block-rescue-notifications/28821)

<div class="topic-metadata">

**Author:** [@KSS](https://forum.ansible.com/u/KSS)\
**Replies:** 0\
**Last updated:** [October 18, 2018, 3:23pm UTC](https://forum.ansible.com/t/block-rescue-notifications/28821 "2018-10-18T15:23:23Z")

</div>

Hi, I have a playbook that attempts to notify via slack of hosts that were successful and those that failed. Below is a simply playbook showing what I’m trying to achieve using debug. Ansible version: 2.6.5 ----------…

---

## [removing blank lines after all lines start with specific string](https://forum.ansible.com/t/removing-blank-lines-after-all-lines-start-with-specific-string/28817)

<div class="topic-metadata">

**Author:** [@Shlomit\_Afgin](https://forum.ansible.com/u/Shlomit_Afgin)\
**Replies:** 2\
**Last updated:** [October 18, 2018, 3:22pm UTC](https://forum.ansible.com/t/removing-blank-lines-after-all-lines-start-with-specific-string/28817 "2018-10-18T15:22:53Z")

</div>

HI, Is there any way to remove from a file, all blank lines that exist after line start with specific string? for example: Remove all blank lines after lines start with XXX1 \` XXX1bla bla bla hjshfgdfg gdfsgdsgdf …

---

## [AWX VMware inventory fails](https://forum.ansible.com/t/awx-vmware-inventory-fails/28027)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 3\
**Last updated:** [October 18, 2018, 2:13pm UTC](https://forum.ansible.com/t/awx-vmware-inventory-fails/28027 "2018-10-18T14:13:45Z")

</div>

Good day, all. By degrees, I’ve gotten AWX stood up and running. I’ve also added some test hosts to inventory, added playbooks, and created and successfully run a couple of projects. Here’s some info on my setup: Cent…

---

## [Using vmware\_guest\_snapshot with case insensitive VM names](https://forum.ansible.com/t/using-vmware-guest-snapshot-with-case-insensitive-vm-names/28811)

<div class="topic-metadata">

**Author:** [@KSS](https://forum.ansible.com/u/KSS)\
**Replies:** 1\
**Last updated:** [October 18, 2018, 11:24am UTC](https://forum.ansible.com/t/using-vmware-guest-snapshot-with-case-insensitive-vm-names/28811 "2018-10-18T11:24:24Z")

</div>

Hi, I’m looking at switching to using the vmware\_guest\_snapshot module to take snapshots of VMs before performing package updates on them (I previously used another custom module where we changed case of hostnames to lo…

---

## [passing  -y flag with yum](https://forum.ansible.com/t/passing-y-flag-with-yum/28815)

<div class="topic-metadata">

**Author:** [@Chad\_Fay](https://forum.ansible.com/u/Chad_Fay)\
**Replies:** 7\
**Last updated:** [October 18, 2018, 10:29am UTC](https://forum.ansible.com/t/passing-y-flag-with-yum/28815 "2018-10-18T10:29:23Z")

</div>

I’m new at this, I’m trying to figure out how to pass the -y flag when I am installing with the yum module. I’ve tried pkg=\<package\_name\> -y but that doesn’t work. I’m obviously doing something completely wrong, I’m just…

---

## [How to wait for DNS record?](https://forum.ansible.com/t/how-to-wait-for-dns-record/28816)

<div class="topic-metadata">

**Author:** [@Pavel\_Martynov](https://forum.ansible.com/u/Pavel_Martynov)\
**Replies:** 4\
**Last updated:** [October 18, 2018, 9:50am UTC](https://forum.ansible.com/t/how-to-wait-for-dns-record/28816 "2018-10-18T09:50:53Z")

</div>

Hi! I want to wait for some DNS record registered in DNS server. For example, A record. So I try to use this task: name: Wait DNS A record host.example.com registered set\_fact: lookup\_result: “{{ lookup(‘dig’, ‘host…

---

## [Want be able to source ~/.profile](https://forum.ansible.com/t/want-be-able-to-source-profile/28773)

<div class="topic-metadata">

**Author:** [@pranay\_varankar](https://forum.ansible.com/u/pranay_varankar)\
**Replies:** 4\
**Last updated:** [October 18, 2018, 8:45am UTC](https://forum.ansible.com/t/want-be-able-to-source-profile/28773 "2018-10-18T08:45:40Z")

</div>

Hi, I have added some export task in ~/.profile file & its added but not able to source ~/.profile in remote host. FYI name: Set .profile lineinfile: path: /root/.profile line: export PROMPT\_COMMAND=‘history -a \>(…

---

## [open command line installer by playbook](https://forum.ansible.com/t/open-command-line-installer-by-playbook/28779)

<div class="topic-metadata">

**Author:** [@aakanksha.jain](https://forum.ansible.com/u/aakanksha.jain)\
**Replies:** 2\
**Last updated:** [October 18, 2018, 8:41am UTC](https://forum.ansible.com/t/open-command-line-installer-by-playbook/28779 "2018-10-18T08:41:17Z")

</div>

Hello, I have software, where I need to run ./install.bin command as a output it open a command line installer to provide requested value of variables. How can I achieve this by ansible playbook.

---

## [Ansible 2.7 yum module issues](https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [October 18, 2018, 1:32am UTC](https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814 "2018-10-18T01:32:40Z")

</div>

Anyone notice weirdness with ansible 2.7? I’m running 2.7.0 and the yum module doesn’t seem to be working as it’s supposed to. Previous ran ansible 2.6.x with success. Same module under 2.7.0: fatal: \[172.23.10.2\]: FAIL…

---

## [Loop j2 template with numerical range and run command for each change iteration of .j2](https://forum.ansible.com/t/loop-j2-template-with-numerical-range-and-run-command-for-each-change-iteration-of-j2/28809)

<div class="topic-metadata">

**Author:** [@Justin\_Schmitz](https://forum.ansible.com/u/Justin_Schmitz)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 9:35pm UTC](https://forum.ansible.com/t/loop-j2-template-with-numerical-range-and-run-command-for-each-change-iteration-of-j2/28809 "2018-10-17T21:35:43Z")

</div>

I am installing SQL2016 with Ansible. This is easy enough to do. I have a config file (Configurationfile.ini) that SQL uses to specify all the options for installation via the command line I now have to install named i…

---

## [Help with looping lvm filesystem](https://forum.ansible.com/t/help-with-looping-lvm-filesystem/28813)

<div class="topic-metadata">

**Author:** [@Zia](https://forum.ansible.com/u/Zia)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 9:25pm UTC](https://forum.ansible.com/t/help-with-looping-lvm-filesystem/28813 "2018-10-17T21:25:57Z")

</div>

Hi All, Looking for some help with looping while creating multiple filesystems with different sizes and mount points. There are too many volumes, filesystems and mount points that need to be created for one vol group. …

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

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