# Latest

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

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

**Page:** 403

---

## [Anible windows script get stuck for my of my machine - Although reboot command is provided to reboot if required. any idea, why ?](https://forum.ansible.com/t/anible-windows-script-get-stuck-for-my-of-my-machine-although-reboot-command-is-provided-to-reboot-if-required-any-idea-why/32166)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 7, 2020, 11:14pm UTC](https://forum.ansible.com/t/anible-windows-script-get-stuck-for-my-of-my-machine-although-reboot-command-is-provided-to-reboot-if-required-any-idea-why/32166 "2020-02-07T23:14:55Z")

</div>

Ansible:-

---

## [ec2 asg does not spin or replace instances when existing auto scaling group is modified with new launch configuration](https://forum.ansible.com/t/ec2-asg-does-not-spin-or-replace-instances-when-existing-auto-scaling-group-is-modified-with-new-launch-configuration/32178)

<div class="topic-metadata">

**Author:** [@shivani](https://forum.ansible.com/u/shivani)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 7:47pm UTC](https://forum.ansible.com/t/ec2-asg-does-not-spin-or-replace-instances-when-existing-auto-scaling-group-is-modified-with-new-launch-configuration/32178 "2020-02-07T19:47:43Z")

</div>

Hi I am facing an issue with ec2\_asg module when I use target group arn it does not spin or replace instances. I I use classic load balancer it works fine replaces the instances. When new asg is created it spins up the …

---

## [use ansible api to push files to remote hosts](https://forum.ansible.com/t/use-ansible-api-to-push-files-to-remote-hosts/32176)

<div class="topic-metadata">

**Author:** [@Mario\_Garcia](https://forum.ansible.com/u/Mario_Garcia)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 5:15pm UTC](https://forum.ansible.com/t/use-ansible-api-to-push-files-to-remote-hosts/32176 "2020-02-07T17:15:25Z")

</div>

Hello, i am looking to create a tool that pushes sudoers file to remote file using the ansible api it is a tool for some non technical users this is what I have \` from ansible.parsing.dataloader import DataLoader f…

---

## [Calling an action plugin w/o defining a corresponding module](https://forum.ansible.com/t/calling-an-action-plugin-w-o-defining-a-corresponding-module/32174)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 12:34pm UTC](https://forum.ansible.com/t/calling-an-action-plugin-w-o-defining-a-corresponding-module/32174 "2020-02-07T12:34:40Z")

</div>

Hi, Just checking if is it possible to do all processing in an action plugin named default as module and not defining module file altogether in library ? this is because i am able to do most processing in action plugin …

---

## [aws ece dettach Volume error](https://forum.ansible.com/t/aws-ece-dettach-volume-error/32171)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 1\
**Last updated:** [February 7, 2020, 9:58am UTC](https://forum.ansible.com/t/aws-ece-dettach-volume-error/32171 "2020-02-07T09:58:52Z")

</div>

dear all: please help me how to detach volume name: Detach a Volume ec2\_vol: id: vol-0a75b01a93b9e6778 region: “{{ region }}” instance: None PLAY \[localhost\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible setting - add proxy](https://forum.ansible.com/t/ansible-setting-add-proxy/32148)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 2\
**Last updated:** [February 7, 2020, 8:01am UTC](https://forum.ansible.com/t/ansible-setting-add-proxy/32148 "2020-02-07T08:01:15Z")

</div>

Guys, how we can add proxy setting in ansible when we use ansible\_connection=winrm? fatal: \[10.2.20.56\]: UNREACHABLE! =\> { “changed”: false, “msg”: “ssl: HTTPSConnectionPool(host=‘10.2.20.56’, port=5986): Max retries…

---

## [aws ec2 add new ebs volume error](https://forum.ansible.com/t/aws-ec2-add-new-ebs-volume-error/32168)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 3\
**Last updated:** [February 7, 2020, 5:40am UTC](https://forum.ansible.com/t/aws-ec2-add-new-ebs-volume-error/32168 "2020-02-07T05:40:46Z")

</div>

Dear all: please help me thanks. name: Create New EBS volume ec2\_vol: aws\_access\_key: “{{ aws\_access\_key }}” aws\_secret\_key: “{{ aws\_secret\_key }}” instance\_id: “{{ instance\_id }}” volume\_size: “{{ volume\_size }}…

---

## [Issue with curl command running with shell module](https://forum.ansible.com/t/issue-with-curl-command-running-with-shell-module/32160)

<div class="topic-metadata">

**Author:** [@Pawan\_Kumar1](https://forum.ansible.com/u/Pawan_Kumar1)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 10:49pm UTC](https://forum.ansible.com/t/issue-with-curl-command-running-with-shell-module/32160 "2020-02-06T22:49:14Z")

</div>

Hi Team, Curl command is working fine on command line shell ,but when running the same command using Ansible shell module it’s throwing error . The exact issue coming when i am using curl command with multiple paramete…

---

## [format List comparison ansible](https://forum.ansible.com/t/format-list-comparison-ansible/32097)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 18\
**Last updated:** [February 6, 2020, 10:42pm UTC](https://forum.ansible.com/t/format-list-comparison-ansible/32097 "2020-02-06T22:42:38Z")

</div>

Hi , I want to compare two lists . But while doing this the list1 item loops over each item of list2. I just want item of list 1 just to compare between matching item in list2 and not with others. my playbook: hosts…

---

## [Running Playbooks against RDS](https://forum.ansible.com/t/running-playbooks-against-rds/32165)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 10:31pm UTC](https://forum.ansible.com/t/running-playbooks-against-rds/32165 "2020-02-06T22:31:42Z")

</div>

Hi Another mail with a little bit more information. To prevent iterating over little bits of information guessing what you are doing, could you please tell clearly: - What you are trying to achieve. - How you are do…

---

## [Ansible for RDS](https://forum.ansible.com/t/ansible-for-rds/32164)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 10:28pm UTC](https://forum.ansible.com/t/ansible-for-rds/32164 "2020-02-06T22:28:26Z")

</div>

Hi The error is pretty self explanatory. You need to make sure you can connect to the RDS Oracle instance by SSH. Check out https://docs.ansible.com/ansible/latest/user\_guide/intro\_getting\_started.html#connecting-to-r…

---

## [help with variable lookup](https://forum.ansible.com/t/help-with-variable-lookup/32163)

<div class="topic-metadata">

**Author:** [@Jason\_Bullen](https://forum.ansible.com/u/Jason_Bullen)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 10:13pm UTC](https://forum.ansible.com/t/help-with-variable-lookup/32163 "2020-02-06T22:13:18Z")

</div>

I’m a greenhorn…I have this problem where I want the user to input either dev or prod in an env prompt then I take that and access a dictionary to get its custom properties. it works fine if I hardcode {{ dev.ip }} but i…

---

## [Reports error, but it seems to be working](https://forum.ansible.com/t/reports-error-but-it-seems-to-be-working/32162)

<div class="topic-metadata">

**Author:** [@Joe3](https://forum.ansible.com/u/Joe3)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 7:44pm UTC](https://forum.ansible.com/t/reports-error-but-it-seems-to-be-working/32162 "2020-02-06T19:44:22Z")

</div>

I’m new to Ansible, so I’m working my way though learning it. I have a small very basic playbook with two tasks. The first task uses the junos module to back the config of a switch. The second tasks changes the host name…

---

## [need hep in ansible vars for template](https://forum.ansible.com/t/need-hep-in-ansible-vars-for-template/32161)

<div class="topic-metadata">

**Author:** [@vishwas\_govekar1](https://forum.ansible.com/u/vishwas_govekar1)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 4:36pm UTC](https://forum.ansible.com/t/need-hep-in-ansible-vars-for-template/32161 "2020-02-06T16:36:24Z")

</div>

I am working on Apache storm project using Ansible scripts ,I have stormconfproperties.yml which has variable values for supervisor\_slots\_ports In my template files I have to pass it as variables .Can you help me for …

---

## [Format two List Comparison](https://forum.ansible.com/t/format-two-list-comparison/32159)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 4:00pm UTC](https://forum.ansible.com/t/format-two-list-comparison/32159 "2020-02-06T16:00:35Z")

</div>

Hi , Someone barged into my ongoing Discussion . So i had to start a new Discussion. If my items of lists are not fixed on both the list , how do i compare them: Now i have one more issue on the LIST comparison: If t…

---

## [ansible win\_security\_policy - find section](https://forum.ansible.com/t/ansible-win-security-policy-find-section/32158)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 3:37pm UTC](https://forum.ansible.com/t/ansible-win-security-policy-find-section/32158 "2020-02-06T15:37:42Z")

</div>

Hi guys, How can I find section name for win\_security\_policy? name: Allow Auto Update win\_security\_policy: section: System Update key: AllowAutoUpdate value: 0 TASK \[windows-gpo : Allow Auto Update\] \*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Migrating playbook from ubuntu to amazon linux 2 - throws error missing dependency: python-apt](https://forum.ansible.com/t/migrating-playbook-from-ubuntu-to-amazon-linux-2-throws-error-missing-dependency-python-apt/32138)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 8\
**Last updated:** [February 6, 2020, 1:44pm UTC](https://forum.ansible.com/t/migrating-playbook-from-ubuntu-to-amazon-linux-2-throws-error-missing-dependency-python-apt/32138 "2020-02-06T13:44:43Z")

</div>

Hello, Do you recommend Migrating playbook from ubuntu to amazon Linux 2 (as it uses yum instead of apt). If so, how can I check if missing add a package to a new instance to make sure it installs python-apt\*\*?\*\* Ansib…

---

## [How to resolve the RuntimeError when executing the Jobs in AWX 9.1.0?](https://forum.ansible.com/t/how-to-resolve-the-runtimeerror-when-executing-the-jobs-in-awx-9-1-0/32155)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 11:16am UTC](https://forum.ansible.com/t/how-to-resolve-the-runtimeerror-when-executing-the-jobs-in-awx-9-1-0/32155 "2020-02-06T11:16:39Z")

</div>

Hello All, When i am trying to execute the jobs in AWX 9.1.0, i am getting the following errors. Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/tasks.py", line 135…

---

## [Install sudo on RHEL](https://forum.ansible.com/t/install-sudo-on-rhel/32154)

<div class="topic-metadata">

**Author:** [@Jeremy\_Njock](https://forum.ansible.com/u/Jeremy_Njock)\
**Replies:** 3\
**Last updated:** [February 6, 2020, 9:52am UTC](https://forum.ansible.com/t/install-sudo-on-rhel/32154 "2020-02-06T09:52:55Z")

</div>

I have an ansible playbook, wich connects to a remote server. On that remote server sudo is not installed. I can only gather root access with running dzdo su - in terminal. I tried to run following task to install sudo …

---

## [Running the same task on 2 different groups , each group have different variables](https://forum.ansible.com/t/running-the-same-task-on-2-different-groups-each-group-have-different-variables/32153)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 9:05am UTC](https://forum.ansible.com/t/running-the-same-task-on-2-different-groups-each-group-have-different-variables/32153 "2020-02-06T09:05:49Z")

</div>

Goal: Running the same task on different inventory group, each group with different variables Setup: In my inventory hosts file, I have 2 groups. Web-Server and Manager servers. I have created a playbook that format a…

---

## [authorized\_key and multiple keys for one user](https://forum.ansible.com/t/authorized-key-and-multiple-keys-for-one-user/32151)

<div class="topic-metadata">

**Author:** [@Daniel\_Nanboe](https://forum.ansible.com/u/Daniel_Nanboe)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 8:25am UTC](https://forum.ansible.com/t/authorized-key-and-multiple-keys-for-one-user/32151 "2020-02-06T08:25:08Z")

</div>

I have an inventory file where for one host I have defined the users and keys that I want to use in a playbook: \` sftp\_users: remote\_user: prod state: present long\_name: prod user ssh\_key: prodkey\_1 prodkey\_2 remo…

---

## [k8s module - TypeError: argument of type 'NoneType' is not iterable](https://forum.ansible.com/t/k8s-module-typeerror-argument-of-type-nonetype-is-not-iterable/32139)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 5:17am UTC](https://forum.ansible.com/t/k8s-module-typeerror-argument-of-type-nonetype-is-not-iterable/32139 "2020-02-06T05:17:19Z")

</div>

Hello, Trying to apply a yaml definition using the k8s module to my cluster. I’ve never used this module before so i’m trying to work out if i’m just doing something wrong or is this a bug? playbook: \`

---

## [Supplying algorithm specific options with the htpasswd module](https://forum.ansible.com/t/supplying-algorithm-specific-options-with-the-htpasswd-module/32152)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 11:41pm UTC](https://forum.ansible.com/t/supplying-algorithm-specific-options-with-the-htpasswd-module/32152 "2020-02-05T23:41:10Z")

</div>

Hi I'm using the htpasswd module to create a password file for use with Dovecot, which is to be used for SMTP authentication. This works OK but the default encryption scheme is 'apr\_md5\_crypt' which isn't optimal. B…

---

## [How to ignore the none value from "Default(None) filter" that allows None value added to list of Item](https://forum.ansible.com/t/how-to-ignore-the-none-value-from-default-none-filter-that-allows-none-value-added-to-list-of-item/32145)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 8\
**Last updated:** [February 5, 2020, 8:26pm UTC](https://forum.ansible.com/t/how-to-ignore-the-none-value-from-default-none-filter-that-allows-none-value-added-to-list-of-item/32145 "2020-02-05T20:26:20Z")

</div>

Hi, After i create a list and when item is not present then an item with NONE is added to the list. name: Create an empty list variable set\_fact: ece\_nodes: name: Append string to ECE node list set\_fact: ece\_…

---

## [AWX multiple templates on workflow](https://forum.ansible.com/t/awx-multiple-templates-on-workflow/32150)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 8:04pm UTC](https://forum.ansible.com/t/awx-multiple-templates-on-workflow/32150 "2020-02-05T20:04:00Z")

</div>

I’m working on a Workflow on AWX to run several templates (basically playbooks). I have created a project that connects to the git to get my playbooks. Manually they will run one after the other and one of the playbook…

---

## [win\_domain\_group using AD LDS?](https://forum.ansible.com/t/win-domain-group-using-ad-lds/32147)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 7:17pm UTC](https://forum.ansible.com/t/win-domain-group-using-ad-lds/32147 "2020-02-05T19:17:58Z")

</div>

Attempting to implement group creation/management playbooks via a jump box running AD LDS nets us the below error The play itself isn’t overly complicated… yet. ##CREATING RW GROUPS tasks: name: Verify we connect f…

---

## [How to do 3 with\_items in the same task ?](https://forum.ansible.com/t/how-to-do-3-with-items-in-the-same-task/32126)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 4:11pm UTC](https://forum.ansible.com/t/how-to-do-3-with-items-in-the-same-task/32126 "2020-02-05T16:11:56Z")

</div>

Hi, I am reading 3 different variable from a text file and want to iterate in 3 different with\_items. variablefile.yml vars1 : first\_value1 first\_value 2 var2: second\_value1 second\_value2 var3: third\_value1 th…

---

## [Missing sudo password in AWX](https://forum.ansible.com/t/missing-sudo-password-in-awx/32113)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 7\
**Last updated:** [February 5, 2020, 4:05pm UTC](https://forum.ansible.com/t/missing-sudo-password-in-awx/32113 "2020-02-05T16:05:37Z")

</div>

I am just starting to use AWX. Our goal is to automate some playbooks to be executed at specific times, and AWX seemed like the logical place to do run these from. For this purpose, we created a user account on our targe…

---

## [Match filter missing in Ansible version 2.9](https://forum.ansible.com/t/match-filter-missing-in-ansible-version-2-9/32146)

<div class="topic-metadata">

**Author:** [@Devesh\_singh](https://forum.ansible.com/u/Devesh_singh)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 3:20pm UTC](https://forum.ansible.com/t/match-filter-missing-in-ansible-version-2-9/32146 "2020-02-05T15:20:38Z")

</div>

Hello All, Anybody can help for the below error. My system was patched recently and ansible version has been upgraded to 2.9. After that my playbook started to throw below error.:

---

## [the connection attempt timed out](https://forum.ansible.com/t/the-connection-attempt-timed-out/32144)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 1:44pm UTC](https://forum.ansible.com/t/the-connection-attempt-timed-out/32144 "2020-02-05T13:44:08Z")

</div>

Dear guys, I try to connect with winrm to a Windows server 2016: winrm is installed, port winrm is open and firewall down (windows) Some output about this error? ansible@host01:~/playbooks$ ansible all -i …/inventory\_…

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

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