# Archives

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

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

**Page:** 566

---

## [yum module not updating local rpm](https://forum.ansible.com/t/yum-module-not-updating-local-rpm/22165)

<div class="topic-metadata">

**Author:** [@Giovanni\_Torres](https://forum.ansible.com/u/Giovanni_Torres)\
**Replies:** 1\
**Last updated:** [August 5, 2016, 9:22pm UTC](https://forum.ansible.com/t/yum-module-not-updating-local-rpm/22165 "2016-08-05T21:22:50Z")

</div>

Running ansible 2.1.1.0 on CentOS 6. I have a package (v5.5.0) that is installed on the remote host: \[remotehost ~\] $ rpm -q mypkg mypkg-5.5.0-1.el6.x86\_64 I tried to use this command on the ansible server to update …

---

## [not seeing any changes on target host(Running git example of deploying stand-alone tomcat server)](https://forum.ansible.com/t/not-seeing-any-changes-on-target-host-running-git-example-of-deploying-stand-alone-tomcat-server/22224)

<div class="topic-metadata">

**Author:** [@Anushri\_Mishra](https://forum.ansible.com/u/Anushri_Mishra)\
**Replies:** 3\
**Last updated:** [August 5, 2016, 9:13pm UTC](https://forum.ansible.com/t/not-seeing-any-changes-on-target-host-running-git-example-of-deploying-stand-alone-tomcat-server/22224 "2016-08-05T21:13:03Z")

</div>

hi, I am running examples from git-ansible examples project and running “tomcat-standalone” server example. Not seeing any changes on the target host. Below is the output: Also I changed the hosts file to be : \[tomcat…

---

## [You need to be root to perform this command.](https://forum.ansible.com/t/you-need-to-be-root-to-perform-this-command/22216)

<div class="topic-metadata">

**Author:** [@Anushri\_Mishra](https://forum.ansible.com/u/Anushri_Mishra)\
**Replies:** 3\
**Last updated:** [August 5, 2016, 6:42pm UTC](https://forum.ansible.com/t/you-need-to-be-root-to-perform-this-command/22216 "2016-08-05T18:42:23Z")

</div>

hi,I have been trying to run this playbook. hosts: webservers vars: http\_port: 80 max\_clients: 200 remote\_user: root tasks: name: ensure apache is at the latest version yum: name=httpd state=latest name: writ…

---

## [ERR : msg: src (or content) and dest are required](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221)

<div class="topic-metadata">

**Author:** [@Kiran\_Patil](https://forum.ansible.com/u/Kiran_Patil)\
**Replies:** 2\
**Last updated:** [August 5, 2016, 6:39pm UTC](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221 "2016-08-05T18:39:54Z")

</div>

Hello, Can someone help on this ? I am getting err failed: \[xxx01\] =\> {“failed”: true} msg: src (or content) and dest are required FATAL: all hosts have already failed – aborting name: Set puppet.conf copy: src=/…

---

## [rsync data 1:1 between old/new servers w/roles](https://forum.ansible.com/t/rsync-data-1-1-between-old-new-servers-w-roles/22222)

<div class="topic-metadata">

**Author:** [@gforster](https://forum.ansible.com/u/gforster)\
**Replies:** 1\
**Last updated:** [August 5, 2016, 5:42pm UTC](https://forum.ansible.com/t/rsync-data-1-1-between-old-new-servers-w-roles/22222 "2016-08-05T17:42:22Z")

</div>

I have a group of oldservers and matching new servers. I need to rsync a dir from each old one to each corresponding new one. e.g. oldserver1:/some/path → newserver1:/some/path oldserver2:/some/path → newserver2:/some…

---

## [How to override a role default dictionary variable value from command line](https://forum.ansible.com/t/how-to-override-a-role-default-dictionary-variable-value-from-command-line/22223)

<div class="topic-metadata">

**Author:** [@Ajay\_B](https://forum.ansible.com/u/Ajay_B)\
**Replies:** 0\
**Last updated:** [August 5, 2016, 3:49pm UTC](https://forum.ansible.com/t/how-to-override-a-role-default-dictionary-variable-value-from-command-line/22223 "2016-08-05T15:49:13Z")

</div>

I have in a role(A) a dictionary variable defined under defaults as follows : ceph\_disks: /dev/vdb: “/es1” This role A is being included in another role B thru dependencies in meta file. When this role B is executed a…

---

## [dynamic inventory jinja2 template help](https://forum.ansible.com/t/dynamic-inventory-jinja2-template-help/22197)

<div class="topic-metadata">

**Author:** [@Bryan\_Pearson](https://forum.ansible.com/u/Bryan_Pearson)\
**Replies:** 1\
**Last updated:** [August 5, 2016, 8:43am UTC](https://forum.ansible.com/t/dynamic-inventory-jinja2-template-help/22197 "2016-08-05T08:43:43Z")

</div>

I have nodes in AWS and I’d like to use the dynamic inventory to create a template. Currently I cant get the facts from all the nodes into the one template file. The template only gets populated with the node thats in “r…

---

## [Encrypting password without using vault](https://forum.ansible.com/t/encrypting-password-without-using-vault/22193)

<div class="topic-metadata">

**Author:** [@Dana\_Christo](https://forum.ansible.com/u/Dana_Christo)\
**Replies:** 2\
**Last updated:** [August 5, 2016, 8:08am UTC](https://forum.ansible.com/t/encrypting-password-without-using-vault/22193 "2016-08-05T08:08:31Z")

</div>

Hi, Is there a way to encrypt a password in the hosts file without using a vault? Thanks!

---

## [Ansible module ecs\_taskdefinition - No JSON could be decoded](https://forum.ansible.com/t/ansible-module-ecs-taskdefinition-no-json-could-be-decoded/22219)

<div class="topic-metadata">

**Author:** [@Luismy\_Saez](https://forum.ansible.com/u/Luismy_Saez)\
**Replies:** 0\
**Last updated:** [August 5, 2016, 7:00am UTC](https://forum.ansible.com/t/ansible-module-ecs-taskdefinition-no-json-could-be-decoded/22219 "2016-08-05T07:00:26Z")

</div>

Hi everyone, I have opened this ‘thread’ to show an error than I am getting with ansible ecs\_\* modules ( Amazon Elastic Container Service ). First, my server details: CentOS 7.2.1511 Python 2.7.5 ansible 2.1.0.0 I b…

---

## [Lineinfile always reporting changed](https://forum.ansible.com/t/lineinfile-always-reporting-changed/20631)

<div class="topic-metadata">

**Author:** [@Austin\_Butler](https://forum.ansible.com/u/Austin_Butler)\
**Replies:** 3\
**Last updated:** [August 5, 2016, 6:42am UTC](https://forum.ansible.com/t/lineinfile-always-reporting-changed/20631 "2016-08-05T06:42:10Z")

</div>

The lineinfile module is consistently reporting changed on a step. The actual replace works fine the first time, and it’s not harming anything on subsequent runs so I guess it’s mostly a cosmetic issue, but still I am tr…

---

## [mysql\_user EXECUTE ON PROCEDURE](https://forum.ansible.com/t/mysql-user-execute-on-procedure/22204)

<div class="topic-metadata">

**Author:** [@Lance\_Onken](https://forum.ansible.com/u/Lance_Onken)\
**Replies:** 1\
**Last updated:** [August 4, 2016, 8:44pm UTC](https://forum.ansible.com/t/mysql-user-execute-on-procedure/22204 "2016-08-04T20:44:17Z")

</div>

Hello, I’d like to grant EXECUTE ON to a single stored PROCEDURE. priv=\*.\*:SELECT/mydb.get\_readings:EXECUTE 'Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used' MySQL doc…

---

## [Running ansible playbook in AWS EC2 instance using Jenkins Job from a local PC using ssh-agent](https://forum.ansible.com/t/running-ansible-playbook-in-aws-ec2-instance-using-jenkins-job-from-a-local-pc-using-ssh-agent/22215)

<div class="topic-metadata">

**Author:** [@Raj\_Boruah](https://forum.ansible.com/u/Raj_Boruah)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 7:48pm UTC](https://forum.ansible.com/t/running-ansible-playbook-in-aws-ec2-instance-using-jenkins-job-from-a-local-pc-using-ssh-agent/22215 "2016-08-04T19:48:38Z")

</div>

Hi, I am trying to run ansible playbook from jenkins installed in my local PC. Ansible playbook is available in AWS EC2 instance. I am using ssh-agent plugin in Jenkins to forward the ssh key but ansible is not able to …

---

## [nested include\_vars not overriding a variable between each loops](https://forum.ansible.com/t/nested-include-vars-not-overriding-a-variable-between-each-loops/22214)

<div class="topic-metadata">

**Author:** [@Aalaesar](https://forum.ansible.com/u/Aalaesar)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 5:21pm UTC](https://forum.ansible.com/t/nested-include-vars-not-overriding-a-variable-between-each-loops/22214 "2016-08-04T17:21:54Z")

</div>

Hello, I’m actually making a role for managing bind configuration but i’m stuck with what seems to be a regression in my role. briefly : Using ansible 2.1.1.0. The role user should be able to give a yml file containi…

---

## [kerberos configuration to ping Windows server with Ansible](https://forum.ansible.com/t/kerberos-configuration-to-ping-windows-server-with-ansible/22211)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 4\
**Last updated:** [August 4, 2016, 4:23pm UTC](https://forum.ansible.com/t/kerberos-configuration-to-ping-windows-server-with-ansible/22211 "2016-08-04T16:23:32Z")

</div>

Hello, I am new in Windows and in Kerberos, following the http://docs.ansible.com/ansible/intro\_windows.html documentation, I tried to parameter kerberos and then ping the windows server without success. Here is the is…

---

## [Deploying Cisco banner with network modules?](https://forum.ansible.com/t/deploying-cisco-banner-with-network-modules/22213)

<div class="topic-metadata">

**Author:** [@Brandon](https://forum.ansible.com/u/Brandon)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 1:39pm UTC](https://forum.ansible.com/t/deploying-cisco-banner-with-network-modules/22213 "2016-08-04T13:39:41Z")

</div>

Has anyone managed to do this? I’ve been using a lot of the new ansible network modules but have ran into a snag trying to configure an exec banner. Looking at accounting logs I see Ansible login, pass the command " bann…

---

## [ansible variables key:value](https://forum.ansible.com/t/ansible-variables-key-value/22212)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 12:42pm UTC](https://forum.ansible.com/t/ansible-variables-key-value/22212 "2016-08-04T12:42:08Z")

</div>

Hi guys, I am writing a number of yaml playbook to run some JSON curl command. the first part of that JSON once run returned a response which is call versionId and applicationId. something key and value.That part 2 supp…

---

## [Using set-up facts before doing tasks](https://forum.ansible.com/t/using-set-up-facts-before-doing-tasks/22209)

<div class="topic-metadata">

**Author:** [@user24](https://forum.ansible.com/u/user24)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 3:32am UTC](https://forum.ansible.com/t/using-set-up-facts-before-doing-tasks/22209 "2016-08-04T03:32:23Z")

</div>

Hello fellas. I’m new 'bout Ansible and English as well I’v tried to use var\_prompt module in my yml file. and now i am stuck by it. I wanna show my remote’s ip address when my prompt is shown up but as far as i kno…

---

## [How to add callback when i use ansible2.0 python api PlaybookCLI()](https://forum.ansible.com/t/how-to-add-callback-when-i-use-ansible2-0-python-api-playbookcli/22208)

<div class="topic-metadata">

**Author:** [@shaolongtan0886](https://forum.ansible.com/u/shaolongtan0886)\
**Replies:** 0\
**Last updated:** [August 4, 2016, 1:54am UTC](https://forum.ansible.com/t/how-to-add-callback-when-i-use-ansible2-0-python-api-playbookcli/22208 "2016-08-04T01:54:56Z")

</div>

Hello everybody, I am writing a python script by Asible2.0 python api. My script work well when I just run a playbook by PlaybookCLI(). Currently, I want to add a callback with running the playbook, but the callback fun…

---

## [Best practice and approach on how to check if the service is started and start if it is not](https://forum.ansible.com/t/best-practice-and-approach-on-how-to-check-if-the-service-is-started-and-start-if-it-is-not/22206)

<div class="topic-metadata">

**Author:** [@wiggler](https://forum.ansible.com/u/wiggler)\
**Replies:** 1\
**Last updated:** [August 4, 2016, 12:25am UTC](https://forum.ansible.com/t/best-practice-and-approach-on-how-to-check-if-the-service-is-started-and-start-if-it-is-not/22206 "2016-08-04T00:25:22Z")

</div>

Hello all, I would like to automate the checking of the services if is it properly chkconfig on and set to on if its off and start. also need to check if the service is on then start if its off in RHEL6. Thanks.

---

## [Performance improvements](https://forum.ansible.com/t/performance-improvements/22207)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [August 3, 2016, 9:58pm UTC](https://forum.ansible.com/t/performance-improvements/22207 "2016-08-03T21:58:34Z")

</div>

Hi all, I’ve dedicated this week to begin looking into some of the performance issues people have reported since 2.0 was released, and I have a working branch I’d like some testing against: https://github.com/ansible/an…

---

## [ssh retry functionality (for flaky network responses)](https://forum.ansible.com/t/ssh-retry-functionality-for-flaky-network-responses/22164)

<div class="topic-metadata">

**Author:** [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Replies:** 4\
**Last updated:** [August 3, 2016, 7:55pm UTC](https://forum.ansible.com/t/ssh-retry-functionality-for-flaky-network-responses/22164 "2016-08-03T19:55:58Z")

</div>

Hi, Is there any way, in Ansible 1.9.6, of having Ansible retry a failed connection attempt x times at y intervals? We are seeing flaky network behavior when deploying on AWS, with apparently random ssh failures causing…

---

## [Running powershell script with dependencies](https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203)

<div class="topic-metadata">

**Author:** [@Ross\_Jones](https://forum.ansible.com/u/Ross_Jones)\
**Replies:** 1\
**Last updated:** [August 3, 2016, 6:59pm UTC](https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203 "2016-08-03T18:59:23Z")

</div>

Hi all, Is it possible to execute a powershell script which depends on other scripts using the script task? Thanks

---

## [oVirt/RHEV storage management module](https://forum.ansible.com/t/ovirt-rhev-storage-management-module/22205)

<div class="topic-metadata">

**Author:** [@Ryan\_Groten](https://forum.ansible.com/u/Ryan_Groten)\
**Replies:** 0\
**Last updated:** [August 3, 2016, 4:54pm UTC](https://forum.ansible.com/t/ovirt-rhev-storage-management-module/22205 "2016-08-03T16:54:36Z")

</div>

Posted this on the oVirt mailing list but figured there may be some interested parties here as well. I wrote a module for storage management and created a pull request to have it added as an Extra module in Ansible. It c…

---

## [What do you prefer for your components - Roles or playbooks ?](https://forum.ansible.com/t/what-do-you-prefer-for-your-components-roles-or-playbooks/22200)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 3\
**Last updated:** [August 3, 2016, 1:05pm UTC](https://forum.ansible.com/t/what-do-you-prefer-for-your-components-roles-or-playbooks/22200 "2016-08-03T13:05:28Z")

</div>

Roles are reusable, well managed and promotes sharing - this i understand very well. But somehow, i do not like them much, specially in enterprise applications. The application i am working on is a monolith being conver…

---

## [How to define a base\_dir var so you can use {{ base\_dir }}/playbooks etc?](https://forum.ansible.com/t/how-to-define-a-base-dir-var-so-you-can-use-base-dir-playbooks-etc/22184)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [August 3, 2016, 12:01pm UTC](https://forum.ansible.com/t/how-to-define-a-base-dir-var-so-you-can-use-base-dir-playbooks-etc/22184 "2016-08-03T12:01:20Z")

</div>

Hi, Ansible 2.1.1.0. Situation: Tim and Bob both deploy servers. Tim checks out the central ansible git repo to /home/tim/ansible while Bob checks it out to /home/bob/ansible. No special ansible.cfg is used by either. …

---

## [Ansible executes task regardless of conditional](https://forum.ansible.com/t/ansible-executes-task-regardless-of-conditional/22181)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [August 3, 2016, 11:34am UTC](https://forum.ansible.com/t/ansible-executes-task-regardless-of-conditional/22181 "2016-08-03T11:34:14Z")

</div>

Hi all, I have this weird thing inside a role, hopefully someone can straighten me out: My role is a custom made one, which performs Azure vm deployments, supporting both Linux and Windows. The last steps of the role a…

---

## [How to easily configure DNS and NTP settings on my clients?](https://forum.ansible.com/t/how-to-easily-configure-dns-and-ntp-settings-on-my-clients/22201)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 0\
**Last updated:** [August 3, 2016, 11:29am UTC](https://forum.ansible.com/t/how-to-easily-configure-dns-and-ntp-settings-on-my-clients/22201 "2016-08-03T11:29:09Z")

</div>

Hello, I’m still new to ansible and have a lot of questions on my mind. Maybe someone could answer two of them. In my environment I have a lot of Red Hat and some SUSE servers. I’d like to use ansible to configure the …

---

## [Has anyone used Ansible to generate a kind of report about certain checks on remote hosts ?](https://forum.ansible.com/t/has-anyone-used-ansible-to-generate-a-kind-of-report-about-certain-checks-on-remote-hosts/22074)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 6\
**Last updated:** [August 3, 2016, 9:49am UTC](https://forum.ansible.com/t/has-anyone-used-ansible-to-generate-a-kind-of-report-about-certain-checks-on-remote-hosts/22074 "2016-08-03T09:49:10Z")

</div>

Hi All, I am trying to prepare Ansible scripts to check remote hosts for certain things like - OS version, free disk space etc. I am able to create tasks for each of this check as Ansible already have a great support fo…

---

## [ProductId and/or Name does not match](https://forum.ansible.com/t/productid-and-or-name-does-not-match/22198)

<div class="topic-metadata">

**Author:** [@Deepak\_Kumar](https://forum.ansible.com/u/Deepak_Kumar)\
**Replies:** 0\
**Last updated:** [August 3, 2016, 7:15am UTC](https://forum.ansible.com/t/productid-and-or-name-does-not-match/22198 "2016-08-03T07:15:13Z")

</div>

Hi, I am trying to install SQL package in target machine. Though i have given the correct product id I am getting the following error. "module\_name": “win\_package”}, “msg”: “Package from D:\\SQL 2014\\SQLEXPR\_x64\_ENU\\SETU…

---

## [Network Modules Parents: as a list](https://forum.ansible.com/t/network-modules-parents-as-a-list/22187)

<div class="topic-metadata">

**Author:** [@emhgully](https://forum.ansible.com/u/emhgully)\
**Replies:** 1\
**Last updated:** [August 3, 2016, 3:05am UTC](https://forum.ansible.com/t/network-modules-parents-as-a-list/22187 "2016-08-03T03:05:48Z")

</div>

Hello, I am trying to setup a file as shown below. Where the command “switchport access vlan 10” is required on two separate parts of the configuration “GigabitEthernet1/0/2” and “GigabitEthernet1/0/30”. However it only…

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

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