# Latest

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

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

**Page:** 508

---

## [Alternate solution needed for winrm connections](https://forum.ansible.com/t/alternate-solution-needed-for-winrm-connections/28969)

<div class="topic-metadata">

**Author:** [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Replies:** 3\
**Last updated:** [November 9, 2018, 4:41am UTC](https://forum.ansible.com/t/alternate-solution-needed-for-winrm-connections/28969 "2018-11-09T04:41:13Z")

</div>

Hi Team, In our environment , basic , ntlm ,credssp is disabled by default in windows2012 machines and I tried it out with last option that is kerberos . Scenario - centos machine has ansible controller new domain ha…

---

## [Working Docker image for Ansible Galaxy](https://forum.ansible.com/t/working-docker-image-for-ansible-galaxy/28983)

<div class="topic-metadata">

**Author:** [@Thad\_Guidry](https://forum.ansible.com/u/Thad_Guidry)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 3:02am UTC](https://forum.ansible.com/t/working-docker-image-for-ansible-galaxy/28983 "2018-11-09T03:02:14Z")

</div>

Is there a working docker image for Ansible Galaxy ? I noticed these under https://github.com/ansible/galaxy/tree/devel/scripts/docker/release but couldn’t get a regular docker run to work… C:\\Users\\eguitha\> docker ru…

---

## [Cacheable for facts](https://forum.ansible.com/t/cacheable-for-facts/28982)

<div class="topic-metadata">

**Author:** [@Kosala\_Atapattu1](https://forum.ansible.com/u/Kosala_Atapattu1)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 9:21pm UTC](https://forum.ansible.com/t/cacheable-for-facts/28982 "2018-11-08T21:21:41Z")

</div>

All, Cacheable option for the set\_facts module, is it working only in AWX environments? Ansible CLI is ignoring it. Cheers,

---

## [Replace command not picking up on my regex](https://forum.ansible.com/t/replace-command-not-picking-up-on-my-regex/28981)

<div class="topic-metadata">

**Author:** [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 5:32pm UTC](https://forum.ansible.com/t/replace-command-not-picking-up-on-my-regex/28981 "2018-11-08T17:32:52Z")

</div>

I’m trying to use Ansible to add several lines of text after a specific line in a config file using the replace module and for whatever reason when I run the playbook, I get back OK responses instead of CHANGED. Below is…

---

## [Question on virt - Manages virtual machines supported by libvirt](https://forum.ansible.com/t/question-on-virt-manages-virtual-machines-supported-by-libvirt/28980)

<div class="topic-metadata">

**Author:** [@Harry\_Zhang](https://forum.ansible.com/u/Harry_Zhang)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 3:52pm UTC](https://forum.ansible.com/t/question-on-virt-manages-virtual-machines-supported-by-libvirt/28980 "2018-11-08T15:52:16Z")

</div>

Hi, Everybody, I read the “virt - Manages virtual machines supported by libvirt” page and like to try the tool. I search through the internet and ansible-galaxy for the roles but I could not find them. May I ask where t…

---

## [AWX user permission to use dns.resolve?](https://forum.ansible.com/t/awx-user-permission-to-use-dns-resolve/28979)

<div class="topic-metadata">

**Author:** [@Marc\_Herren](https://forum.ansible.com/u/Marc_Herren)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 3:33pm UTC](https://forum.ansible.com/t/awx-user-permission-to-use-dns-resolve/28979 "2018-11-08T15:33:36Z")

</div>

Hi there, I have to following strange problem. User A has the execute permission on a template, but it seems to fail during dns.resolv \` { “msg”: “An unhandled exception occurred while running the lookup plugin ‘dig…

---

## [Multiple tasks with same prompt values](https://forum.ansible.com/t/multiple-tasks-with-same-prompt-values/28978)

<div class="topic-metadata">

**Author:** [@Bozo](https://forum.ansible.com/u/Bozo)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 3:11pm UTC](https://forum.ansible.com/t/multiple-tasks-with-same-prompt-values/28978 "2018-11-08T15:11:24Z")

</div>

Hello, I am trying to create playbook for data center configuration changes. I would like to be prompted once for name of input file, username and pass and those values to be used trough all tasks on different hosts. S…

---

## [Inventories in "Pending Delete" state](https://forum.ansible.com/t/inventories-in-pending-delete-state/28976)

<div class="topic-metadata">

**Author:** [@creisor](https://forum.ansible.com/u/creisor)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 1:06pm UTC](https://forum.ansible.com/t/inventories-in-pending-delete-state/28976 "2018-11-08T13:06:30Z")

</div>

AWX version: 1.0.6.23 Ansible version: 2.6.0 Clustering is enabled with 3 instances. I have several inventories whose state in the GUI is “PENDING DELETE” and have been so for weeks (or months). These can also be see…

---

## ["Your credentials aren't allowed" issue with Azure AD authentication](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196)

<div class="topic-metadata">

**Author:** [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Replies:** 3\
**Last updated:** [November 8, 2018, 12:11pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196 "2018-11-08T12:11:43Z")

</div>

Hello, I’m having issues with the Azure AD authentication / usage in AWX. Just installed and configured AWX, I can login fine with the built-in admin account. I went into Azure AD, created my App Registration, gave th…

---

## [Issue with redhat\_subscription module #48302](https://forum.ansible.com/t/issue-with-redhat-subscription-module-48302/28970)

<div class="topic-metadata">

**Author:** [@fabietto82](https://forum.ansible.com/u/fabietto82)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 10:10am UTC](https://forum.ansible.com/t/issue-with-redhat-subscription-module-48302/28970 "2018-11-08T10:10:49Z")

</div>

Hi, I'm trying to register new machines with ansible. Prior using ansible I used to run: subscription-manager register --org="MYCOMPANY" --activationkey="MYKEY" In my ansible playbook i used redhat\_subscription modul…

---

## [S3 list result to file or variable](https://forum.ansible.com/t/s3-list-result-to-file-or-variable/28964)

<div class="topic-metadata">

**Author:** [@tonitsh](https://forum.ansible.com/u/tonitsh)\
**Replies:** 3\
**Last updated:** [November 7, 2018, 9:05pm UTC](https://forum.ansible.com/t/s3-list-result-to-file-or-variable/28964 "2018-11-07T21:05:40Z")

</div>

Hi. Im trying to automate our restore machine testing. At one point i need to connect to amason S3 and download the latest data from a bucket. s3://bucet.name/application\_name/DATE/version/files1-3 What i have tried t…

---

## [Ansible AWX & Tower Workflow Inventory](https://forum.ansible.com/t/ansible-awx-tower-workflow-inventory/28971)

<div class="topic-metadata">

**Author:** [@matt.wells](https://forum.ansible.com/u/matt.wells)\
**Replies:** 0\
**Last updated:** [November 7, 2018, 7:48pm UTC](https://forum.ansible.com/t/ansible-awx-tower-workflow-inventory/28971 "2018-11-07T19:48:55Z")

</div>

Good day everyone. I have a question on Tower and Template Workflows. I’m trying to find how to more or less override the inventory in a role that’s in a workflow. I know there’s the Feature 169 but I wondered as others…

---

## [Prevent ansible from re-ordering JSON?](https://forum.ansible.com/t/prevent-ansible-from-re-ordering-json/28956)

<div class="topic-metadata">

**Author:** [@Eddie\_Mashayev](https://forum.ansible.com/u/Eddie_Mashayev)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 3:43pm UTC](https://forum.ansible.com/t/prevent-ansible-from-re-ordering-json/28956 "2018-11-07T15:43:43Z")

</div>

Hey, I’ve this weird situation when I’m passing json(as a string) it still reordering it’s order and not consistent. Example: my\_var: | { "b": 1 "a": 2 } when running ansible with \` name: “Set up json …

---

## [How to reopen issue in ansible (github)](https://forum.ansible.com/t/how-to-reopen-issue-in-ansible-github/28963)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 1\
**Last updated:** [November 7, 2018, 3:15pm UTC](https://forum.ansible.com/t/how-to-reopen-issue-in-ansible-github/28963 "2018-11-07T15:15:48Z")

</div>

Hi @all, could someone please tell me and/or reopen the following issue: https://github.com/ansible/ansible/issues/25046 The issue is closed and is supposed to be fixed for 2.3 , it still exists in 2.6, though Thanks…

---

## [copying file.j2 to the mahine returning error](https://forum.ansible.com/t/copying-file-j2-to-the-mahine-returning-error/28965)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 0\
**Last updated:** [November 7, 2018, 3:09pm UTC](https://forum.ansible.com/t/copying-file-j2-to-the-mahine-returning-error/28965 "2018-11-07T15:09:30Z")

</div>

I have a configuration file.j2 , I am trying to copy the file from ansible templates to destination(server) it keeps giving the below error fatal: \[uat\_cdxdb\]: FAILED! =\> {“changed”: false, “msg”: “Template source file…

---

## [Ansible to automate Docker Datacenter backup](https://forum.ansible.com/t/ansible-to-automate-docker-datacenter-backup/27235)

<div class="topic-metadata">

**Author:** [@Derek\_Lai](https://forum.ansible.com/u/Derek_Lai)\
**Replies:** 1\
**Last updated:** [November 7, 2018, 12:22pm UTC](https://forum.ansible.com/t/ansible-to-automate-docker-datacenter-backup/27235 "2018-11-07T12:22:59Z")

</div>

Hi Anyone used Ansible to automate tasks in Docker DataCenter (EE)? It looks like it is using a Linux variant, Moby Linux. I am able to ssh into it to perform the backup operation. When I tried to do ansible ddc-ucp -m …

---

## [Delegate\_to register when](https://forum.ansible.com/t/delegate-to-register-when/20791)

<div class="topic-metadata">

**Author:** [@Steve\_Irvine](https://forum.ansible.com/u/Steve_Irvine)\
**Replies:** 2\
**Last updated:** [November 7, 2018, 10:56am UTC](https://forum.ansible.com/t/delegate-to-register-when/20791 "2018-11-07T10:56:36Z")

</div>

Hi Everyone, Quick question, I have a play where I put a laravel queue system in maintenance mode before running updates against it’s consumers. I’d like to check for the existence of a file with stat on the queue mana…

---

## [uri POST with xml template](https://forum.ansible.com/t/uri-post-with-xml-template/28957)

<div class="topic-metadata">

**Author:** [@Leo-San](https://forum.ansible.com/u/Leo-San)\
**Replies:** 2\
**Last updated:** [November 7, 2018, 5:53am UTC](https://forum.ansible.com/t/uri-post-with-xml-template/28957 "2018-11-07T05:53:05Z")

</div>

Hey everyone, so, I am trying to upload an xml template with the uri module, but I cannot find a way which is working. Mostly I am getting the error “Error in XML file. Possible mismatch between resource specified in th…

---

## [awx\_task\_hostname option in inventory file https://github.com/ansible/awx/blob/049d642df8ea6d593448d](https://forum.ansible.com/t/awx-task-hostname-option-in-inventory-file-https-github-com-ansible-awx-blob-049d642df8ea6d593448d/28949)

<div class="topic-metadata">

**Author:** [@vbhanu178](https://forum.ansible.com/u/vbhanu178)\
**Replies:** 3\
**Last updated:** [November 7, 2018, 1:32am UTC](https://forum.ansible.com/t/awx-task-hostname-option-in-inventory-file-https-github-com-ansible-awx-blob-049d642df8ea6d593448d/28949 "2018-11-07T01:32:18Z")

</div>

I have replaced “awx\_task\_hostname=awx” to “awx\_task\_hostname=myhostname” in the inventory file and performed installation. Now I can see myhostname in “Instance Groups” under “tower”, but when I try to launch job templa…

---

## [Error in AWX -- import pymssql\\ImportError: No module named pymssql](https://forum.ansible.com/t/error-in-awx-import-pymssql-importerror-no-module-named-pymssql/28962)

<div class="topic-metadata">

**Author:** [@Robson\_Gomes](https://forum.ansible.com/u/Robson_Gomes)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 1:18am UTC](https://forum.ansible.com/t/error-in-awx-import-pymssql-importerror-no-module-named-pymssql/28962 "2018-11-07T01:18:07Z")

</div>

In AWX when trying to run a playbook that locally runs a python script the following error appears: import pymssql\\ImportError: No module named pymssql however, via the command line the playbook works normally. the py…

---

## [Trying to figure out how to import an inventory with vaulted variables from a Git Repo](https://forum.ansible.com/t/trying-to-figure-out-how-to-import-an-inventory-with-vaulted-variables-from-a-git-repo/28961)

<div class="topic-metadata">

**Author:** [@Michael\_T\_Wiley](https://forum.ansible.com/u/Michael_T_Wiley)\
**Replies:** 0\
**Last updated:** [November 6, 2018, 9:46pm UTC](https://forum.ansible.com/t/trying-to-figure-out-how-to-import-an-inventory-with-vaulted-variables-from-a-git-repo/28961 "2018-11-06T21:46:05Z")

</div>

Folder currently looks like this and works just find with ansible via command line (Provided that you either use --ask-vault-pass or supply the vault password some other way) . ├── README.md ├── group\_vars │ ├── all …

---

## [CredSSP error on windows machine - ansible](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953)

<div class="topic-metadata">

**Author:** [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Replies:** 3\
**Last updated:** [November 6, 2018, 8:59pm UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953 "2018-11-06T20:59:41Z")

</div>

Hi Folks., I’m trying to run playbooks on win2016 after enabling enable-credssp on remote machine and other prerequisite and mentioned ansible\_winrm\_transport as credssp but now I’m facing this error from ansible “msg…

---

## [include\_vars for defaults](https://forum.ansible.com/t/include-vars-for-defaults/15105)

<div class="topic-metadata">

**Author:** [@matt](https://forum.ansible.com/u/matt)\
**Replies:** 10\
**Last updated:** [November 6, 2018, 8:11pm UTC](https://forum.ansible.com/t/include-vars-for-defaults/15105 "2018-11-06T20:11:19Z")

</div>

Hi, I’m trying to write generic roles for particular applications and keep hitting across the same problem: I want to set role default based on the operating system or other facts, like include\_vars, but this doesn’t a…

---

## [tower\_cli modify](https://forum.ansible.com/t/tower-cli-modify/28933)

<div class="topic-metadata">

**Author:** [@Kash](https://forum.ansible.com/u/Kash)\
**Replies:** 2\
**Last updated:** [November 6, 2018, 6:17pm UTC](https://forum.ansible.com/t/tower-cli-modify/28933 "2018-11-06T18:17:26Z")

</div>

Hi, Looking for pointers on how to use the tower\_cli modify rest api command. I am able to list, create and delete users in a python script but not able to modify existing one. Thanks, Kash

---

## [Is there any location ansible async task stores the result for further verification?](https://forum.ansible.com/t/is-there-any-location-ansible-async-task-stores-the-result-for-further-verification/28960)

<div class="topic-metadata">

**Author:** [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Replies:** 0\
**Last updated:** [November 6, 2018, 6:03pm UTC](https://forum.ansible.com/t/is-there-any-location-ansible-async-task-stores-the-result-for-further-verification/28960 "2018-11-06T18:03:20Z")

</div>

Hi Folks, I’m trying to run hour long script through ansible which will take more then one hour on the remote machine to finish and i dont want ansible to wait for that I have defined async variable for the task and its…

---

## [Galaxy Content Scoring Beta](https://forum.ansible.com/t/galaxy-content-scoring-beta/28959)

<div class="topic-metadata">

**Author:** [@David\_Newswanger](https://forum.ansible.com/u/David_Newswanger)\
**Replies:** 0\
**Last updated:** [November 6, 2018, 4:46pm UTC](https://forum.ansible.com/t/galaxy-content-scoring-beta/28959 "2018-11-06T16:46:46Z")

</div>

Hi All In the upcoming release of Ansible Galaxy we’re adding scores to content in Galaxy. These scores will include two components: a community score based off of a short survey added to each repository page and a qual…

---

## [Default timeout for windows modules ??????](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952)

<div class="topic-metadata">

**Author:** [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Replies:** 2\
**Last updated:** [November 6, 2018, 3:40pm UTC](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952 "2018-11-06T15:40:56Z")

</div>

Hi folks, I’m trying to run a hour long powershell script which needs to be executed on remote machine using win\_shell module My doubts here are How much is the default timeout for each tasks? is there seperate timeo…

---

## [jinja2: escaping special chars](https://forum.ansible.com/t/jinja2-escaping-special-chars/28954)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 3\
**Last updated:** [November 6, 2018, 2:44pm UTC](https://forum.ansible.com/t/jinja2-escaping-special-chars/28954 "2018-11-06T14:44:41Z")

</div>

i want to generate a config for syslogd from template. as there are some “special” chars in the config, the ‘\*’ char in this case, ansible has some problems to run the template. how to i tell ansible/jinja2 to treat the…

---

## [values empty for variables - ansible](https://forum.ansible.com/t/values-empty-for-variables-ansible/28958)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 0\
**Last updated:** [November 6, 2018, 2:41pm UTC](https://forum.ansible.com/t/values-empty-for-variables-ansible/28958 "2018-11-06T14:41:51Z")

</div>

I have the below variables , In some servers I just need to keep the value empty as I dont want to open the port but when I keep it empty its returning error . any solution ??? any I putting my variables in all under g…

---

## [Ansible Mail Module Failing](https://forum.ansible.com/t/ansible-mail-module-failing/26911)

<div class="topic-metadata">

**Author:** [@Simon\_Hayes](https://forum.ansible.com/u/Simon_Hayes)\
**Replies:** 3\
**Last updated:** [November 6, 2018, 1:29pm UTC](https://forum.ansible.com/t/ansible-mail-module-failing/26911 "2018-11-06T13:29:40Z")

</div>

I’m running a simple playbook to report on server configurations which is formatted into an html file from a template. I use the mail module to attach the html file into the body of the mail as follows: - hosts: localho…

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

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