# Latest

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

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

**Page:** 633

---

## [mysql\_db module, variables and hyphenated DB names](https://forum.ansible.com/t/mysql-db-module-variables-and-hyphenated-db-names/25256)

<div class="topic-metadata">

**Author:** [@mark.haney](https://forum.ansible.com/u/mark.haney)\
**Replies:** 0\
**Last updated:** [August 15, 2017, 2:03pm UTC](https://forum.ansible.com/t/mysql-db-module-variables-and-hyphenated-db-names/25256 "2017-08-15T14:03:39Z")

</div>

So, I’m trying to built a task list for backing up our primary DB server. The issue is that ONE database has a hyphenated name (no, I’m not the one that did something that stupid). Here’s the task that bombs: name: ba…

---

## [Need an Intro section for "become" for Windows](https://forum.ansible.com/t/need-an-intro-section-for-become-for-windows/25250)

<div class="topic-metadata">

**Author:** [@Marvin\_Greenberg](https://forum.ansible.com/u/Marvin_Greenberg)\
**Replies:** 2\
**Last updated:** [August 15, 2017, 1:37pm UTC](https://forum.ansible.com/t/need-an-intro-section-for-become-for-windows/25250 "2017-08-15T13:37:45Z")

</div>

How “become” works on windows is confusing in general, and with limited and evolving support (doesn’t work for Kerberos, for example?), a documentation section describing how it works for Windows is important. Further, …

---

## [Not able to update windows using ansible win\_update](https://forum.ansible.com/t/not-able-to-update-windows-using-ansible-win-update/25255)

<div class="topic-metadata">

**Author:** [@tarvinder7](https://forum.ansible.com/u/tarvinder7)\
**Replies:** 1\
**Last updated:** [August 15, 2017, 9:38am UTC](https://forum.ansible.com/t/not-able-to-update-windows-using-ansible-win-update/25255 "2017-08-15T09:38:49Z")

</div>

\--- - name: Install Updates hosts: winserver gather\_facts: true tasks: - win\_updates: category\_names: - SecurityUpdates - CriticalUpdates - UpdateRollups state: installed Result ro…

---

## [Will more CPU cores on the control machine speed up ansible?](https://forum.ansible.com/t/will-more-cpu-cores-on-the-control-machine-speed-up-ansible/25253)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [August 15, 2017, 8:36am UTC](https://forum.ansible.com/t/will-more-cpu-cores-on-the-control-machine-speed-up-ansible/25253 "2017-08-15T08:36:20Z")

</div>

As it says on the tin. Is there any performance gain in an Ansible controller with a quad core CPU versus a dual core? Thanks

---

## [If get\_url is cancelled on a large file following executions fail](https://forum.ansible.com/t/if-get-url-is-cancelled-on-a-large-file-following-executions-fail/25252)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 1\
**Last updated:** [August 15, 2017, 2:33am UTC](https://forum.ansible.com/t/if-get-url-is-cancelled-on-a-large-file-following-executions-fail/25252 "2017-08-15T02:33:37Z")

</div>

Did you look into "local\_tmp" and "remote\_tmp" configured in your Ansible config?

---

## [Database dump with mssql\_db module](https://forum.ansible.com/t/database-dump-with-mssql-db-module/25227)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 9:53pm UTC](https://forum.ansible.com/t/database-dump-with-mssql-db-module/25227 "2017-08-14T21:53:07Z")

</div>

I am curious to see what you are all doing to do DB dumps of MSSQL schema’s using Ansible. Looking at the mssql\_db module, the only option I see is for importing. What is everyone else doing to get some backups via Ansib…

---

## [Getting "502 Bad Gateway" after Ansible Tower 3.1.4 Install](https://forum.ansible.com/t/getting-502-bad-gateway-after-ansible-tower-3-1-4-install/25251)

<div class="topic-metadata">

**Author:** [@Joel\_Chaney](https://forum.ansible.com/u/Joel_Chaney)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 8:22pm UTC](https://forum.ansible.com/t/getting-502-bad-gateway-after-ansible-tower-3-1-4-install/25251 "2017-08-14T20:22:58Z")

</div>

Ansible Tower installed on CentOs 7 minimal installed server. Install completed with 0 errors but nginx generates 502 error when trying to access new Ansible Tower configuration. Any ideas on fix?

---

## [Looking to Contribute](https://forum.ansible.com/t/looking-to-contribute/25170)

<div class="topic-metadata">

**Author:** [@Rob\_M](https://forum.ansible.com/u/Rob_M)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 7:05pm UTC](https://forum.ansible.com/t/looking-to-contribute/25170 "2017-08-14T19:05:37Z")

</div>

Hi, I have been using Ansible at my workplace for a while, and have been wanting to contribute to an open source project for a while since it is something I am passionate about. I checked the community page, and it sent…

---

## [Capture ansible playbook command line](https://forum.ansible.com/t/capture-ansible-playbook-command-line/25249)

<div class="topic-metadata">

**Author:** [@graftonmaple](https://forum.ansible.com/u/graftonmaple)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 7:02pm UTC](https://forum.ansible.com/t/capture-ansible-playbook-command-line/25249 "2017-08-14T19:02:55Z")

</div>

For auditing purpose we would like to capture all ansible playbook commands being run by another team. How do I approach this? Ideally we would like to assign it same pid as rest of the play and be part of ansible.log B…

---

## [win\_package unable to install .exe Chart Director](https://forum.ansible.com/t/win-package-unable-to-install-exe-chart-director/25180)

<div class="topic-metadata">

**Author:** [@daniyal.javed](https://forum.ansible.com/u/daniyal.javed)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 6:41pm UTC](https://forum.ansible.com/t/win-package-unable-to-install-exe-chart-director/25180 "2017-08-14T18:41:27Z")

</div>

Hello, I am trying to install Chart Director which is an .exe file with ansible. I am trying to use win\_package to do the install as I have already checked for the registries in the uninstall directory (HKLM:Software\\Wow…

---

## [Quote mismatch when executing a command on windows boxes](https://forum.ansible.com/t/quote-mismatch-when-executing-a-command-on-windows-boxes/25122)

<div class="topic-metadata">

**Author:** [@rambius](https://forum.ansible.com/u/rambius)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 5:00pm UTC](https://forum.ansible.com/t/quote-mismatch-when-executing-a-command-on-windows-boxes/25122 "2017-08-14T17:00:12Z")

</div>

Hello, I have several windows boxes with directories on them full of log files. I want to delete all log files older then 7 days. The dos command that does it is forfiles /d -7 /c “cmd /c del @path” I tested the comma…

---

## [Access dynamically loaded variables by name](https://forum.ansible.com/t/access-dynamically-loaded-variables-by-name/25248)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 4:44pm UTC](https://forum.ansible.com/t/access-dynamically-loaded-variables-by-name/25248 "2017-08-14T16:44:44Z")

</div>

Hi again, I'm looking for a way to merge multiple lists into one. Difficulty is that the lists have dynamic names. E.g. #### cluster.yaml ####

---

## [Fetch Time Out with Windows Server 2008 SP2 and R2 - Works for Server 2012](https://forum.ansible.com/t/fetch-time-out-with-windows-server-2008-sp2-and-r2-works-for-server-2012/25077)

<div class="topic-metadata">

**Author:** [@Richard\_Rogers](https://forum.ansible.com/u/Richard_Rogers)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 4:42pm UTC](https://forum.ansible.com/t/fetch-time-out-with-windows-server-2008-sp2-and-r2-works-for-server-2012/25077 "2017-08-14T16:42:03Z")

</div>

Hi, Pretty new to Ansible, but enjoying it so far :slight\_smile: I have a playbook that connects to a Windows server, creates a zip file of a specific folder, sub folders and files, then upload to the Ansible server. T…

---

## [Cisco Spark - Token](https://forum.ansible.com/t/cisco-spark-token/25247)

<div class="topic-metadata">

**Author:** [@Rodrigo](https://forum.ansible.com/u/Rodrigo)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 4:38pm UTC](https://forum.ansible.com/t/cisco-spark-token/25247 "2017-08-14T16:38:13Z")

</div>

Hello Everyone, Do you know if anyone in this group already work with Cisco Spark integration in order to send message via ansible ( playbook ) to room in Spark? I am receiving errors with try to authentication via tok…

---

## [Variable expansion in include\_vars](https://forum.ansible.com/t/variable-expansion-in-include-vars/25246)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 4:26pm UTC](https://forum.ansible.com/t/variable-expansion-in-include-vars/25246 "2017-08-14T16:26:08Z")

</div>

Hi, I'm trying to keep my playbooks and related var files portable. Currently I'm stuck with the following: ### input.yaml ###

---

## [ansible\_host + proxy + windows servers (WinRM) not working](https://forum.ansible.com/t/ansible-host-proxy-windows-servers-winrm-not-working/25222)

<div class="topic-metadata">

**Author:** [@Mike\_Klebolt](https://forum.ansible.com/u/Mike_Klebolt)\
**Replies:** 3\
**Last updated:** [August 14, 2017, 2:23pm UTC](https://forum.ansible.com/t/ansible-host-proxy-windows-servers-winrm-not-working/25222 "2017-08-14T14:23:07Z")

</div>

Hello, We’re using ansible on some windows servers. The ansible\_host is configured with a proxy and is preventing us from connecting to the windows hosts. My current workaround involves manually exporting no\_proxy with …

---

## [ios-command, paramiko and elliptical keys](https://forum.ansible.com/t/ios-command-paramiko-and-elliptical-keys/25244)

<div class="topic-metadata">

**Author:** [@Eric\_W\_Bates](https://forum.ansible.com/u/Eric_W_Bates)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 1:30pm UTC](https://forum.ansible.com/t/ios-command-paramiko-and-elliptical-keys/25244 "2017-08-14T13:30:15Z")

</div>

I’m trying a simply hello-world on my cisco switch via ios-command and paramiko fails because of the presence of elliptical keys: … 2017-07-21 14:19:25,212 p=71332 u=ericx | 71340 1500661165.21265: Loading ShellModule …

---

## [Support for \`subscription\_manager repos \*\`](https://forum.ansible.com/t/support-for-subscription-manager-repos/25243)

<div class="topic-metadata">

**Author:** [@Ronald\_Valente](https://forum.ansible.com/u/Ronald_Valente)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 1:00pm UTC](https://forum.ansible.com/t/support-for-subscription-manager-repos/25243 "2017-08-14T13:00:20Z")

</div>

There is a PR opened currently for redhat\_repositories (Add redhat\_repositories to manage subscription-manager repos by jfenal-zz · Pull Request #19717 · ansible/ansible · GitHub) however, subscription\_manager is already…

---

## [unable configure haproxy.cfg through ansible  using template](https://forum.ansible.com/t/unable-configure-haproxy-cfg-through-ansible-using-template/25240)

<div class="topic-metadata">

**Author:** [@Milind\_Sisodiya](https://forum.ansible.com/u/Milind_Sisodiya)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 6:27am UTC](https://forum.ansible.com/t/unable-configure-haproxy-cfg-through-ansible-using-template/25240 "2017-08-14T06:27:59Z")

</div>

We are getting following error which is not letting us to configure or paste the haproxy.cfg from template file. Do we need any specific modules to replace with variable as we have in our playbook below? Error: TASK \[C…

---

## [Possible to set default value for missing key when using with\_items and when?](https://forum.ansible.com/t/possible-to-set-default-value-for-missing-key-when-using-with-items-and-when/25242)

<div class="topic-metadata">

**Author:** [@Ryan\_Fisher](https://forum.ansible.com/u/Ryan_Fisher)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 2:41am UTC](https://forum.ansible.com/t/possible-to-set-default-value-for-missing-key-when-using-with-items-and-when/25242 "2017-08-14T02:41:40Z")

</div>

I’m trying to avoid having to put a key into every host\_vars that uses a role that executes against multiple environments. Maybe I’m thinking about this wrong? host\_vars: \`

---

## ["one of the following is required: name,list while executing handlers"](https://forum.ansible.com/t/one-of-the-following-is-required-name-list-while-executing-handlers/25220)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 2\
**Last updated:** [August 13, 2017, 12:09pm UTC](https://forum.ansible.com/t/one-of-the-following-is-required-name-list-while-executing-handlers/25220 "2017-08-13T12:09:41Z")

</div>

We are getting “one of the following is required: name,list” error on executing handlers on non sles servers skipping: \[NESSTDDB01\] =\> (item=ntp) skipping: \[NESSTDDB01\] =\> (item=vim) failed: \[NESLTR10AJAWA01\] (item=vi…

---

## [playbook to restart node if uptime is greater than 100 days](https://forum.ansible.com/t/playbook-to-restart-node-if-uptime-is-greater-than-100-days/25219)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 3\
**Last updated:** [August 13, 2017, 11:21am UTC](https://forum.ansible.com/t/playbook-to-restart-node-if-uptime-is-greater-than-100-days/25219 "2017-08-13T11:21:19Z")

</div>

I could rit playbook to get uptime but how we can take action on the output received from ansible. how we can grep days from below output and rit restart code for the same. ok: \[NESSTDDB01\] =\> { “result.stdout”: " 12:…

---

## [Proxmox Module keeps saying "authorization on proxmox cluster failed with exception: Couldn't authenticate user"](https://forum.ansible.com/t/proxmox-module-keeps-saying-authorization-on-proxmox-cluster-failed-with-exception-couldnt-authenticate-user/25239)

<div class="topic-metadata">

**Author:** [@Florian1](https://forum.ansible.com/u/Florian1)\
**Replies:** 2\
**Last updated:** [August 13, 2017, 8:44am UTC](https://forum.ansible.com/t/proxmox-module-keeps-saying-authorization-on-proxmox-cluster-failed-with-exception-couldnt-authenticate-user/25239 "2017-08-13T08:44:36Z")

</div>

Hello there Ansible community, I hope this is the right place to ask, if not please let me know. My goal is to fully automate the provising of containers, which includes the creation of a Proxmox container. So I tried…

---

## [New to ansible --  Looping through files with wildcards](https://forum.ansible.com/t/new-to-ansible-looping-through-files-with-wildcards/25237)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 3\
**Last updated:** [August 11, 2017, 9:43pm UTC](https://forum.ansible.com/t/new-to-ansible-looping-through-files-with-wildcards/25237 "2017-08-11T21:43:10Z")

</div>

Hi all, I am new to ansible and am looking for some help. I don’t mind finding the answer on my own; however, I could use a shove in the right direction. I need to modify some files (/etc/sysconfig/network-scripts/ifcf…

---

## [Permissions issue, cannot become root](https://forum.ansible.com/t/permissions-issue-cannot-become-root/24830)

<div class="topic-metadata">

**Author:** [@lask001](https://forum.ansible.com/u/lask001)\
**Replies:** 4\
**Last updated:** [August 11, 2017, 6:58pm UTC](https://forum.ansible.com/t/permissions-issue-cannot-become-root/24830 "2017-08-11T18:58:47Z")

</div>

Been banging my head against this since yesterday, hoping someone is able to shed some insight on my issues. I have a simple role that I’m trying to install java with: \`

---

## [Not able to ping windows machine through Ansible (winrm using credential option as CredSSP is being used)](https://forum.ansible.com/t/not-able-to-ping-windows-machine-through-ansible-winrm-using-credential-option-as-credssp-is-being-used/25144)

<div class="topic-metadata">

**Author:** [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Replies:** 7\
**Last updated:** [August 11, 2017, 6:09pm UTC](https://forum.ansible.com/t/not-able-to-ping-windows-machine-through-ansible-winrm-using-credential-option-as-credssp-is-being-used/25144 "2017-08-11T18:09:09Z")

</div>

Hi I am running ansible 2.3.1.0 on centos7. The host(windows) machine is windows 8 with powershell. I have installed pywinrm\[credssp\] (Authentication method credSSP is being used) on centos and included windows hostnam…

---

## [F5 Playbook to generate and upload UCS](https://forum.ansible.com/t/f5-playbook-to-generate-and-upload-ucs/25236)

<div class="topic-metadata">

**Author:** [@Tariq\_Iqbal](https://forum.ansible.com/u/Tariq_Iqbal)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 5:26pm UTC](https://forum.ansible.com/t/f5-playbook-to-generate-and-upload-ucs/25236 "2017-08-11T17:26:12Z")

</div>

Hello, I would like to use Ansible to create a playbook that generates and uploads the UCS to a centralized repository. What module can I use to accomplish this task? Any help in this regards will be greatly appreciated…

---

## [ansible shell module passing backslashes with double quotes](https://forum.ansible.com/t/ansible-shell-module-passing-backslashes-with-double-quotes/25235)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://forum.ansible.com/u/Abey_Thomas)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 4:03pm UTC](https://forum.ansible.com/t/ansible-shell-module-passing-backslashes-with-double-quotes/25235 "2017-08-11T16:03:50Z")

</div>

Hi, I am trying to execute the command 'aws --debug waf-regional associate-web-acl --web-acl-id {{ ACLid }} --resource-arn {{ LBARN }}' via module shell or command but I am getting errors. aws command uses the boto an…

---

## [An exception occurred during task execution  in  ansible playbook](https://forum.ansible.com/t/an-exception-occurred-during-task-execution-in-ansible-playbook/25233)

<div class="topic-metadata">

**Author:** [@Samya\_Ghosh](https://forum.ansible.com/u/Samya_Ghosh)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 3:41pm UTC](https://forum.ansible.com/t/an-exception-occurred-during-task-execution-in-ansible-playbook/25233 "2017-08-11T15:41:38Z")

</div>

Dear all, I am geting an error during my playbook running . i am using ntc-ansible and I want to send command from a text file in a Network for routing configuration code is like this with ntc ansible

---

## [run expect task in virtualenv, and not other tasks](https://forum.ansible.com/t/run-expect-task-in-virtualenv-and-not-other-tasks/25234)

<div class="topic-metadata">

**Author:** [@John\_Lofgren](https://forum.ansible.com/u/John_Lofgren)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/run-expect-task-in-virtualenv-and-not-other-tasks/25234 "2017-08-11T15:28:38Z")

</div>

I’m having trouble figuring out how I can run a task with ‘expect’ module in a virtualenv and not have my other tasks run in that virtualenv. The only way I’ve found to run an expect task in a virtualenv is to set\_fact …

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

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