# Latest

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

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

**Page:** 946

---

## [rpm\_key issue with jenkins setup -failed to parse error](https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952)

<div class="topic-metadata">

**Author:** [@vinay.bhasker](https://forum.ansible.com/u/vinay.bhasker)\
**Replies:** 1\
**Last updated:** [August 16, 2014, 2:49pm UTC](https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952 "2014-08-16T14:49:22Z")

</div>

I am new to Ansible and trying to setup Jenkins via ansible playbook. Below is the snippet from the mail.yml file used. rpm\_key: state=present key=/shared/temp/jenkins-ci.org.key main.yml

---

## [pip module installing xmlrunner for python3 fails but shell install always succeeds?](https://forum.ansible.com/t/pip-module-installing-xmlrunner-for-python3-fails-but-shell-install-always-succeeds/15953)

<div class="topic-metadata">

**Author:** [@Zack\_Perry](https://forum.ansible.com/u/Zack_Perry)\
**Replies:** 1\
**Last updated:** [August 16, 2014, 2:33pm UTC](https://forum.ansible.com/t/pip-module-installing-xmlrunner-for-python3-fails-but-shell-install-always-succeeds/15953 "2014-08-16T14:33:59Z")

</div>

I would like to install xmlrunner via the pip module to a KVM guest running CentOS 6.5 with python34u installed from IUS Community repo. The following task include file always fails

---

## [Correct way of license file management in Ansible?](https://forum.ansible.com/t/correct-way-of-license-file-management-in-ansible/15949)

<div class="topic-metadata">

**Author:** [@Vincent\_Hardion](https://forum.ansible.com/u/Vincent_Hardion)\
**Replies:** 1\
**Last updated:** [August 16, 2014, 2:28pm UTC](https://forum.ansible.com/t/correct-way-of-license-file-management-in-ansible/15949 "2014-08-16T14:28:35Z")

</div>

Hi, I want to manage the license file (the license key of proprietary software) within Ansible for each host. There is few resource on the web on this subject or maybe I use the wrong vocabulary. So can someone tell m…

---

## [Conditionally execute command](https://forum.ansible.com/t/conditionally-execute-command/15960)

<div class="topic-metadata">

**Author:** [@tipytop](https://forum.ansible.com/u/tipytop)\
**Replies:** 1\
**Last updated:** [August 15, 2014, 7:45pm UTC](https://forum.ansible.com/t/conditionally-execute-command/15960 "2014-08-15T19:45:55Z")

</div>

Hi, i have a following problem. I am building OpenStack which uses tool openstack-config for setting value in configuration files. To get value: openstack-config --get /etc/keystone/keystone.conf sql connection To se…

---

## [Ansible Workflow with Roles as Git Submodules](https://forum.ansible.com/t/ansible-workflow-with-roles-as-git-submodules/15954)

<div class="topic-metadata">

**Author:** [@Steffen\_Prince](https://forum.ansible.com/u/Steffen_Prince)\
**Replies:** 4\
**Last updated:** [August 15, 2014, 4:52pm UTC](https://forum.ansible.com/t/ansible-workflow-with-roles-as-git-submodules/15954 "2014-08-15T16:52:05Z")

</div>

What are people’s experiences with using git submodules to incorporate reusable roles into Ansible repos? We’ve just started trying this out because we are incorporating roles from affiliated public role repos as submod…

---

## [Calculating subsets of a dictionary variable for different inventories](https://forum.ansible.com/t/calculating-subsets-of-a-dictionary-variable-for-different-inventories/15961)

<div class="topic-metadata">

**Author:** [@Peter\_Murray](https://forum.ansible.com/u/Peter_Murray)\
**Replies:** 0\
**Last updated:** [August 15, 2014, 4:10pm UTC](https://forum.ansible.com/t/calculating-subsets-of-a-dictionary-variable-for-different-inventories/15961 "2014-08-15T16:10:41Z")

</div>

We are running a small multi-tenant service, and have a large “sites” dictionary defined in group\_vars that holds the configuration data for each tenant. For example: sites: demo: drupal: site\_di…

---

## [vault password broken since f6a55a35525a6ca0b56ad856f2ab11bbd226c1b4](https://forum.ansible.com/t/vault-password-broken-since-f6a55a35525a6ca0b56ad856f2ab11bbd226c1b4/15913)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 10\
**Last updated:** [August 15, 2014, 12:00pm UTC](https://forum.ansible.com/t/vault-password-broken-since-f6a55a35525a6ca0b56ad856f2ab11bbd226c1b4/15913 "2014-08-15T12:00:13Z")

</div>

Hi After updating to 1.7.0, I was not able to use " ansible-playbook --vault-password-file" anymore, ansible returned always ERROR: A vault password must be specified to decrypt data I created a small test shell scrip…

---

## [Template module failing when using su](https://forum.ansible.com/t/template-module-failing-when-using-su/15955)

<div class="topic-metadata">

**Author:** [@John\_Doe1](https://forum.ansible.com/u/John_Doe1)\
**Replies:** 0\
**Last updated:** [August 15, 2014, 7:21am UTC](https://forum.ansible.com/t/template-module-failing-when-using-su/15955 "2014-08-15T07:21:39Z")

</div>

Hello, I found an error in deploying a file through template module when using su. It stops with error message: “Source /tmp/ansible-tmp-1407982491.27-242988883727372/source not readable.” When I checked permission on …

---

## [First timer question](https://forum.ansible.com/t/first-timer-question/15948)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 10:35pm UTC](https://forum.ansible.com/t/first-timer-question/15948 "2014-08-14T22:35:25Z")

</div>

Hi, When one's answer on the Git Comment Pull request feature, does the owner receives a copy of the mail or are we supposed to post the answer on the devel list too ? Thank you,

---

## [Ansible 1.7.1 Released](https://forum.ansible.com/t/ansible-1-7-1-released/15951)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [August 14, 2014, 9:25pm UTC](https://forum.ansible.com/t/ansible-1-7-1-released/15951 "2014-08-14T21:25:39Z")

</div>

Hi all! We have released 1.7.1, which addresses one security issue reported by Tomasz Kontusz, as well as some other bugs. A security fix to disallow specifying ‘args:’ as a string, which could allow the insertion of…

---

## [Mode based dynamic inventory scripts don't work well with Vagrant + VirtualBox or Samba shares.](https://forum.ansible.com/t/mode-based-dynamic-inventory-scripts-dont-work-well-with-vagrant-virtualbox-or-samba-shares/15901)

<div class="topic-metadata">

**Author:** [@Darrel\_O\_Pry](https://forum.ansible.com/u/Darrel_O_Pry)\
**Replies:** 16\
**Last updated:** [August 14, 2014, 9:06pm UTC](https://forum.ansible.com/t/mode-based-dynamic-inventory-scripts-dont-work-well-with-vagrant-virtualbox-or-samba-shares/15901 "2014-08-14T21:06:32Z")

</div>

The file modes for vboxsf, smb shares are fixed. If you’re running ansible in a Vagrant VM, depending on mode to determine whether an inventory is dynamic or not is unreliable. Are there other acceptable solutions to ide…

---

## [Weird set\_fact boolean problem](https://forum.ansible.com/t/weird-set-fact-boolean-problem/15930)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 13\
**Last updated:** [August 14, 2014, 6:04pm UTC](https://forum.ansible.com/t/weird-set-fact-boolean-problem/15930 "2014-08-14T18:04:28Z")

</div>

Before I file a ticket, I just want to make sure I'm not doing anything wrong. BTW, this is a simplified example to reproduce the problem, not what I was actually trying to do. I have this simple playbook test.yml:

---

## [Logical 'OR' in when statement?](https://forum.ansible.com/t/logical-or-in-when-statement/15947)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 1\
**Last updated:** [August 14, 2014, 5:51pm UTC](https://forum.ansible.com/t/logical-or-in-when-statement/15947 "2014-08-14T17:51:46Z")

</div>

Can I execute an action when variable1=x OR variable2=y?

---

## [Geting vars from a different playbook to use as the "hosts" value](https://forum.ansible.com/t/geting-vars-from-a-different-playbook-to-use-as-the-hosts-value/15938)

<div class="topic-metadata">

**Author:** [@Shih\_Oon\_Liong2](https://forum.ansible.com/u/Shih_Oon_Liong2)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 5:46pm UTC](https://forum.ansible.com/t/geting-vars-from-a-different-playbook-to-use-as-the-hosts-value/15938 "2014-08-14T17:46:39Z")

</div>

I am trying to run two playbooks at the same time, with one taking a var from the previous playbook. My code is as follows name: Provision AWS hosts: localhost gather\_facts: no vars\_files: configs/aws.yml tasks: d…

---

## [ansible-playbook truncating results](https://forum.ansible.com/t/ansible-playbook-truncating-results/15946)

<div class="topic-metadata">

**Author:** [@bruce\_bushby](https://forum.ansible.com/u/bruce_bushby)\
**Replies:** 5\
**Last updated:** [August 14, 2014, 1:22pm UTC](https://forum.ansible.com/t/ansible-playbook-truncating-results/15946 "2014-08-14T13:22:07Z")

</div>

Hi I’m new to ansible so still copying examples. I have this playbook example which appears to work…but is truncating the results: \[root@adm1-lon ansible\]# cat ps.yaml hosts: development gather\_facts: no tasks: …

---

## [regarding https://github.com/ansible/ansible/pull/7818](https://forum.ansible.com/t/regarding-https-github-com-ansible-ansible-pull-7818/15899)

<div class="topic-metadata">

**Author:** [@Pradeep\_Jindal](https://forum.ansible.com/u/Pradeep_Jindal)\
**Replies:** 7\
**Last updated:** [August 14, 2014, 1:09pm UTC](https://forum.ansible.com/t/regarding-https-github-com-ansible-ansible-pull-7818/15899 "2014-08-14T13:09:24Z")

</div>

Hi, I think the patch that has been accepted (in context of https://github.com/ansible/ansible/pull/7818) doesn’t provide a way to selectively remove rules from ec2 security group. This pull request provides that functi…

---

## [File lookup](https://forum.ansible.com/t/file-lookup/15934)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 12:57pm UTC](https://forum.ansible.com/t/file-lookup/15934 "2014-08-14T12:57:33Z")

</div>

What is the expected behaviour if a file lookup fails? I have an authorized\_key task: name: Key for ansible user authorized\_key: user=ansible key=“{{ lookup(‘file’, ‘./ansible\_key.pub’) }}” but I moved it into a diff…

---

## [Choosing from conflicting values in multiple roles](https://forum.ansible.com/t/choosing-from-conflicting-values-in-multiple-roles/15940)

<div class="topic-metadata">

**Author:** [@Joel\_Shprentz](https://forum.ansible.com/u/Joel_Shprentz)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 12:32pm UTC](https://forum.ansible.com/t/choosing-from-conflicting-values-in-multiple-roles/15940 "2014-08-14T12:32:14Z")

</div>

The Zabbix installation manual recommends some settings in /etc/php5/apache2/php.ini: \` post\_max\_size = 16M max\_execution\_time = 300 max\_input\_time = 300 date.timezone = UTC \` Other PHP applications have different…

---

## [Strange ansible hangs at the setup stage](https://forum.ansible.com/t/strange-ansible-hangs-at-the-setup-stage/15943)

<div class="topic-metadata">

**Author:** [@fscomm](https://forum.ansible.com/u/fscomm)\
**Replies:** 1\
**Last updated:** [August 14, 2014, 12:09pm UTC](https://forum.ansible.com/t/strange-ansible-hangs-at-the-setup-stage/15943 "2014-08-14T12:09:18Z")

</div>

Hello. Please advise me in the next problem. Environment: Ansible host: CentOS 6.5 x86\_64. Rpm package ansible 1.6.6. I created a task to disable ipv6 on target host. Let’s name this host: myhost. I created task file: …

---

## [ssh\_args per host/group](https://forum.ansible.com/t/ssh-args-per-host-group/15944)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 11:58am UTC](https://forum.ansible.com/t/ssh-args-per-host-group/15944 "2014-08-14T11:58:19Z")

</div>

Hi, We have a requirement to pass for example, -o “RemoteForward 8080 host.behind.the.firewall.com:80” to some hosts so that the host can reverse tunnel to some private resources on our local network. For example we use…

---

## [Problem setting up the bash environment with playbook.](https://forum.ansible.com/t/problem-setting-up-the-bash-environment-with-playbook/15937)

<div class="topic-metadata">

**Author:** [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 11:53am UTC](https://forum.ansible.com/t/problem-setting-up-the-bash-environment-with-playbook/15937 "2014-08-14T11:53:34Z")

</div>

I am trying to execute the commands over playbook. name: Configure open-pbis action: command /opt/pbis/bin/config LoginShellTemplate /bin/bash action: command /opt/pbis/bin/config AssumeDefaultDomain true It is not …

---

## [ansible yum module question](https://forum.ansible.com/t/ansible-yum-module-question/15935)

<div class="topic-metadata">

**Author:** [@Nic\_Flores](https://forum.ansible.com/u/Nic_Flores)\
**Replies:** 1\
**Last updated:** [August 14, 2014, 11:49am UTC](https://forum.ansible.com/t/ansible-yum-module-question/15935 "2014-08-14T11:49:45Z")

</div>

Hey folks, Is there a way that I can yum install every RPM package that live in a certain directory on my target machine? For example, I am trying to translate the following command into an ansible command: yum -y loc…

---

## [Cron File Management](https://forum.ansible.com/t/cron-file-management/15931)

<div class="topic-metadata">

**Author:** [@Joe\_Adams](https://forum.ansible.com/u/Joe_Adams)\
**Replies:** 1\
**Last updated:** [August 14, 2014, 11:44am UTC](https://forum.ansible.com/t/cron-file-management/15931 "2014-08-14T11:44:55Z")

</div>

I’m building a cron server that will basically just serve as a central server to run cron jobs from. I’m having trouble planning/implementing the cron functionality in ansible. There will likely be many jobs under many c…

---

## [set\_fact vs register](https://forum.ansible.com/t/set-fact-vs-register/15945)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 1\
**Last updated:** [August 14, 2014, 11:34am UTC](https://forum.ansible.com/t/set-fact-vs-register/15945 "2014-08-14T11:34:25Z")

</div>

Hi, Apart from the fact that set\_fact is a task on its own and register captures the result of a task, is there any difference between the resulting variables’ scope or lifecycle (or anything else) for example. Thanks, …

---

## [use subelement-variables in templates](https://forum.ansible.com/t/use-subelement-variables-in-templates/15920)

<div class="topic-metadata">

**Author:** [@Sebastian\_Gumprich](https://forum.ansible.com/u/Sebastian_Gumprich)\
**Replies:** 2\
**Last updated:** [August 14, 2014, 6:58am UTC](https://forum.ansible.com/t/use-subelement-variables-in-templates/15920 "2014-08-14T06:58:58Z")

</div>

Hi, I have the following variables: \` splunkforwarder\_log\_items: source: “/var/log” app\_name: “var\_log” recursive: true index: “testindex” splunkforwarder\_log\_files: logfile: “messages” name: “var\_log” sourcet…

---

## [S3 module - Tagging and ACL support](https://forum.ansible.com/t/s3-module-tagging-and-acl-support/15939)

<div class="topic-metadata">

**Author:** [@Daniel\_Cross](https://forum.ansible.com/u/Daniel_Cross)\
**Replies:** 0\
**Last updated:** [August 14, 2014, 12:27am UTC](https://forum.ansible.com/t/s3-module-tagging-and-acl-support/15939 "2014-08-14T00:27:51Z")

</div>

Hello folks, I’m wondering if anyone is working on adding this functionality to the s3 module. I’d love to get this working, so if it’s not already on the go I’ll look at getting it in. Daniel

---

## [looking for confirmation of bug](https://forum.ansible.com/t/looking-for-confirmation-of-bug/15936)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 5\
**Last updated:** [August 13, 2014, 7:30pm UTC](https://forum.ansible.com/t/looking-for-confirmation-of-bug/15936 "2014-08-13T19:30:24Z")

</div>

before I file a bug report playbook to reproduce is below change hosts line to specify three or more individual hosts, or a group containing three or more hosts after running playbook /tmp/test.out is expected to cont…

---

## [Target name question](https://forum.ansible.com/t/target-name-question/15915)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 5\
**Last updated:** [August 13, 2014, 2:44pm UTC](https://forum.ansible.com/t/target-name-question/15915 "2014-08-13T14:44:06Z")

</div>

I have a list of servers to migrate, say: old\_server\_1 old\_server\_2 and a list of new servers, say: new\_server\_1 new\_server\_2 Because the names of the new servers are still undecided I want to use the old names in …

---

## [Problem with role handlers namespacing causing two handlers with same name to both be called](https://forum.ansible.com/t/problem-with-role-handlers-namespacing-causing-two-handlers-with-same-name-to-both-be-called/15916)

<div class="topic-metadata">

**Author:** [@Jean-Francois\_Chevre](https://forum.ansible.com/u/Jean-Francois_Chevre)\
**Replies:** 8\
**Last updated:** [August 13, 2014, 1:16pm UTC](https://forum.ansible.com/t/problem-with-role-handlers-namespacing-causing-two-handlers-with-same-name-to-both-be-called/15916 "2014-08-13T13:16:23Z")

</div>

Hey everyone, I’m having an issue where two handlers with the same name from two different roles are both being called during a playbook run. Gist here: https://gist.github.com/jfchevrette/b8f5edcd94b32284d53f I have …

---

## [jinja json template adds an extra comma breaking json structure](https://forum.ansible.com/t/jinja-json-template-adds-an-extra-comma-breaking-json-structure/15928)

<div class="topic-metadata">

**Author:** [@sascha.lucas](https://forum.ansible.com/u/sascha.lucas)\
**Replies:** 2\
**Last updated:** [August 13, 2014, 12:42pm UTC](https://forum.ansible.com/t/jinja-json-template-adds-an-extra-comma-breaking-json-structure/15928 "2014-08-13T12:42:25Z")

</div>

Hi, &quot;interval&quot;: 5, &quot;standalone&quot;: true \\}, } I'm not sure if I understand your issue correctly... but with jinja2 you can check if you are at the end of a loop: {% if loop.last %}some text a…

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

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