# Latest

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

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

**Page:** 495

---

## [How to manage AWS resources by Ansible Without Access Keys and Secret Access Keys](https://forum.ansible.com/t/how-to-manage-aws-resources-by-ansible-without-access-keys-and-secret-access-keys/29350)

<div class="topic-metadata">

**Author:** [@S\_Saravanan](https://forum.ansible.com/u/S_Saravanan)\
**Replies:** 6\
**Last updated:** [January 3, 2019, 12:39pm UTC](https://forum.ansible.com/t/how-to-manage-aws-resources-by-ansible-without-access-keys-and-secret-access-keys/29350 "2019-01-03T12:39:46Z")

</div>

Hi All, How can we manage AWS resources by Ansible without Access Keys and Secret Access Keys ? There is a requirement to use Ansible server to manage AWS, but should not use access and secret keys for security policy …

---

## [Ansible Tower Installation failed in RHEL 7.4 with error pkg\_resources.DistributionNotFound: awx==3.](https://forum.ansible.com/t/ansible-tower-installation-failed-in-rhel-7-4-with-error-pkg-resources-distributionnotfound-awx-3/26636)

<div class="topic-metadata">

**Author:** [@Mark\_Lam](https://forum.ansible.com/u/Mark_Lam)\
**Replies:** 6\
**Last updated:** [January 3, 2019, 7:10am UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-in-rhel-7-4-with-error-pkg-resources-distributionnotfound-awx-3/26636 "2019-01-03T07:10:22Z")

</div>

Hi all The installation fails in the step “Migrate the Tower database schema” after run file setup.sh in ansible-tower-setup-3.2.2 \` TASK \[awx\_install : Stop supervisor\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How to Deal with WinRM CredSSP Read timed out](https://forum.ansible.com/t/how-to-deal-with-winrm-credssp-read-timed-out/29330)

<div class="topic-metadata">

**Author:** [@Justin2](https://forum.ansible.com/u/Justin2)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 6:58am UTC](https://forum.ansible.com/t/how-to-deal-with-winrm-credssp-read-timed-out/29330 "2019-01-03T06:58:22Z")

</div>

TASK \[roles/ansible-role-dc : Copy Schema File 2\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[10.254.64.5\]: UNREACHABLE! =\> {"changed": false, "msg": "credssp: HTTPSConnectionPool(host='10.254.64.5', port=5986): Read timed o…

---

## [Best method to use uri for multiple machine parameters](https://forum.ansible.com/t/best-method-to-use-uri-for-multiple-machine-parameters/29357)

<div class="topic-metadata">

**Author:** [@eric.dunn](https://forum.ansible.com/u/eric.dunn)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 10:07pm UTC](https://forum.ansible.com/t/best-method-to-use-uri-for-multiple-machine-parameters/29357 "2019-01-02T22:07:34Z")

</div>

Hi I have success with the following ansible script to license a single machine. Summary: Retrieve Machine ID \> submit User/Password/Machine ID/Activation code … then submit license back to the machine to license the s…

---

## [General best practices regarding roles](https://forum.ansible.com/t/general-best-practices-regarding-roles/29355)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 8:37pm UTC](https://forum.ansible.com/t/general-best-practices-regarding-roles/29355 "2019-01-02T20:37:05Z")

</div>

When setting up roles I have the following: \` /etc/ansible/roles # tree aliases/ -L 1 aliases/ ├── defaults ├── handlers ├── main.yml ├── meta ├── README.md ├── tasks ├── tests └── vars \` The main.yml has th…

---

## [Issues with connecting to API using Ansible](https://forum.ansible.com/t/issues-with-connecting-to-api-using-ansible/29353)

<div class="topic-metadata">

**Author:** [@Hristo\_Georgiev](https://forum.ansible.com/u/Hristo_Georgiev)\
**Replies:** 4\
**Last updated:** [January 2, 2019, 7:55pm UTC](https://forum.ansible.com/t/issues-with-connecting-to-api-using-ansible/29353 "2019-01-02T19:55:13Z")

</div>

Hello, I have a WebService that I need to connect to and add content via POST method. It accepts content in the form of “application/x-www-form-urlencoded”. I am using JSON formatted body and I tell Ansible to use form-…

---

## [How to Random Roles](https://forum.ansible.com/t/how-to-random-roles/29354)

<div class="topic-metadata">

**Author:** [@Francis\_Santos](https://forum.ansible.com/u/Francis_Santos)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 4:52pm UTC](https://forum.ansible.com/t/how-to-random-roles/29354 "2019-01-02T16:52:06Z")

</div>

I gotta random both the hosts and the roles. I successfully randomed the hosts, but I not getting the roles to random. Here is what I got

---

## [project inventory source - overwrite variables](https://forum.ansible.com/t/project-inventory-source-overwrite-variables/29343)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 4:44pm UTC](https://forum.ansible.com/t/project-inventory-source-overwrite-variables/29343 "2019-01-02T16:44:19Z")

</div>

Hi there. My use case is that I have satellite6 as my primary dynamic inventory source. When I have specific host\_vars/group\_vars variables that I want to set, my original thought was that I would combine the satellite …

---

## [How to pass range of input with vars\_prompt](https://forum.ansible.com/t/how-to-pass-range-of-input-with-vars-prompt/29349)

<div class="topic-metadata">

**Author:** [@a.srini](https://forum.ansible.com/u/a.srini)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 10:56am UTC](https://forum.ansible.com/t/how-to-pass-range-of-input-with-vars-prompt/29349 "2019-01-02T10:56:04Z")

</div>

Hi Experts, I have a question, can we pass a range of inputs with vars\_prompt. example: From the below playbook, i am able to pass multiple port numbers split by “,”. prompt: Please enter the port name: 0/1,0/2,0/3,0…

---

## [Synchronize module ignores ansible\_user parameter](https://forum.ansible.com/t/synchronize-module-ignores-ansible-user-parameter/29348)

<div class="topic-metadata">

**Author:** [@Checker](https://forum.ansible.com/u/Checker)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 3:20pm UTC](https://forum.ansible.com/t/synchronize-module-ignores-ansible-user-parameter/29348 "2019-01-01T15:20:18Z")

</div>

I got same problem (https://github.com/ansible/ansible/issues/29483) for Ansible 2.7.5 and 2.5.1. Only difference is that password prompt is hidden and thus, the task hangs continuously. that is, when sending a file fr…

---

## [kolla-ansible all-in-one error: "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'glance-registry'"](https://forum.ansible.com/t/kolla-ansible-all-in-one-error-msg-ansibleundefinedvariable-dict-object-has-no-attribute-glance-registry/29347)

<div class="topic-metadata">

**Author:** [@Peter\_Clapham](https://forum.ansible.com/u/Peter_Clapham)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 3:15pm UTC](https://forum.ansible.com/t/kolla-ansible-all-in-one-error-msg-ansibleundefinedvariable-dict-object-has-no-attribute-glance-registry/29347 "2019-01-01T15:15:26Z")

</div>

Running on Ubuntu 18.04.1 (bionic) following instructions from: https://docs.openstack.org/project-deploy-guide/kolla-ansible/queens/quickstart.html with the exception that: kolla\_base\_distro: "centos" is kolla\_base\_…

---

## [AttributeError: 'module' object has no attribute 'cursors'](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-cursors/29019)

<div class="topic-metadata">

**Author:** [@Son\_T](https://forum.ansible.com/u/Son_T)\
**Replies:** 4\
**Last updated:** [January 1, 2019, 11:57am UTC](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-cursors/29019 "2019-01-01T11:57:33Z")

</div>

This is the error I get when using proxysql\_manage\_config module as documented here: https://docs.ansible.com/ansible/2.5/modules/proxysql\_manage\_config\_module.html Anyone know how I get around this issue?

---

## [How can I run an imported Ansible playbook for each unique value in a set of host vars?](https://forum.ansible.com/t/how-can-i-run-an-imported-ansible-playbook-for-each-unique-value-in-a-set-of-host-vars/29344)

<div class="topic-metadata">

**Author:** [@Ewan](https://forum.ansible.com/u/Ewan)\
**Replies:** 1\
**Last updated:** [January 1, 2019, 8:46am UTC](https://forum.ansible.com/t/how-can-i-run-an-imported-ansible-playbook-for-each-unique-value-in-a-set-of-host-vars/29344 "2019-01-01T08:46:29Z")

</div>

I’ve got a playbook which needs to run against my entire inventory, with a list of hostnames as an extra variable (target\_hosts). The hosts in target\_hosts all have a group\_id hostvar defined on them. I use the whole in…

---

## [Win\_service "Cannot start service InstallerService on computer '.'."](https://forum.ansible.com/t/win-service-cannot-start-service-installerservice-on-computer/29345)

<div class="topic-metadata">

**Author:** [@Matthieu\_Ducorps](https://forum.ansible.com/u/Matthieu_Ducorps)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 8:21am UTC](https://forum.ansible.com/t/win-service-cannot-start-service-installerservice-on-computer/29345 "2019-01-01T08:21:45Z")

</div>

Hi All, I’m running into an issue where I’m not sure what is cause, here is the setup: Debian GNU/Linux buster/sid ansible 2.7.5 config file = /home/ansible/ansibleGalaxy/ansible.cfg configured module search path = …

---

## [How to use 'with\_items' based on variable?](https://forum.ansible.com/t/how-to-use-with-items-based-on-variable/29338)

<div class="topic-metadata">

**Author:** [@Bharath\_Kumar2](https://forum.ansible.com/u/Bharath_Kumar2)\
**Replies:** 3\
**Last updated:** [December 31, 2018, 9:09pm UTC](https://forum.ansible.com/t/how-to-use-with-items-based-on-variable/29338 "2018-12-31T21:09:14Z")

</div>

Hello Ansible Experts, I am creating a Role, which has a task to download multiple files from an URL, and, for that, I am using get\_url module. Since, get\_url cant download files recursively, I have been trying to use ‘…

---

## [Run Select query and Insert query inansible](https://forum.ansible.com/t/run-select-query-and-insert-query-inansible/29329)

<div class="topic-metadata">

**Author:** [@Tharindu\_Weerakoon](https://forum.ansible.com/u/Tharindu_Weerakoon)\
**Replies:** 3\
**Last updated:** [December 31, 2018, 7:10pm UTC](https://forum.ansible.com/t/run-select-query-and-insert-query-inansible/29329 "2018-12-31T19:10:40Z")

</div>

Hello all, I have got lot of answers for my previous post. Thanks for everyone. Could you please help me to insert record to MYSQL db through the playbook. Tharindu

---

## [Migrating puppet written code into Ansible](https://forum.ansible.com/t/migrating-puppet-written-code-into-ansible/29340)

<div class="topic-metadata">

**Author:** [@Sagar\_Parbhane](https://forum.ansible.com/u/Sagar_Parbhane)\
**Replies:** 1\
**Last updated:** [December 31, 2018, 2:25pm UTC](https://forum.ansible.com/t/migrating-puppet-written-code-into-ansible/29340 "2018-12-31T14:25:51Z")

</div>

Hi All, I have a automation code written in puppet and now we want it to move into Ansible. Is there any best way to do this migration? or we have to migrate module by module

---

## [aws cloudwatch alarms](https://forum.ansible.com/t/aws-cloudwatch-alarms/29341)

<div class="topic-metadata">

**Author:** [@bstap](https://forum.ansible.com/u/bstap)\
**Replies:** 0\
**Last updated:** [December 31, 2018, 3:30am UTC](https://forum.ansible.com/t/aws-cloudwatch-alarms/29341 "2018-12-31T03:30:06Z")

</div>

I am looking for any example ansible playbook to set cloudwatch cpu credit alarms, I have an app that gets into a funky state and the cpu credit deplete over a period of time. In normal state they stay level. Frank

---

## [How to set timeout value for a task using shell module?](https://forum.ansible.com/t/how-to-set-timeout-value-for-a-task-using-shell-module/29337)

<div class="topic-metadata">

**Author:** [@Saravanan](https://forum.ansible.com/u/Saravanan)\
**Replies:** 3\
**Last updated:** [December 29, 2018, 8:35pm UTC](https://forum.ansible.com/t/how-to-set-timeout-value-for-a-task-using-shell-module/29337 "2018-12-29T20:35:56Z")

</div>

Hi Ansible Experts, We are running tasks using shell module. Sometime these tasks are pending due to backend application server slow response. Is there anyway to set timeout for these tasks to exit after certain time pe…

---

## [I want to copy the remote server file to my local server but I am not able to copy](https://forum.ansible.com/t/i-want-to-copy-the-remote-server-file-to-my-local-server-but-i-am-not-able-to-copy/29336)

<div class="topic-metadata">

**Author:** [@Sachidanand\_Chaudhar](https://forum.ansible.com/u/Sachidanand_Chaudhar)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 8:31pm UTC](https://forum.ansible.com/t/i-want-to-copy-the-remote-server-file-to-my-local-server-but-i-am-not-able-to-copy/29336 "2018-12-28T20:31:39Z")

</div>

Hello All, Following are my details regarding copying from the remote machine, I have to copy the propertie file from the remote test server to the local ansible server. I have achieved this task using ssh command as b…

---

## [vyos\_config bug](https://forum.ansible.com/t/vyos-config-bug/29335)

<div class="topic-metadata">

**Author:** [@Anurag\_Bhatia](https://forum.ansible.com/u/Anurag_Bhatia)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 8:24pm UTC](https://forum.ansible.com/t/vyos-config-bug/29335 "2018-12-27T20:24:18Z")

</div>

Hi I am trying to configure DHCP using vyos\_config in VyOS 1.2.0-rc11 Following DHCP config based on vyos wiki - https://wiki.vyos.net/wiki/DHCP\_server Part of my playbook has: name: Setup DNS server for eth3 - LAN …

---

## [pull only the latest release in the artifactory](https://forum.ansible.com/t/pull-only-the-latest-release-in-the-artifactory/29046)

<div class="topic-metadata">

**Author:** [@Kavya\_bhandari](https://forum.ansible.com/u/Kavya_bhandari)\
**Replies:** 3\
**Last updated:** [December 27, 2018, 5:23am UTC](https://forum.ansible.com/t/pull-only-the-latest-release-in-the-artifactory/29046 "2018-12-27T05:23:55Z")

</div>

hi all, i am new to ansible and i wanted to whether ansible can download the latest release from artifactory by itself whenever some new release is deployed to artifactory . please help me with your valuable suggestio…

---

## [Custom Credential Injection](https://forum.ansible.com/t/custom-credential-injection/29333)

<div class="topic-metadata">

**Author:** [@jbister](https://forum.ansible.com/u/jbister)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 7:42pm UTC](https://forum.ansible.com/t/custom-credential-injection/29333 "2018-12-26T19:42:39Z")

</div>

Hey guys, I posted the following link about an issue with Custom Credentials: https://www.reddit.com/r/ansible/comments/a8frsf/injector\_configuration\_with\_custom\_credentials\_to/ Trying to work around the issue, I’m un…

---

## [Error using java\_keystore module. Facing Unsupported major.minor version](https://forum.ansible.com/t/error-using-java-keystore-module-facing-unsupported-major-minor-version/29332)

<div class="topic-metadata">

**Author:** [@parango](https://forum.ansible.com/u/parango)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 6:54pm UTC](https://forum.ansible.com/t/error-using-java-keystore-module-facing-unsupported-major-minor-version/29332 "2018-12-26T18:54:33Z")

</div>

Hey there, I’m currently trying to use java\_keystore module and I’m getting a Unsupported major.minor version error (from java). I believe it might be something related with the version of Java vs Requirements. From doc…

---

## [How to Deal with WinRM/PSRP CredSSP Read timed out](https://forum.ansible.com/t/how-to-deal-with-winrm-psrp-credssp-read-timed-out/29331)

<div class="topic-metadata">

**Author:** [@Justin2](https://forum.ansible.com/u/Justin2)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 5:35pm UTC](https://forum.ansible.com/t/how-to-deal-with-winrm-psrp-credssp-read-timed-out/29331 "2018-12-26T17:35:13Z")

</div>

\` TASK \[roles/ansible-role-dc : Copy Schema File 2\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[10.254.64.5\]: UNREACHABLE! =\> {“changed”: false, “msg”: “credssp: HTTPSConnectionPool(host=‘10.254.64.5’, port=5986): Read timed…

---

## [AWX requirement of privileged container](https://forum.ansible.com/t/awx-requirement-of-privileged-container/28739)

<div class="topic-metadata">

**Author:** [@Idan\_Bidani](https://forum.ansible.com/u/Idan_Bidani)\
**Replies:** 8\
**Last updated:** [December 26, 2018, 1:20pm UTC](https://forum.ansible.com/t/awx-requirement-of-privileged-container/28739 "2018-12-26T13:20:40Z")

</div>

Hi, I’m setting up AWX on Openshift for POC(very likely it will be adopted) and I noticed that it requires SCC privileged permissions. Do you know what features requires this and whether it is possible to deploy withou…

---

## [How to access stdout from all hosts in a localserver](https://forum.ansible.com/t/how-to-access-stdout-from-all-hosts-in-a-localserver/29327)

<div class="topic-metadata">

**Author:** [@madhav\_manne](https://forum.ansible.com/u/madhav_manne)\
**Replies:** 1\
**Last updated:** [December 26, 2018, 10:14am UTC](https://forum.ansible.com/t/how-to-access-stdout-from-all-hosts-in-a-localserver/29327 "2018-12-26T10:14:08Z")

</div>

My playbook is as follows hosts: nodes become: yes tasks: name: Run Shell Script to get IPs with 4xx and 5xx errors script: /home/ubuntu/ips.sh args: chdir: /home/ubuntu register: ips name: shell: echo “{{ hos…

---

## [Vault : ordinal not in range](https://forum.ansible.com/t/vault-ordinal-not-in-range/29318)

<div class="topic-metadata">

**Author:** [@YvanM](https://forum.ansible.com/u/YvanM)\
**Replies:** 3\
**Last updated:** [December 26, 2018, 9:28am UTC](https://forum.ansible.com/t/vault-ordinal-not-in-range/29318 "2018-12-26T09:28:09Z")

</div>

Hi, I am using Ansible from a Debian testing host. Each time I try to use a vault file it makes Ansible crash. The content of the vault file is really simple: dyndns\_pwd: 1234 smtpd\_pwd: 1234 I am sure that it contain…

---

## [Error when precheck Kolla-ansible](https://forum.ansible.com/t/error-when-precheck-kolla-ansible/29328)

<div class="topic-metadata">

**Author:** [@M\_nh\_Nguy\_n\_Ti\_n](https://forum.ansible.com/u/M_nh_Nguy_n_Ti_n)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 4:41am UTC](https://forum.ansible.com/t/error-when-precheck-kolla-ansible/29328 "2018-12-26T04:41:53Z")

</div>

Hi everyone I am facing this problem when precheck with Kolla-ansible. My IP: controller 172.16.32.16. compute-01: 172.16.32.15, compute-02:172.16.32.14 Please help me. Thank a lot! fatal: \[172.16.32.15\]: FAILED! =\> …

---

## [How to cancel pending Ansible Tower jobs dynamically](https://forum.ansible.com/t/how-to-cancel-pending-ansible-tower-jobs-dynamically/29326)

<div class="topic-metadata">

**Author:** [@Saravanan](https://forum.ansible.com/u/Saravanan)\
**Replies:** 0\
**Last updated:** [December 25, 2018, 6:44pm UTC](https://forum.ansible.com/t/how-to-cancel-pending-ansible-tower-jobs-dynamically/29326 "2018-12-25T18:44:26Z")

</div>

Hi Ansible Experts, This question is more relevant to Ansible Tower. We are running multiple Ansible Job templates with different scheduler in Ansible Tower. Sometime few jobs are pending, causes other jobs in the queu…

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

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