# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=247

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

**Page:** 248

---

## [Accessing facts from within an action plugin](https://forum.ansible.com/t/accessing-facts-from-within-an-action-plugin/28041)

<div class="topic-metadata">

**Author:** [@Marcus\_B](https://forum.ansible.com/u/Marcus_B)\
**Replies:** 0\
**Last updated:** [July 13, 2018, 9:38am UTC](https://forum.ansible.com/t/accessing-facts-from-within-an-action-plugin/28041 "2018-07-13T09:38:50Z")

</div>

It should be possible to access facts gathered by the setup module from within an action plugin, right? Where are those stored?

---

## [Mitogen for Ansible stable release](https://forum.ansible.com/t/mitogen-for-ansible-stable-release/28018)

<div class="topic-metadata">

**Author:** [@dw1](https://forum.ansible.com/u/dw1)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 8:39am UTC](https://forum.ansible.com/t/mitogen-for-ansible-stable-release/28018 "2018-07-13T08:39:27Z")

</div>

Hi, The first stable version of the Mitogen for Ansible extension has been released. Mitogen for Ansible is a widely compatible drop-in replacement for Ansible’s lower execution layers, netting hug speed-ups in many com…

---

## [Subnet Id does not exist - Launching ec2 instance using ansible](https://forum.ansible.com/t/subnet-id-does-not-exist-launching-ec2-instance-using-ansible/24621)

<div class="topic-metadata">

**Author:** [@Mohit\_Garg](https://forum.ansible.com/u/Mohit_Garg)\
**Replies:** 1\
**Last updated:** [July 13, 2018, 6:00am UTC](https://forum.ansible.com/t/subnet-id-does-not-exist-launching-ec2-instance-using-ansible/24621 "2018-07-13T06:00:18Z")

</div>

Hi, I am trying to spin up an ec2 instance using ansible version 2.2.1.0. The task file looks like:

---

## [HP ILO textcons/vsp and continue working from there](https://forum.ansible.com/t/hp-ilo-textcons-vsp-and-continue-working-from-there/27971)

<div class="topic-metadata">

**Author:** [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Replies:** 16\
**Last updated:** [July 13, 2018, 4:25am UTC](https://forum.ansible.com/t/hp-ilo-textcons-vsp-and-continue-working-from-there/27971 "2018-07-13T04:25:39Z")

</div>

Hi, So i got this problem and see if ansible can help to fit in. i got HP server that is only accessible from ILO. Connecting to ILO is not an issue, because it’s a ssh channel. From here, we can issue command like t…

---

## [conditional.  when variable in variable](https://forum.ansible.com/t/conditional-when-variable-in-variable/28039)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 6\
**Last updated:** [July 12, 2018, 8:27pm UTC](https://forum.ansible.com/t/conditional-when-variable-in-variable/28039 "2018-07-12T20:27:57Z")

</div>

I wish to use a when statement that takes a variable passed in at command line (user), check it against a variable created with getent: (database: passwd). I am doing something wrong. I think the issue is two fold. 1. I …

---

## [Unable to create mysql user in RDS](https://forum.ansible.com/t/unable-to-create-mysql-user-in-rds/28038)

<div class="topic-metadata">

**Author:** [@Karthik\_Chandrasheka](https://forum.ansible.com/u/Karthik_Chandrasheka)\
**Replies:** 0\
**Last updated:** [July 12, 2018, 6:20pm UTC](https://forum.ansible.com/t/unable-to-create-mysql-user-in-rds/28038 "2018-07-12T18:20:17Z")

</div>

Hi, Below is my playbook to create a mysql user on my AWS RDS. Can anyone please tell me what is wrong in this. I get following error when i run mentioned playbook. “(1045, "Access denied for user ‘xxxxx’@‘%’ (using p…

---

## [Uninstall docker with pip through ansible](https://forum.ansible.com/t/uninstall-docker-with-pip-through-ansible/28037)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 2\
**Last updated:** [July 12, 2018, 6:03pm UTC](https://forum.ansible.com/t/uninstall-docker-with-pip-through-ansible/28037 "2018-07-12T18:03:04Z")

</div>

Trying to work out how to uninstall old versions of docker and docker-compose that were installed with pip through ansible?!?! I've had a look at the pip module but can't find a uninstall variable. Hope you can point m…

---

## [How to create a puppet module with pdk using ansible?](https://forum.ansible.com/t/how-to-create-a-puppet-module-with-pdk-using-ansible/28036)

<div class="topic-metadata">

**Author:** [@Fabio\_Gomes\_Sakiyama](https://forum.ansible.com/u/Fabio_Gomes_Sakiyama)\
**Replies:** 5\
**Last updated:** [July 12, 2018, 5:45pm UTC](https://forum.ansible.com/t/how-to-create-a-puppet-module-with-pdk-using-ansible/28036 "2018-07-12T17:45:46Z")

</div>

Hi, I’m trying to create a new puppet module using pdk (pdk new module moduleName) with ansible, but this command requires some prompts and I’m struggling to make it work. I tried the ansible expect module, but without…

---

## [Qustions on Ansible](https://forum.ansible.com/t/qustions-on-ansible/28033)

<div class="topic-metadata">

**Author:** [@Nibedita\_Nanda](https://forum.ansible.com/u/Nibedita_Nanda)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 12:34pm UTC](https://forum.ansible.com/t/qustions-on-ansible/28033 "2018-07-12T12:34:03Z")

</div>

Hi Team, At this phase we are evaluating Ansible for our project where the requirement is to automate our build servers where a bunch of s/w installed and configured. Here is the details what we do: We work on windows…

---

## [WinRM failing on Windows 2008 and TLS 1.2](https://forum.ansible.com/t/winrm-failing-on-windows-2008-and-tls-1-2/28029)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 4\
**Last updated:** [July 12, 2018, 11:32am UTC](https://forum.ansible.com/t/winrm-failing-on-windows-2008-and-tls-1-2/28029 "2018-07-12T11:32:50Z")

</div>

I think this may be more of a Windows problem than an Ansible one, but posting here in case others have come across this issue and have (or need) the solution… We’ve enabled TLS 1.2 support on a bunch of Windows Server …

---

## [multiple item not able to specify](https://forum.ansible.com/t/multiple-item-not-able-to-specify/27985)

<div class="topic-metadata">

**Author:** [@Swapna\_N](https://forum.ansible.com/u/Swapna_N)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 11:17am UTC](https://forum.ansible.com/t/multiple-item-not-able-to-specify/27985 "2018-07-12T11:17:16Z")

</div>

Hi Team I have written script from where /etc/oratab it will take values .But if am specifyg {{dblist}} in export oracle\_sid its not accepting only item is accepting . Both export oraccle\_home and oracle\_sid i can’t kee…

---

## [recommended book](https://forum.ansible.com/t/recommended-book/28005)

<div class="topic-metadata">

**Author:** [@mzagrabe](https://forum.ansible.com/u/mzagrabe)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 10:55am UTC](https://forum.ansible.com/t/recommended-book/28005 "2018-07-12T10:55:10Z")

</div>

Greetings, Do folks use dead-tree books any longer? Has anyone read a good Ansible book? Are there any Ansible books you’d recommend? Obviously I can go to Amazon and check their rating system, but I thought I’d ask …

---

## [Does "setup" module works for Network Devices such as Cisco?](https://forum.ansible.com/t/does-setup-module-works-for-network-devices-such-as-cisco/27989)

<div class="topic-metadata">

**Author:** [@Dilraj\_Singh\_Khalsa](https://forum.ansible.com/u/Dilraj_Singh_Khalsa)\
**Replies:** 3\
**Last updated:** [July 12, 2018, 4:19am UTC](https://forum.ansible.com/t/does-setup-module-works-for-network-devices-such-as-cisco/27989 "2018-07-12T04:19:57Z")

</div>

Hi All, I need to know if the “setup” module works for network devices or not. As per the Ansible documentation, the title for setup module says “setup - Gathers facts about remote hosts” and so I am confused as to if i…

---

## [Need a Playbook to launch an instance](https://forum.ansible.com/t/need-a-playbook-to-launch-an-instance/28000)

<div class="topic-metadata">

**Author:** [@Syed\_Jafar](https://forum.ansible.com/u/Syed_Jafar)\
**Replies:** 5\
**Last updated:** [July 11, 2018, 11:24pm UTC](https://forum.ansible.com/t/need-a-playbook-to-launch-an-instance/28000 "2018-07-11T23:24:59Z")

</div>

Could anyone share a working Playbook that launches an instance. Thanks, S. Jafar

---

## [\[SSL error \]](https://forum.ansible.com/t/ssl-error/28017)

<div class="topic-metadata">

**Author:** [@Jongwon\_Kim](https://forum.ansible.com/u/Jongwon_Kim)\
**Replies:** 4\
**Last updated:** [July 11, 2018, 11:04pm UTC](https://forum.ansible.com/t/ssl-error/28017 "2018-07-11T23:04:43Z")

</div>

Hi I am learning ansible now and I am trying install ansible roles , but I got SSL error message as below. I am running linux in VM. jkim3@jeff:~/ansible\_test$ uname -a Linux jeff 4.15.0-24-generic #26-Ubuntu SMP Wed …

---

## [Control Machine CPU/Memory requirements for Ansible + Ara (NOT Tower)](https://forum.ansible.com/t/control-machine-cpu-memory-requirements-for-ansible-ara-not-tower/27944)

<div class="topic-metadata">

**Author:** [@Swati\_Tyagi](https://forum.ansible.com/u/Swati_Tyagi)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 10:28pm UTC](https://forum.ansible.com/t/control-machine-cpu-memory-requirements-for-ansible-ara-not-tower/27944 "2018-07-11T22:28:14Z")

</div>

Hi, I plan to run Ansible + Ara (https://github.com/openstack/ara) on an Ubuntu 18.04 control machine in order to remotely configure and monitor hundreds to thousands of managed nodes potentially. Could someone please …

---

## [vars\_files- use of variables in filename](https://forum.ansible.com/t/vars-files-use-of-variables-in-filename/28014)

<div class="topic-metadata">

**Author:** [@smalleni](https://forum.ansible.com/u/smalleni)\
**Replies:** 8\
**Last updated:** [July 11, 2018, 7:18pm UTC](https://forum.ansible.com/t/vars-files-use-of-variables-in-filename/28014 "2018-07-11T19:18:52Z")

</div>

Hi, I am including a vars file in my playbook as follows: vars\_files: vars/{{((test|default(‘’)).ansible|default(‘’)).vars|default(‘install.yml’)}} test.ansible.vars is passed from the cli. However, I am seeing ans…

---

## [How to Copy Files between two Remote Servers using Ansible](https://forum.ansible.com/t/how-to-copy-files-between-two-remote-servers-using-ansible/28009)

<div class="topic-metadata">

**Author:** [@abhinav.grntla](https://forum.ansible.com/u/abhinav.grntla)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 2:55pm UTC](https://forum.ansible.com/t/how-to-copy-files-between-two-remote-servers-using-ansible/28009 "2018-07-11T14:55:36Z")

</div>

I am trying to copy the files from Server A to Server B with Ansible running in Server C. I have tried using Ansible Synchronize Module: Exchanged SSH id\_rsa.pub keys between the servers. Was able to ssh between the se…

---

## [Unable to restore Mattermost Database](https://forum.ansible.com/t/unable-to-restore-mattermost-database/28028)

<div class="topic-metadata">

**Author:** [@charlie](https://forum.ansible.com/u/charlie)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 1:21pm UTC](https://forum.ansible.com/t/unable-to-restore-mattermost-database/28028 "2018-07-11T13:21:11Z")

</div>

SUMMARY Unable to restore Postgres database inside container using ansible. Ansible modules, shell commands and shell scripts via ansible can not restore db inside docker container. When executed manually from same backu…

---

## [ios\_command: How to get output of just stdout\_lines or stdout in Ad-Hoc mode](https://forum.ansible.com/t/ios-command-how-to-get-output-of-just-stdout-lines-or-stdout-in-ad-hoc-mode/28023)

<div class="topic-metadata">

**Author:** [@Dilraj\_Singh\_Khalsa](https://forum.ansible.com/u/Dilraj_Singh_Khalsa)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 11:45am UTC](https://forum.ansible.com/t/ios-command-how-to-get-output-of-just-stdout-lines-or-stdout-in-ad-hoc-mode/28023 "2018-07-11T11:45:09Z")

</div>

Hi, Is there a way to get the result of just “stdout\_lines” or “stdout” in the output. Below is the command I am using: ansible S1 -m exos\_command -a “commands=‘show version’” Now the output includes both stdout and s…

---

## [2.6 and 2.6.1 - win\_reboot is broken (?)](https://forum.ansible.com/t/2-6-and-2-6-1-win-reboot-is-broken/28025)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 11:32am UTC](https://forum.ansible.com/t/2-6-and-2-6-1-win-reboot-is-broken/28025 "2018-07-11T11:32:43Z")

</div>

Is it just me or the win\_reboot is broken in the 2.6.x version? It waits for the server to be back again until the timeout and breaks. It was working like a charm until then. Anyone else having this issue? \` RUNNING…

---

## [win\_iis\_website is not a valid attribute for a play](https://forum.ansible.com/t/win-iis-website-is-not-a-valid-attribute-for-a-play/28016)

<div class="topic-metadata">

**Author:** [@Amauri\_Toscano](https://forum.ansible.com/u/Amauri_Toscano)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 11:27am UTC](https://forum.ansible.com/t/win-iis-website-is-not-a-valid-attribute-for-a-play/28016 "2018-07-11T11:27:29Z")

</div>

Hi all i’m brand new to Ansible. Trying to just run an Ansible playbook to re-start a web site, but i’m getting the win\_iis\_website is not a valid attribute for a play… does anybody have any ideas to fix the issue?, bel…

---

## [Playbook only works with -vvv](https://forum.ansible.com/t/playbook-only-works-with-vvv/28020)

<div class="topic-metadata">

**Author:** [@Dave\_Noonan](https://forum.ansible.com/u/Dave_Noonan)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 11:16am UTC](https://forum.ansible.com/t/playbook-only-works-with-vvv/28020 "2018-07-11T11:16:11Z")

</div>

I’ve got a playbook using the ios\_command module to grab command output from a Cisco switch. The playbook works if I run it with -vvv but without -vvv the output file contains only the word “None”. There are no error mes…

---

## [Ansible warnings](https://forum.ansible.com/t/ansible-warnings/28024)

<div class="topic-metadata">

**Author:** [@Sreejith\_Sreejayan](https://forum.ansible.com/u/Sreejith_Sreejayan)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 10:19am UTC](https://forum.ansible.com/t/ansible-warnings/28024 "2018-07-11T10:19:38Z")

</div>

Is there any way to work around the error the when condition while after 2.3 ansible version it dosent support jinja template any fix for the below error \[WARNING\]: when statements should not include jinja2 templating d…

---

## [how to edit tomcat xml using xml module in ansible..](https://forum.ansible.com/t/how-to-edit-tomcat-xml-using-xml-module-in-ansible/28001)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 10:01am UTC](https://forum.ansible.com/t/how-to-edit-tomcat-xml-using-xml-module-in-ansible/28001 "2018-07-11T10:01:37Z")

</div>

Hi , I am trying to use the xml module to edit the tomcat’s server.xml to add few lines .but it not getting idea as what to provide the xpath. In the below ,want to add few line( like acceptCount=“somecontent”, \*\*maxCon…

---

## [ansible\_ipaddresses - select specific IP in template](https://forum.ansible.com/t/ansible-ipaddresses-select-specific-ip-in-template/28003)

<div class="topic-metadata">

**Author:** [@Carsten\_Lenz](https://forum.ansible.com/u/Carsten_Lenz)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 6:57am UTC](https://forum.ansible.com/t/ansible-ipaddresses-select-specific-ip-in-template/28003 "2018-07-11T06:57:22Z")

</div>

Hi all, all my target hosts have 2 or more IP addresses configured: \` ansible host -m setup \[…\] “ansible\_ip\_addresses”: \[ “192.1.2.3”, “172.1.2.3” \], \[…\] \` Now I’m lost on how to use/select a specific IP Addres…

---

## [Anti Denial of Service capabilities in Tower?](https://forum.ansible.com/t/anti-denial-of-service-capabilities-in-tower/28021)

<div class="topic-metadata">

**Author:** [@Shawn\_Wells](https://forum.ansible.com/u/Shawn_Wells)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 3:20am UTC](https://forum.ansible.com/t/anti-denial-of-service-capabilities-in-tower/28021 "2018-07-11T03:20:39Z")

</div>

Hello! First time poster here. I’m working on creating a formal US Government baseline for Tower. One of the requirements is to document any anti Denial of Service capabilities Tower has. Have tried reading through the…

---

## [Ansible 2.1.0: "Interactive authentication required." when operating with sudo ?](https://forum.ansible.com/t/ansible-2-1-0-interactive-authentication-required-when-operating-with-sudo/20936)

<div class="topic-metadata">

**Author:** [@TJG](https://forum.ansible.com/u/TJG)\
**Replies:** 9\
**Last updated:** [July 10, 2018, 10:38pm UTC](https://forum.ansible.com/t/ansible-2-1-0-interactive-authentication-required-when-operating-with-sudo/20936 "2018-07-10T22:38:06Z")

</div>

Hi all; Just looking for a little help to spot what I might be missing. Against a Centos 7 box, using Ansible 2.1.0, this task: \` name: restart httpd service: name: httpd state: restarted \` is giving me an “Inte…

---

## [Ipmitool Ansible](https://forum.ansible.com/t/ipmitool-ansible/28019)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 3\
**Last updated:** [July 10, 2018, 10:21pm UTC](https://forum.ansible.com/t/ipmitool-ansible/28019 "2018-07-10T22:21:32Z")

</div>

Hi All. I’m looking a playbook to find what hostname is running on supermicro servers. Basically if we want to know hostname we should open kvm console and find out.instead of that is there a way to get facts about supe…

---

## [Fetching file from remote server to github repository using Ansible script](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27951)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 7\
**Last updated:** [July 10, 2018, 8:35pm UTC](https://forum.ansible.com/t/fetching-file-from-remote-server-to-github-repository-using-ansible-script/27951 "2018-07-10T20:35:10Z")

</div>

Fetching file from remote server to github repository using Ansible script Server A → remote server like httpd Server B → gihub repository

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=246)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=248)
