# Latest

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

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

**Page:** 557

---

## [string concatenation with special characters](https://forum.ansible.com/t/string-concatenation-with-special-characters/27531)

<div class="topic-metadata">

**Author:** [@ali.khawaja](https://forum.ansible.com/u/ali.khawaja)\
**Replies:** 0\
**Last updated:** [May 15, 2018, 10:56am UTC](https://forum.ansible.com/t/string-concatenation-with-special-characters/27531 "2018-05-15T10:56:10Z")

</div>

i am trying to append a backslash between two string variables. dc + ‘/’ + item this works fine. but what i need is backslash. i could not figure how to insert a backslash. i have tried two backslashes, lot of other tr…

---

## [Role Dependencies - download only](https://forum.ansible.com/t/role-dependencies-download-only/27530)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 0\
**Last updated:** [May 15, 2018, 10:41am UTC](https://forum.ansible.com/t/role-dependencies-download-only/27530 "2018-05-15T10:41:32Z")

</div>

Hi together, managing a bigger project I am defining role dependencies in role’s \` meta.yml name: myrole src: git+git@myserver/myrole.git version: master \` The problem is that ansible also always executes the depe…

---

## [Need help in updating /etc/grub.conf file to disable THP in linux server using Ansible](https://forum.ansible.com/t/need-help-in-updating-etc-grub-conf-file-to-disable-thp-in-linux-server-using-ansible/27529)

<div class="topic-metadata">

**Author:** [@Padmesh\_Singh](https://forum.ansible.com/u/Padmesh_Singh)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 7:29am UTC](https://forum.ansible.com/t/need-help-in-updating-etc-grub-conf-file-to-disable-thp-in-linux-server-using-ansible/27529 "2018-05-15T07:29:03Z")

</div>

I need help in updating /etc/grub.conf file to disable THP in Linux servers. I used below Ansible lineinfile module but it updates the kernel line everytime when I run it, I need which runs and updates every line of kern…

---

## [win\_disk\_facts - get size and size remaining](https://forum.ansible.com/t/win-disk-facts-get-size-and-size-remaining/27504)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 5:52am UTC](https://forum.ansible.com/t/win-disk-facts-get-size-and-size-remaining/27504 "2018-05-15T05:52:52Z")

</div>

Hi I’m trying to use win\_disk\_facts new module. I would like to get the size and remaining size of each disk/partition/volume. Is there a way to “discover” how many of them there are in a kind of loop ? name: Get di…

---

## [Standard Ansible Loop Script not working](https://forum.ansible.com/t/standard-ansible-loop-script-not-working/27526)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 1\
**Last updated:** [May 14, 2018, 10:11pm UTC](https://forum.ansible.com/t/standard-ansible-loop-script-not-working/27526 "2018-05-14T22:11:55Z")

</div>

Hello community, I have written the following ansible script \`

---

## ["requests\_ntlm is not installed", when it appears to be in place](https://forum.ansible.com/t/requests-ntlm-is-not-installed-when-it-appears-to-be-in-place/27519)

<div class="topic-metadata">

**Author:** [@Ab\_Generette](https://forum.ansible.com/u/Ab_Generette)\
**Replies:** 10\
**Last updated:** [May 14, 2018, 9:35pm UTC](https://forum.ansible.com/t/requests-ntlm-is-not-installed-when-it-appears-to-be-in-place/27519 "2018-05-14T21:35:02Z")

</div>

Has anyone out there seen this issue – when running win\_ping against a host – and been able to resolve it(?): \< target host \> | UNREACHABLE! =\> { “changed”: false, “msg”: “ntlm: requested auth method is ntlm, but req…

---

## [How to handle multi-line prompts with expect module?](https://forum.ansible.com/t/how-to-handle-multi-line-prompts-with-expect-module/27524)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [May 14, 2018, 8:38pm UTC](https://forum.ansible.com/t/how-to-handle-multi-line-prompts-with-expect-module/27524 "2018-05-14T20:38:05Z")

</div>

Per https://groups.google.com/forum/#!topic/ansible-project/AXEPsAqxmNE I’m using the expect module, and have it working when the prompt is single line. How do I make it work when the prompt is multi-line? I’m not talkin…

---

## [Ansible not recognizing correct pexpect module?](https://forum.ansible.com/t/ansible-not-recognizing-correct-pexpect-module/27523)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [May 14, 2018, 4:42pm UTC](https://forum.ansible.com/t/ansible-not-recognizing-correct-pexpect-module/27523 "2018-05-14T16:42:23Z")

</div>

\` $ ansible --version ansible 2.4.0.0 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/scscm\_builder/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python mo…

---

## [Whats the right way to protect a backup script in windows?](https://forum.ansible.com/t/whats-the-right-way-to-protect-a-backup-script-in-windows/27520)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 2\
**Last updated:** [May 14, 2018, 11:56am UTC](https://forum.ansible.com/t/whats-the-right-way-to-protect-a-backup-script-in-windows/27520 "2018-05-14T11:56:29Z")

</div>

I have a robocopy batch script to use with diskshadow to sync files to a backup server. in vagrant, i tried this, but it prevents the upload of the script \` name: make a folder for backup scripts win\_file: path: C:…

---

## [Help me please. How can I get the output of the command?](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27521)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [May 14, 2018, 11:40am UTC](https://forum.ansible.com/t/help-me-please-how-can-i-get-the-output-of-the-command/27521 "2018-05-14T11:40:48Z")

</div>

It would help if you would describe what it is supposed to do…

---

## [Windows prompt answer](https://forum.ansible.com/t/windows-prompt-answer/27514)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 1\
**Last updated:** [May 14, 2018, 4:12am UTC](https://forum.ansible.com/t/windows-prompt-answer/27514 "2018-05-14T04:12:05Z")

</div>

Hi, How to answer from ansible to prompts during execution of some scripts/tool on Windows machine. Is there something similar to except module? Or how to hack this issue, is there possibility to provide some default a…

---

## [Setting up kerberos](https://forum.ansible.com/t/setting-up-kerberos/27478)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 5\
**Last updated:** [May 14, 2018, 4:01am UTC](https://forum.ansible.com/t/setting-up-kerberos/27478 "2018-05-14T04:01:26Z")

</div>

I must be looking at the wrong places. I would like to see an example of setting up kerberos using a task file, but all I find is how to make ansible authenticate using kerberos. Suggestions?

---

## [AWS instance profile - how to create in Ansible?](https://forum.ansible.com/t/aws-instance-profile-how-to-create-in-ansible/27517)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [May 13, 2018, 9:54pm UTC](https://forum.ansible.com/t/aws-instance-profile-how-to-create-in-ansible/27517 "2018-05-13T21:54:33Z")

</div>

I can’t figure out how to create an instance profile. It’s easy enough to attach an instance profile; the ec2\_lc module has an instance\_profile\_name parameter. But how to create the policy and role? There seem to be t…

---

## [Loop through the contents of include\_vars file via a shell module](https://forum.ansible.com/t/loop-through-the-contents-of-include-vars-file-via-a-shell-module/27506)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 8\
**Last updated:** [May 13, 2018, 3:25pm UTC](https://forum.ansible.com/t/loop-through-the-contents-of-include-vars-file-via-a-shell-module/27506 "2018-05-13T15:25:46Z")

</div>

I want to replicate a shell script that loops through the contents of a text.file For i in \`cat text.file\` I tried below and got an error. I'm not getting which logic to use. Kindly advise. - name: Load the variables …

---

## [Unable to Launch Job Template in Ansible Tower](https://forum.ansible.com/t/unable-to-launch-job-template-in-ansible-tower/27494)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 4\
**Last updated:** [May 13, 2018, 2:35pm UTC](https://forum.ansible.com/t/unable-to-launch-job-template-in-ansible-tower/27494 "2018-05-13T14:35:25Z")

</div>

Hello Community, I have created a Job Template to launch a job in Ansible Tower as shown in image. However, when I click on ‘search’ nothing happens. Can someone let me know what the ‘Launch Job’ is searching for? I hav…

---

## [creating new dictionary from existing dictionary](https://forum.ansible.com/t/creating-new-dictionary-from-existing-dictionary/27518)

<div class="topic-metadata">

**Author:** [@ali.khawaja](https://forum.ansible.com/u/ali.khawaja)\
**Replies:** 2\
**Last updated:** [May 13, 2018, 6:47am UTC](https://forum.ansible.com/t/creating-new-dictionary-from-existing-dictionary/27518 "2018-05-13T06:47:14Z")

</div>

Hi Everyone, I am trying to read a dict from a file (list of user ids), and create another dict with key/value pairs (user ids with passwords). But once my script completes, the new dictionary only has the final item. E…

---

## [Ansible - roles and tasks execution handling in playbook](https://forum.ansible.com/t/ansible-roles-and-tasks-execution-handling-in-playbook/27473)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 3\
**Last updated:** [May 12, 2018, 7:40pm UTC](https://forum.ansible.com/t/ansible-roles-and-tasks-execution-handling-in-playbook/27473 "2018-05-12T19:40:11Z")

</div>

I am working on ansible exception handling tasks and stuck in an ansible tasks execution handling problem where I need your guide to come over. I have 2 system host group system\_a and system\_b and I develop 6 roles and …

---

## [issue with ansible dry-run mode (--check) on package installation tasks (yum and apt modules)](https://forum.ansible.com/t/issue-with-ansible-dry-run-mode-check-on-package-installation-tasks-yum-and-apt-modules/27495)

<div class="topic-metadata">

**Author:** [@js.a](https://forum.ansible.com/u/js.a)\
**Replies:** 5\
**Last updated:** [May 12, 2018, 10:54am UTC](https://forum.ansible.com/t/issue-with-ansible-dry-run-mode-check-on-package-installation-tasks-yum-and-apt-modules/27495 "2018-05-12T10:54:46Z")

</div>

Hello guys. I’m here to bring an issue with Ansible dry-run (–check) mode. I have been facing a curious situation where package installation made using Playbooks and run in a dry-run mode is not working as expected. Usi…

---

## [terminating instances](https://forum.ansible.com/t/terminating-instances/27508)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 4\
**Last updated:** [May 11, 2018, 10:46pm UTC](https://forum.ansible.com/t/terminating-instances/27508 "2018-05-11T22:46:09Z")

</div>

hello all, I run “ec2\_instance\_facts” to get some instance\_ids: ec2\_instance\_facts: region: us-east-1 filters: “tag:Name”: “{{ cluster }}” register: ec2\_res Then i can properly print the instance\_ids only for tho…

---

## [Windows modules get a 500 error from WinRM](https://forum.ansible.com/t/windows-modules-get-a-500-error-from-winrm/27501)

<div class="topic-metadata">

**Author:** [@Marcus\_von\_Gerhardt](https://forum.ansible.com/u/Marcus_von_Gerhardt)\
**Replies:** 2\
**Last updated:** [May 11, 2018, 1:05pm UTC](https://forum.ansible.com/t/windows-modules-get-a-500-error-from-winrm/27501 "2018-05-11T13:05:51Z")

</div>

Hello, I’m working on getting some scheduled tasks on AWX for Windows servers, which will basically copy (with win\_copy) some powershell scripts from the remote server and then run these scripts on the Windows servers (…

---

## [Unable to use 'yum install'](https://forum.ansible.com/t/unable-to-use-yum-install/27507)

<div class="topic-metadata">

**Author:** [@Fabio\_Gomes\_Sakiyama](https://forum.ansible.com/u/Fabio_Gomes_Sakiyama)\
**Replies:** 9\
**Last updated:** [May 11, 2018, 12:28pm UTC](https://forum.ansible.com/t/unable-to-use-yum-install/27507 "2018-05-11T12:28:19Z")

</div>

Hi, I’m trying to install kubelet with Ansible, but I’m struggling to do it. This is my playbook: --- - hosts: all become: yes tasks: - name: install docker yum: name: docker …

---

## [Team default page](https://forum.ansible.com/t/team-default-page/27513)

<div class="topic-metadata">

**Author:** [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Replies:** 1\
**Last updated:** [May 11, 2018, 11:42am UTC](https://forum.ansible.com/t/team-default-page/27513 "2018-05-11T11:42:24Z")

</div>

Hi Is it possible to change one team's default start page to example portal? Regards Christer

---

## [Application tab](https://forum.ansible.com/t/application-tab/27511)

<div class="topic-metadata">

**Author:** [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Replies:** 1\
**Last updated:** [May 11, 2018, 10:45am UTC](https://forum.ansible.com/t/application-tab/27511 "2018-05-11T10:45:28Z")

</div>

Hi What is the plans for the awx application tab/page. I have not found any doc on github for it ether. Regards Christer

---

## [AWX does not delete Host from Inventory](https://forum.ansible.com/t/awx-does-not-delete-host-from-inventory/27512)

<div class="topic-metadata">

**Author:** [@marc1](https://forum.ansible.com/u/marc1)\
**Replies:** 0\
**Last updated:** [May 11, 2018, 10:45am UTC](https://forum.ansible.com/t/awx-does-not-delete-host-from-inventory/27512 "2018-05-11T10:45:09Z")

</div>

Hello, I have an problem, but Im not sure if this is an bug or i do it wrong. I manage my Inventory with an File (calls hosts) in my SCM (GIT). I have specified this file as source of my inventory. If i add a new host…

---

## [question about loop/with\_items](https://forum.ansible.com/t/question-about-loop-with-items/27509)

<div class="topic-metadata">

**Author:** [@Edmund\_Cheng](https://forum.ansible.com/u/Edmund_Cheng)\
**Replies:** 3\
**Last updated:** [May 11, 2018, 9:24am UTC](https://forum.ansible.com/t/question-about-loop-with-items/27509 "2018-05-11T09:24:51Z")

</div>

hi, say i have in hosts file 2 nodes. \[nodes\] server1 server2 in a playbook, we do some loop for tasks. hosts: nodes with\_items : \[‘apple’,‘banana’\] ansible will run it like in the below order: server1 : appl…

---

## [bigip\_configsync\_action  module in Ansible version 2.5 is not working](https://forum.ansible.com/t/bigip-configsync-action-module-in-ansible-version-2-5-is-not-working/27510)

<div class="topic-metadata">

**Author:** [@Veera\_Kumar](https://forum.ansible.com/u/Veera_Kumar)\
**Replies:** 0\
**Last updated:** [May 11, 2018, 8:14am UTC](https://forum.ansible.com/t/bigip-configsync-action-module-in-ansible-version-2-5-is-not-working/27510 "2018-05-11T08:14:44Z")

</div>

bigip\_configsync\_action module is not working in Ansible 2.5 ISSUE TYPE Since from 2.5 version, Ansible added provider to bigip\_configsync\_action, there is some confusion. bigip\_configsync\_action module not doing the …

---

## [Get basic vmware module working - vmware\_guest\_find](https://forum.ansible.com/t/get-basic-vmware-module-working-vmware-guest-find/27491)

<div class="topic-metadata">

**Author:** [@Edward\_Ahern](https://forum.ansible.com/u/Edward_Ahern)\
**Replies:** 3\
**Last updated:** [May 10, 2018, 4:50pm UTC](https://forum.ansible.com/t/get-basic-vmware-module-working-vmware-guest-find/27491 "2018-05-10T16:50:49Z")

</div>

Hi, I’m having issues with getting basic VMware modules working. For example vmware\_guest\_find. I’m running the below from a RHEL 7 server. Versions installed: \` pyvmomi 6.7.0 ansible 2.5.2 vSphere vCenter 6.0 \` p…

---

## [s3\_website module fails as non-root on MacOS](https://forum.ansible.com/t/s3-website-module-fails-as-non-root-on-macos/27505)

<div class="topic-metadata">

**Author:** [@Bernd\_Prager](https://forum.ansible.com/u/Bernd_Prager)\
**Replies:** 0\
**Last updated:** [May 10, 2018, 2:23pm UTC](https://forum.ansible.com/t/s3-website-module-fails-as-non-root-on-macos/27505 "2018-05-10T14:23:21Z")

</div>

Hi, I am trying to configure an existing S3 bucket as a website bucket. My playbook contains 2 simple tasks straight from the example page: … tasks: name: Create AWS S3 s3\_bucket: name: bernd-blue region: ap-sou…

---

## [AWX 1.0.6.5 downgrade to 1.0.5](https://forum.ansible.com/t/awx-1-0-6-5-downgrade-to-1-0-5/27503)

<div class="topic-metadata">

**Author:** [@Ivan\_Tuzhilkin](https://forum.ansible.com/u/Ivan_Tuzhilkin)\
**Replies:** 0\
**Last updated:** [May 10, 2018, 9:54am UTC](https://forum.ansible.com/t/awx-1-0-6-5-downgrade-to-1-0-5/27503 "2018-05-10T09:54:38Z")

</div>

Hello guys, AWX 1.0.6.5 seems very buggy. Is it possible to downgrade to the previous version without old version database dump?

---

## [Is anyone working on adding role support to postgresql\_user module?](https://forum.ansible.com/t/is-anyone-working-on-adding-role-support-to-postgresql-user-module/27502)

<div class="topic-metadata">

**Author:** [@Damian\_Bursztyn](https://forum.ansible.com/u/Damian_Bursztyn)\
**Replies:** 0\
**Last updated:** [May 10, 2018, 9:38am UTC](https://forum.ansible.com/t/is-anyone-working-on-adding-role-support-to-postgresql-user-module/27502 "2018-05-10T09:38:53Z")

</div>

Hi, Currently, Ansible’s postgresql\_user module supports many of the PostgreSQL CREATE ROLE. Yet the options (i) IN ROLE (which allows to list one or more existing roles to which the new role will be immediately added …

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

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