# Latest

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

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

**Page:** 628

---

## [Ansible - generate reports](https://forum.ansible.com/t/ansible-generate-reports/25400)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 1\
**Last updated:** [September 4, 2017, 1:09pm UTC](https://forum.ansible.com/t/ansible-generate-reports/25400 "2017-09-04T13:09:27Z")

</div>

Hi to all, I need some ideas about my problem, so if anybody has some ideas I would be very gratefull. I want to generate some report on ansible server. My idea is to create custom facts which gather some information …

---

## [ssh -q? / Oracle sqlplus scripts](https://forum.ansible.com/t/ssh-q-oracle-sqlplus-scripts/25393)

<div class="topic-metadata">

**Author:** [@Peter\_Prisekin](https://forum.ansible.com/u/Peter_Prisekin)\
**Replies:** 1\
**Last updated:** [September 4, 2017, 12:55pm UTC](https://forum.ansible.com/t/ssh-q-oracle-sqlplus-scripts/25393 "2017-09-04T12:55:21Z")

</div>

I’m running ansible from cygwin on a Windows machine to a linux box (could be AIX or RHEL) which I’m using mainly for the oracle client software which will be running sqlplus to yet a third machine (Oracle server, no ssh…

---

## [Get a list of Elastic IPs](https://forum.ansible.com/t/get-a-list-of-elastic-ips/25263)

<div class="topic-metadata">

**Author:** [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Replies:** 1\
**Last updated:** [September 4, 2017, 11:45am UTC](https://forum.ansible.com/t/get-a-list-of-elastic-ips/25263 "2017-09-04T11:45:02Z")

</div>

Hi, Is there a way of getting elastic IPs in AWS account? I can see that most other AWS modules have a \_fact version of itself (like ec2\_vpc\_net and ec2\_vpc\_net\_facts) but I don’t see ec2\_eip\_facts there. kind regards …

---

## [Line breaks are excluded when copying a file from ansible linux host to windows server using win\_copy](https://forum.ansible.com/t/line-breaks-are-excluded-when-copying-a-file-from-ansible-linux-host-to-windows-server-using-win-copy/20760)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 2\
**Last updated:** [September 4, 2017, 5:49am UTC](https://forum.ansible.com/t/line-breaks-are-excluded-when-copying-a-file-from-ansible-linux-host-to-windows-server-using-win-copy/20760 "2017-09-04T05:49:45Z")

</div>

I am copying some text files located on a linux file system to windows file system using the win\_copy module of Ansible. The final copied file do not have line breaks in it. So the file which is like this on linux: lin…

---

## [Newbie Need Pull Based Approach But..](https://forum.ansible.com/t/newbie-need-pull-based-approach-but/25399)

<div class="topic-metadata">

**Author:** [@zeldal66666](https://forum.ansible.com/u/zeldal66666)\
**Replies:** 0\
**Last updated:** [September 3, 2017, 3:42am UTC](https://forum.ansible.com/t/newbie-need-pull-based-approach-but/25399 "2017-09-03T03:42:23Z")

</div>

Hello, I am a newbie linux administrator. I am researching CM tools. I really liked ansiable but my clients are user machines and will be offline most of times. I also need provisioning my cloned machines from golden im…

---

## [Create dynamic inventory for OpenStack](https://forum.ansible.com/t/create-dynamic-inventory-for-openstack/25398)

<div class="topic-metadata">

**Author:** [@Soufiane\_Benmalek](https://forum.ansible.com/u/Soufiane_Benmalek)\
**Replies:** 1\
**Last updated:** [September 2, 2017, 5:33pm UTC](https://forum.ansible.com/t/create-dynamic-inventory-for-openstack/25398 "2017-09-02T17:33:45Z")

</div>

Hi, I use Ansible to create servers on OpenStack and to install mysql on it. All is done once, so in my code I want to register the public IP of the new server and store it in my Ansible hosts file. But it does not see…

---

## [ssh-copy on new multiple hosts](https://forum.ansible.com/t/ssh-copy-on-new-multiple-hosts/25369)

<div class="topic-metadata">

**Author:** [@mark\_funcion](https://forum.ansible.com/u/mark_funcion)\
**Replies:** 4\
**Last updated:** [September 2, 2017, 9:06am UTC](https://forum.ansible.com/t/ssh-copy-on-new-multiple-hosts/25369 "2017-09-02T09:06:37Z")

</div>

Hi guys/gals, Any way I can do ssh-copy on multiple hosts via Ansible ad-hoc? I have already added around 50 new hosts in the ansible\_hosts inventory file but hit a wall in copying ssh to those new hosts.

---

## [mysql\_user module error: mysql-python on Mac OSX](https://forum.ansible.com/t/mysql-user-module-error-mysql-python-on-mac-osx/25397)

<div class="topic-metadata">

**Author:** [@Stephen\_Mah](https://forum.ansible.com/u/Stephen_Mah)\
**Replies:** 0\
**Last updated:** [September 2, 2017, 4:23am UTC](https://forum.ansible.com/t/mysql-user-module-error-mysql-python-on-mac-osx/25397 "2017-09-02T04:23:30Z")

</div>

I’m having the following issue on my Mac running I’m trying to run an ansible-playbook and it bombs out with the following mysql\_user command: mysql\_user: name=mmuser password={{ mysql\_root\_password }} priv=‘.:ALL’ sta…

---

## [AWS / Elastic Beanstalk?](https://forum.ansible.com/t/aws-elastic-beanstalk/25395)

<div class="topic-metadata">

**Author:** [@viper233](https://forum.ansible.com/u/viper233)\
**Replies:** 0\
**Last updated:** [September 1, 2017, 5:08pm UTC](https://forum.ansible.com/t/aws-elastic-beanstalk/25395 "2017-09-01T17:08:00Z")

</div>

Looks like https://github.com/hsingh/ansible-elastic-beanstalk is most relevant, it’s written in with boto3. It also looks like it hasn’t been maintained for the past 8 months (which is fine, peoples priorities/roles cha…

---

## [New to Ansible](https://forum.ansible.com/t/new-to-ansible/25394)

<div class="topic-metadata">

**Author:** [@Gamer\_Junior](https://forum.ansible.com/u/Gamer_Junior)\
**Replies:** 1\
**Last updated:** [September 1, 2017, 3:38pm UTC](https://forum.ansible.com/t/new-to-ansible/25394 "2017-09-01T15:38:49Z")

</div>

Hi all, I am new to to Ansible can you guys let me know the right place to start

---

## [YUM module not installing/uninstall local JDK RPM](https://forum.ansible.com/t/yum-module-not-installing-uninstall-local-jdk-rpm/25376)

<div class="topic-metadata">

**Author:** [@Colin\_L](https://forum.ansible.com/u/Colin_L)\
**Replies:** 2\
**Last updated:** [September 1, 2017, 2:49pm UTC](https://forum.ansible.com/t/yum-module-not-installing-uninstall-local-jdk-rpm/25376 "2017-09-01T14:49:22Z")

</div>

Hello, YUM module doesn’t seem to find the correct state of a JDK module. When I run it with both ‘installed’ and ‘absent’ both of the playbooks run successfully. Ad-hoc play: ansible localhost -m yum -a “state=instal…

---

## [Ansible win\_dsc assistance](https://forum.ansible.com/t/ansible-win-dsc-assistance/25392)

<div class="topic-metadata">

**Author:** [@bjnobson69](https://forum.ansible.com/u/bjnobson69)\
**Replies:** 0\
**Last updated:** [September 1, 2017, 11:30am UTC](https://forum.ansible.com/t/ansible-win-dsc-assistance/25392 "2017-09-01T11:30:06Z")

</div>

Hello, Can anyone help me with using the win\_dsc module now available in Ansible 2.4/devel? My target machine is Windows Server 2016 with PowerShell v5.1 Currently on the Windows server I have installed the following …

---

## [When statements should not include jinja2 templating delimiters such as {{ }} or {% %}](https://forum.ansible.com/t/when-statements-should-not-include-jinja2-templating-delimiters-such-as-or/25391)

<div class="topic-metadata">

**Author:** [@Prologas](https://forum.ansible.com/u/Prologas)\
**Replies:** 5\
**Last updated:** [September 1, 2017, 9:50am UTC](https://forum.ansible.com/t/when-statements-should-not-include-jinja2-templating-delimiters-such-as-or/25391 "2017-09-01T09:50:23Z")

</div>

Hello, strange output comes to my ansible console, but the task works as I expected? name: WildFly copy listed wars to server vm1 copy: src={{ item }} dest=/tmp/ mode=0640 owner=wildfly group=wildfly when: ansible\_d…

---

## [failed - "rc": 127 - stderr not found](https://forum.ansible.com/t/failed-rc-127-stderr-not-found/25390)

<div class="topic-metadata">

**Author:** [@Tobias\_Malzer](https://forum.ansible.com/u/Tobias_Malzer)\
**Replies:** 2\
**Last updated:** [September 1, 2017, 9:44am UTC](https://forum.ansible.com/t/failed-rc-127-stderr-not-found/25390 "2017-09-01T09:44:38Z")

</div>

Hi everybody, I’m working on getting my hands on ansible to use it for network automation purposes. I’ve a problem with a first simple script which is issuing a show command on a switch. I’ve to hosts defined in my hos…

---

## [Simple ansible script Error](https://forum.ansible.com/t/simple-ansible-script-error/25385)

<div class="topic-metadata">

**Author:** [@Konrad\_Kosewski](https://forum.ansible.com/u/Konrad_Kosewski)\
**Replies:** 4\
**Last updated:** [September 1, 2017, 9:15am UTC](https://forum.ansible.com/t/simple-ansible-script-error/25385 "2017-09-01T09:15:38Z")

</div>

I have errors Could You help me :smiley: hosts: “{{ variable\_hosts | default(‘all’) }}” remote\_user: ansible become: yes tasks: include\_vars: users.yml name: Make sure we have a {{ item.groupname }} group gr…

---

## [How to install Window packages that install into the user's home profile](https://forum.ansible.com/t/how-to-install-window-packages-that-install-into-the-users-home-profile/25378)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 2\
**Last updated:** [August 31, 2017, 8:22pm UTC](https://forum.ansible.com/t/how-to-install-window-packages-that-install-into-the-users-home-profile/25378 "2017-08-31T20:22:20Z")

</div>

How do I install a windows package that installs itself into the users home profile? Example, Slack It installs into ansible\_env\[‘USERPROFILE’\]\\AppData\\Local\\slack The become\_method and become\_user when authenticating…

---

## [WinRM Not listening on all IPs even though configured that way](https://forum.ansible.com/t/winrm-not-listening-on-all-ips-even-though-configured-that-way/25373)

<div class="topic-metadata">

**Author:** [@Justin3](https://forum.ansible.com/u/Justin3)\
**Replies:** 5\
**Last updated:** [August 31, 2017, 8:20pm UTC](https://forum.ansible.com/t/winrm-not-listening-on-all-ips-even-though-configured-that-way/25373 "2017-08-31T20:20:21Z")

</div>

I have about 1500 guests under management, most of which are windows. A few guests are not accepting connections from Ansible. Looking at their WinRM configurations they are set to listen on all IPs for the WinRM listene…

---

## [powershell version upgrade on windows server 2008 R2](https://forum.ansible.com/t/powershell-version-upgrade-on-windows-server-2008-r2/25379)

<div class="topic-metadata">

**Author:** [@Sukanya\_shenoy](https://forum.ansible.com/u/Sukanya_shenoy)\
**Replies:** 6\
**Last updated:** [August 31, 2017, 8:16pm UTC](https://forum.ansible.com/t/powershell-version-upgrade-on-windows-server-2008-r2/25379 "2017-08-31T20:16:20Z")

</div>

Hi, I’m trying to upgrade powershell version on windows server 2008R2 through powershell commands. if I run those commands on powershell directly it is working fine but if use same commands in ansible playbook it is th…

---

## [Unable to do basic win\_ping from CentOS7 to Windows 2012](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383)

<div class="topic-metadata">

**Author:** [@sohail.prodevans](https://forum.ansible.com/u/sohail.prodevans)\
**Replies:** 2\
**Last updated:** [August 31, 2017, 7:27pm UTC](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383 "2017-08-31T19:27:28Z")

</div>

Use windows fqdn name in place of IPaddress then it will work

---

## [Questions:  variables and includes](https://forum.ansible.com/t/questions-variables-and-includes/25387)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 6:09pm UTC](https://forum.ansible.com/t/questions-variables-and-includes/25387 "2017-08-31T18:09:38Z")

</div>

I have the following scenario, and I just want to see if I understand correctly what is happening (hopefully after posting this my alignment doesn’t get all messed up): main.yml \<---- Gathers some variables… has some in…

---

## [Blockinfile - how to delete text](https://forum.ansible.com/t/blockinfile-how-to-delete-text/25386)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 6:06pm UTC](https://forum.ansible.com/t/blockinfile-how-to-delete-text/25386 "2017-08-31T18:06:29Z")

</div>

I have this text file and I was trying to delete some text that I had just added. Not sure how I would go about deleting The entire text tree and the wrappers #BEGIN ANSIBLE MANAGED BLOCK Just deleting the text tre…

---

## [Need to chat off-forum](https://forum.ansible.com/t/need-to-chat-off-forum/25337)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 5\
**Last updated:** [August 31, 2017, 3:57pm UTC](https://forum.ansible.com/t/need-to-chat-off-forum/25337 "2017-08-31T15:57:39Z")

</div>

Hi all - I have some difficult people in my organization that are in positions of power that think that just because doing something manually “isn’t very hard”, it shouldn’t be automated. For example, clone of VMs from …

---

## [Hierarchical lookups.](https://forum.ansible.com/t/hierarchical-lookups/25381)

<div class="topic-metadata">

**Author:** [@Craig\_Dunn](https://forum.ansible.com/u/Craig_Dunn)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 9:51am UTC](https://forum.ansible.com/t/hierarchical-lookups/25381 "2017-08-31T09:51:52Z")

</div>

Hi all I wanted to reach out here in the hope of getting some feedback / ideas from the Ansible community regarding a little side project I've been working on lately, an Ansible lookup plugin that can be used to do …

---

## [Conditional run of win\_feature with ansible](https://forum.ansible.com/t/conditional-run-of-win-feature-with-ansible/25375)

<div class="topic-metadata">

**Author:** [@daniyal.javed](https://forum.ansible.com/u/daniyal.javed)\
**Replies:** 2\
**Last updated:** [August 31, 2017, 9:19am UTC](https://forum.ansible.com/t/conditional-run-of-win-feature-with-ansible/25375 "2017-08-31T09:19:46Z")

</div>

up vote down votefavorite | I am installing (about 30) and removing (about 40) required windows features on a 2012 R2 box. My playbook looks like this: --- - name: Installing features win\_feature: name: '{{ i…

---

## [\--tags not propagating thru a play include](https://forum.ansible.com/t/tags-not-propagating-thru-a-play-include/25382)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 9:18am UTC](https://forum.ansible.com/t/tags-not-propagating-thru-a-play-include/25382 "2017-08-31T09:18:35Z")

</div>

I have a playbook that includes lots of other playbooks, eg \` site.yml include: mesos-master.yml include: mesos-slave.yml \` Inside mesos-master.yml for example, I have play that looks like \` name: Configure loggi…

---

## [Can't connect using winrm not accepting self-signed certs](https://forum.ansible.com/t/cant-connect-using-winrm-not-accepting-self-signed-certs/25380)

<div class="topic-metadata">

**Author:** [@Julian\_Bueno](https://forum.ansible.com/u/Julian_Bueno)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 7:33am UTC](https://forum.ansible.com/t/cant-connect-using-winrm-not-accepting-self-signed-certs/25380 "2017-08-31T07:33:29Z")

</div>

My issue here: https://github.com/ansible/ansible/issues/28863 By default ConfigureRemotingForAnsible.ps1creates a self signed certificate which isn’t trusted by default. How can I make it trusted?

---

## [Ansible Licensing](https://forum.ansible.com/t/ansible-licensing/25372)

<div class="topic-metadata">

**Author:** [@rtiwariops](https://forum.ansible.com/u/rtiwariops)\
**Replies:** 4\
**Last updated:** [August 30, 2017, 10:24pm UTC](https://forum.ansible.com/t/ansible-licensing/25372 "2017-08-30T22:24:49Z")

</div>

Hello Guys, I am planning to develop a custom wrapper language and would like to use ansible inside my language. Once the product is ready, will I be able to sell it to other customers for free or for some charges? Tha…

---

## [iterating using with\_list](https://forum.ansible.com/t/iterating-using-with-list/25362)

<div class="topic-metadata">

**Author:** [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Replies:** 2\
**Last updated:** [August 30, 2017, 7:56pm UTC](https://forum.ansible.com/t/iterating-using-with-list/25362 "2017-08-30T19:56:58Z")

</div>

Hi, I have a requirement to iterate over list of lists: panels:

---

## [Customized error message on failed task?](https://forum.ansible.com/t/customized-error-message-on-failed-task/25374)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [August 30, 2017, 7:27pm UTC](https://forum.ansible.com/t/customized-error-message-on-failed-task/25374 "2017-08-30T19:27:46Z")

</div>

I have googled this, and found I am not the first to ask. I have the following: \` name: Check if NetworkManager is running shell: “systemctl status NetworkManager” register: nm\_status changed\_when: false ignore\_er…

---

## [Calling multiple handlers -- more graceful way?](https://forum.ansible.com/t/calling-multiple-handlers-more-graceful-way/25371)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 0\
**Last updated:** [August 30, 2017, 6:42pm UTC](https://forum.ansible.com/t/calling-multiple-handlers-more-graceful-way/25371 "2017-08-30T18:42:39Z")

</div>

I wish to use a handler called Networking to call multiple, other handlers. I am currently doing it this way, but I am wondering if there was a more graceful way? \` name: Networking command: echo changed\_when: true …

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

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