# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=531

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

**Page:** 532

---

## [Dynamic Inventory help](https://forum.ansible.com/t/dynamic-inventory-help/23224)

<div class="topic-metadata">

**Author:** [@Sivaram\_Kannan](https://forum.ansible.com/u/Sivaram_Kannan)\
**Replies:** 0\
**Last updated:** [December 11, 2016, 3:32am UTC](https://forum.ansible.com/t/dynamic-inventory-help/23224 "2016-12-11T03:32:53Z")

</div>

Hi, I am trying to modify the fleet dynamic inventory. I have modified the fleet.py in github to generate a json like this { “all”: { “nodetype1”: { “hosts”: \[“10.209.6.1”, “10.203.6.1”, “10.201.6.1”\] } } } When…

---

## [Ansible Offline Installation RHEL7 RPM needed for python-paramiko and python-crypto2](https://forum.ansible.com/t/ansible-offline-installation-rhel7-rpm-needed-for-python-paramiko-and-python-crypto2/23214)

<div class="topic-metadata">

**Author:** [@sasikanta\_sahoo](https://forum.ansible.com/u/sasikanta_sahoo)\
**Replies:** 1\
**Last updated:** [December 10, 2016, 10:40am UTC](https://forum.ansible.com/t/ansible-offline-installation-rhel7-rpm-needed-for-python-paramiko-and-python-crypto2/23214 "2016-12-10T10:40:11Z")

</div>

I am doing Ansible offline installation behind the corporate firewall by downloading individual packages but the two packages python-crypto2 and python-paramiko not able to find for download/installation to Redhat Linux…

---

## [Ansible: how to restart auditd service on CentOS7 when it appears you cant even do it via  native systeml command](https://forum.ansible.com/t/ansible-how-to-restart-auditd-service-on-centos7-when-it-appears-you-cant-even-do-it-via-native-systeml-command/23209)

<div class="topic-metadata">

**Author:** [@matzuba](https://forum.ansible.com/u/matzuba)\
**Replies:** 1\
**Last updated:** [December 10, 2016, 9:49am UTC](https://forum.ansible.com/t/ansible-how-to-restart-auditd-service-on-centos7-when-it-appears-you-cant-even-do-it-via-native-systeml-command/23209 "2016-12-10T09:49:02Z")

</div>

In my playbook, i have a task to update audit.rules and then notify a handler which should restart the auditd service. task: - name: 6.6.7 - audit rules configuration template: src=X/ansible/templates/auditd\_rule…

---

## [How to run Ansible from web server?](https://forum.ansible.com/t/how-to-run-ansible-from-web-server/17260)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 1\
**Last updated:** [December 9, 2016, 9:14pm UTC](https://forum.ansible.com/t/how-to-run-ansible-from-web-server/17260 "2016-12-09T21:14:53Z")

</div>

Hello I use apache2 + cgi. I enabled sudo for all users. But when I try run ansible throw apache2 cgi and I got: { “dark”: { “127.0.0.1”: { “msg”: “Authentication or permission failure. In some cases, you may have b…

---

## [Ansible dynamic inventory, AWS and ec2\_dns\_name](https://forum.ansible.com/t/ansible-dynamic-inventory-aws-and-ec2-dns-name/23219)

<div class="topic-metadata">

**Author:** [@Robert\_Haskins](https://forum.ansible.com/u/Robert_Haskins)\
**Replies:** 0\
**Last updated:** [December 9, 2016, 7:34pm UTC](https://forum.ansible.com/t/ansible-dynamic-inventory-aws-and-ec2-dns-name/23219 "2016-12-09T19:34:04Z")

</div>

Using the ec2.py script, I am trying to select an AWS machine by ec2\_dns\_name. It always seems to not match: e$ ansible -i ./ec2.py ec2-34-192-103-30.compute-1.amazonaws.com -m ping \[WARNING\]: No hosts matched, nothing…

---

## [Ansible Security Mechanisms](https://forum.ansible.com/t/ansible-security-mechanisms/23201)

<div class="topic-metadata">

**Author:** [@Frank\_Albert](https://forum.ansible.com/u/Frank_Albert)\
**Replies:** 1\
**Last updated:** [December 9, 2016, 7:04pm UTC](https://forum.ansible.com/t/ansible-security-mechanisms/23201 "2016-12-09T19:04:12Z")

</div>

Hello Experts, I am using ansible to configure my windows servers with powershell playbooks. Ansible servers communicates with the endpoints using WinRM Connections. I fear that if in any case the ansible server gets c…

---

## [Ansible  win\_package  product\_id  value not available while installing ruby](https://forum.ansible.com/t/ansible-win-package-product-id-value-not-available-while-installing-ruby/23198)

<div class="topic-metadata">

**Author:** [@Biswajit\_Pain](https://forum.ansible.com/u/Biswajit_Pain)\
**Replies:** 2\
**Last updated:** [December 9, 2016, 6:46pm UTC](https://forum.ansible.com/t/ansible-win-package-product-id-value-not-available-while-installing-ruby/23198 "2016-12-09T18:46:23Z")

</div>

I am trying to install Ruby 2.2.5 exe package in Win2k12 server using ansible. As there is no registry value in HKLM\\ . Task Defination name: Install ruby win\_package: name: “Ruby 2.2.5-p319-x64” path: ‘{{ sharedpa…

---

## [Service module fails on updated Ubuntu Trusty](https://forum.ansible.com/t/service-module-fails-on-updated-ubuntu-trusty/23217)

<div class="topic-metadata">

**Author:** [@Jesse\_Pretorius](https://forum.ansible.com/u/Jesse_Pretorius)\
**Replies:** 0\
**Last updated:** [December 9, 2016, 5:27pm UTC](https://forum.ansible.com/t/service-module-fails-on-updated-ubuntu-trusty/23217 "2016-12-09T17:27:32Z")

</div>

With thanks to some not so stable changes in Ubuntu packaging, the current fact check for a system using systemd is very broken. For anyone doing multi-platform checks in their code path this is a bit of a disaster. It …

---

## [How to add something to ansible\_facts?](https://forum.ansible.com/t/how-to-add-something-to-ansible-facts/23140)

<div class="topic-metadata">

**Author:** [@thokari81](https://forum.ansible.com/u/thokari81)\
**Replies:** 8\
**Last updated:** [December 9, 2016, 3:32pm UTC](https://forum.ansible.com/t/how-to-add-something-to-ansible-facts/23140 "2016-12-09T15:32:17Z")

</div>

Hi, maybe I am being stupid here, but why doesn’t it work, that when I call the set\_fact module, and then run the setup module, my newly set fact is not returned? What else do I have to do?

---

## [ec2\_group with permit all](https://forum.ansible.com/t/ec2-group-with-permit-all/23215)

<div class="topic-metadata">

**Author:** [@Brad\_Sturgis](https://forum.ansible.com/u/Brad_Sturgis)\
**Replies:** 0\
**Last updated:** [December 9, 2016, 2:56pm UTC](https://forum.ansible.com/t/ec2-group-with-permit-all/23215 "2016-12-09T14:56:40Z")

</div>

Anyone know how to create an ansible aws ec2\_group ingress rule to permit all traffic or permit custom protocol esp(50) ipsec ?

---

## [Trying to create PR to devel branch for new module](https://forum.ansible.com/t/trying-to-create-pr-to-devel-branch-for-new-module/23199)

<div class="topic-metadata">

**Author:** [@Pieter\_Voet](https://forum.ansible.com/u/Pieter_Voet)\
**Replies:** 6\
**Last updated:** [December 9, 2016, 11:40am UTC](https://forum.ansible.com/t/trying-to-create-pr-to-devel-branch-for-new-module/23199 "2016-12-09T11:40:14Z")

</div>

Hi all, I wrote a new module that can add a variable to ‘extra-vars’ from within a play. All logic executes locally, so this module actually is an action plugin. But that also requires a ‘stub’ module in ‘modules/core/…

---

## [Help test WinRM updates for NTLM, kerb delegation](https://forum.ansible.com/t/help-test-winrm-updates-for-ntlm-kerb-delegation/21386)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 17\
**Last updated:** [December 9, 2016, 5:43am UTC](https://forum.ansible.com/t/help-test-winrm-updates-for-ntlm-kerb-delegation/21386 "2016-12-09T05:43:21Z")

</div>

A new pywinrm release that supports NTLM, kerberos delegation, and much improved performance is just around the corner! Version 0.2.0 is at release candidate, and a test build has been published to testpypi. Just waiting…

---

## [Ansible remote management modules problem](https://forum.ansible.com/t/ansible-remote-management-modules-problem/23208)

<div class="topic-metadata">

**Author:** [@user12](https://forum.ansible.com/u/user12)\
**Replies:** 0\
**Last updated:** [December 9, 2016, 4:46am UTC](https://forum.ansible.com/t/ansible-remote-management-modules-problem/23208 "2016-12-09T04:46:08Z")

</div>

I excecut ansible command : ansible 192.168.207.48 -m ipmi\_power -a “user=wq password=abc.123… stste=off” result is : why? i excecute : ipmitool -I lanplus -H 192.168.207.48 -U wq -P abc.123… power off is OK! He…

---

## [Issue with registered variables](https://forum.ansible.com/t/issue-with-registered-variables/23207)

<div class="topic-metadata">

**Author:** [@Cann](https://forum.ansible.com/u/Cann)\
**Replies:** 2\
**Last updated:** [December 9, 2016, 4:08am UTC](https://forum.ansible.com/t/issue-with-registered-variables/23207 "2016-12-09T04:08:45Z")

</div>

Hi guys , I am having a really hard time with registered variables. I banged my head around all day… but could not figure this out. :frowning: I simply want to register my task result as a variable and access it later o…

---

## [ansible using versioned playbooks ala r10k](https://forum.ansible.com/t/ansible-using-versioned-playbooks-ala-r10k/23202)

<div class="topic-metadata">

**Author:** [@Vince\_Skahan](https://forum.ansible.com/u/Vince_Skahan)\
**Replies:** 1\
**Last updated:** [December 9, 2016, 2:16am UTC](https://forum.ansible.com/t/ansible-using-versioned-playbooks-ala-r10k/23202 "2016-12-09T02:16:18Z")

</div>

Working in a puppet shop, I have to admit r10k is pretty cool. It lets us set up ‘versioned’ environment definitions that we can apply to the right target computers, ala “use the development version of the puppet code (p…

---

## [Remigrating prmoved PRs](https://forum.ansible.com/t/remigrating-prmoved-prs/23206)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 1\
**Last updated:** [December 8, 2016, 10:28pm UTC](https://forum.ansible.com/t/remigrating-prmoved-prs/23206 "2016-12-08T22:28:04Z")

</div>

IMPORTANT: Unless you received a link to this email added by one of the Ansible Core Team members in your PR you can ignore this email Steps 0) Unless you received a link to this email added by one of the Ansible Core …

---

## [IMPORTANT - Ansible Repository Merge](https://forum.ansible.com/t/important-ansible-repository-merge/23130)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 2\
**Last updated:** [December 8, 2016, 9:57pm UTC](https://forum.ansible.com/t/important-ansible-repository-merge/23130 "2016-12-08T21:57:20Z")

</div>

Hi all, just wanted to announce/remind people about the upcoming repo merge. The Plan:

---

## [Strange lookup behavior after ansible 2.2](https://forum.ansible.com/t/strange-lookup-behavior-after-ansible-2-2/23205)

<div class="topic-metadata">

**Author:** [@slavko](https://forum.ansible.com/u/slavko)\
**Replies:** 0\
**Last updated:** [December 8, 2016, 7:46pm UTC](https://forum.ansible.com/t/strange-lookup-behavior-after-ansible-2-2/23205 "2016-12-08T19:46:21Z")

</div>

Hi, Assuming I have lookup plugins of such form: Single

---

## [Oracle Database 12c Install using Ansible    INS-35341](https://forum.ansible.com/t/oracle-database-12c-install-using-ansible-ins-35341/23204)

<div class="topic-metadata">

**Author:** [@BPradhan](https://forum.ansible.com/u/BPradhan)\
**Replies:** 0\
**Last updated:** [December 8, 2016, 7:01pm UTC](https://forum.ansible.com/t/oracle-database-12c-install-using-ansible-ins-35341/23204 "2016-12-08T19:01:15Z")

</div>

Dear All Am trying to install Oracle Database 12.1.0.2 on a target host, using a ansible script on Ansible Master server. On the target host ‘oracle’ OS user has the correct groups: $ id oracle uid=101(oracle) gid=20…

---

## [Oracle 12c Install from Ansible Script](https://forum.ansible.com/t/oracle-12c-install-from-ansible-script/23203)

<div class="topic-metadata">

**Author:** [@BPradhan](https://forum.ansible.com/u/BPradhan)\
**Replies:** 0\
**Last updated:** [December 8, 2016, 6:59pm UTC](https://forum.ansible.com/t/oracle-12c-install-from-ansible-script/23203 "2016-12-08T18:59:05Z")

</div>

Dear All Am trying to install Oracle Database 12.1.0.2 on a target host, using a ansible script on Ansible Master server. On the target host ‘oracle’ OS user has the correct groups: $ id oracle uid=101(oracle) gid=20…

---

## [Question: how to use variable in with\_sequence, casting to int results in zero value](https://forum.ansible.com/t/question-how-to-use-variable-in-with-sequence-casting-to-int-results-in-zero-value/23134)

<div class="topic-metadata">

**Author:** [@frank1](https://forum.ansible.com/u/frank1)\
**Replies:** 2\
**Last updated:** [December 8, 2016, 2:34pm UTC](https://forum.ansible.com/t/question-how-to-use-variable-in-with-sequence-casting-to-int-results-in-zero-value/23134 "2016-12-08T14:34:19Z")

</div>

I am trying to process the result from the find module. The result contains 3 file paths which i would like to process in a loop. The number of files depends on the number of files found in the directories and is set by…

---

## [Basic Info required please regarding the sequence that tasks inside a role are executed in](https://forum.ansible.com/t/basic-info-required-please-regarding-the-sequence-that-tasks-inside-a-role-are-executed-in/23169)

<div class="topic-metadata">

**Author:** [@Michael\_Byrne](https://forum.ansible.com/u/Michael_Byrne)\
**Replies:** 1\
**Last updated:** [December 8, 2016, 7:08am UTC](https://forum.ansible.com/t/basic-info-required-please-regarding-the-sequence-that-tasks-inside-a-role-are-executed-in/23169 "2016-12-08T07:08:33Z")

</div>

Hi, I’m new to Ansible so apologies for the the basic question. I have a role called “manage\_prod\_logs” I created the directory structure automatically using the command → "ansible-galaxy init manage\_prod\_logs" Withi…

---

## [Right way to wait for service start](https://forum.ansible.com/t/right-way-to-wait-for-service-start/23176)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 1\
**Last updated:** [December 8, 2016, 6:56am UTC](https://forum.ansible.com/t/right-way-to-wait-for-service-start/23176 "2016-12-08T06:56:19Z")

</div>

Hi, I would like to restart a server and wait till the services start up. I can us the wait\_for module to wait for ports to be up, but how can I wait for the services to be up? The service modules seem to start,stop or …

---

## [possible to run playbooks in offline mode?](https://forum.ansible.com/t/possible-to-run-playbooks-in-offline-mode/23181)

<div class="topic-metadata">

**Author:** [@neil1](https://forum.ansible.com/u/neil1)\
**Replies:** 1\
**Last updated:** [December 8, 2016, 6:43am UTC](https://forum.ansible.com/t/possible-to-run-playbooks-in-offline-mode/23181 "2016-12-08T06:43:07Z")

</div>

is it possible to run playbooks in an “offline” mode where setup wouldn’t make any remote requests, leaving out any facts that require it? we sometimes have limited internet connectivity and playbooks that are only doin…

---

## [Transform dictionary into lists for module consumption](https://forum.ansible.com/t/transform-dictionary-into-lists-for-module-consumption/23188)

<div class="topic-metadata">

**Author:** [@Geoff\_Webster](https://forum.ansible.com/u/Geoff_Webster)\
**Replies:** 1\
**Last updated:** [December 8, 2016, 5:33am UTC](https://forum.ansible.com/t/transform-dictionary-into-lists-for-module-consumption/23188 "2016-12-08T05:33:35Z")

</div>

I am trying to simplify some variable files for our developers and I am wondering if I can do this transform with existing filter/lookup plugins Ansible. I’ll have this dictionary (and the fields are not static, there c…

---

## [Control socket connect(...): Connection refused](https://forum.ansible.com/t/control-socket-connect-connection-refused/18462)

<div class="topic-metadata">

**Author:** [@Traun\_Leyden](https://forum.ansible.com/u/Traun_Leyden)\
**Replies:** 4\
**Last updated:** [December 8, 2016, 4:35am UTC](https://forum.ansible.com/t/control-socket-connect-connection-refused/18462 "2016-12-08T04:35:30Z")

</div>

I’m running ansible on Ubuntu 14.04.2 LTS running OpenSSH\_6.6.1p1 inside of a Docker container with a CoreOS host, and running this command as root: ansible key\_tleyden -i inventory -m ping -u centos -vvvv and seeing…

---

## [Issue with junos\_config module and delete statements](https://forum.ansible.com/t/issue-with-junos-config-module-and-delete-statements/23196)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 0\
**Last updated:** [December 8, 2016, 12:48am UTC](https://forum.ansible.com/t/issue-with-junos-config-module-and-delete-statements/23196 "2016-12-08T00:48:35Z")

</div>

I was using the junos\_template module in 2.1 with pretty good results, but 2.2 merged junos\_template into junos\_config. Good idea, but I don’t think it’s working right. Here’s an example playbook I’m running: \`

---

## [Ack!  Color!  Make it stop!](https://forum.ansible.com/t/ack-color-make-it-stop/23174)

<div class="topic-metadata">

**Author:** [@K\_Richard\_Pixley](https://forum.ansible.com/u/K_Richard_Pixley)\
**Replies:** 1\
**Last updated:** [December 7, 2016, 4:09pm UTC](https://forum.ansible.com/t/ack-color-make-it-stop/23174 "2016-12-07T16:09:59Z")

</div>

Hi. I’m a total ansible newbie. My first attempt to run a command came out totally illegible as it’s in color. How do I turn this off? Forever. Never ask me again, legible output only, please. I looked through the man …

---

## [with\_items and register in a role/main.yml](https://forum.ansible.com/t/with-items-and-register-in-a-role-main-yml/23133)

<div class="topic-metadata">

**Author:** [@stewart.paul](https://forum.ansible.com/u/stewart.paul)\
**Replies:** 4\
**Last updated:** [December 7, 2016, 4:02pm UTC](https://forum.ansible.com/t/with-items-and-register-in-a-role-main-yml/23133 "2016-12-07T16:02:14Z")

</div>

Hi, I’ve created a small demo below which demonstrates my problem. I can’t seem to invoke the with\_items and call {{item}} later on. What am I doing wrong? I’ve tried searching obviously but I can’t find the direct ans…

---

## [Trouble in using netscaler module of ansible](https://forum.ansible.com/t/trouble-in-using-netscaler-module-of-ansible/23162)

<div class="topic-metadata">

**Author:** [@Chitrangda\_Kapoor](https://forum.ansible.com/u/Chitrangda_Kapoor)\
**Replies:** 3\
**Last updated:** [December 7, 2016, 3:29pm UTC](https://forum.ansible.com/t/trouble-in-using-netscaler-module-of-ansible/23162 "2016-12-07T15:29:54Z")

</div>

Hi, I am trying to use netscaler module of ansible like below:- “ansible host -m netscaler -a “nsc\_host=10.102.56.141 user=nsroot password=nsroot”” But I am getting the below error:- ‘ERROR! Specified hosts and/or --…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=530)

[Next page](https://forum.ansible.com/c/archives/31.md?page=532)
