# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=227

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

**Page:** 228

---

## [Why Are Jobs Pending When I Have "Enable Concurrent Jobs" Checked in Ansible AWX?](https://forum.ansible.com/t/why-are-jobs-pending-when-i-have-enable-concurrent-jobs-checked-in-ansible-awx/32183)

<div class="topic-metadata">

**Author:** [@ekta\_dhussa1](https://forum.ansible.com/u/ekta_dhussa1)\
**Replies:** 3\
**Last updated:** [February 10, 2020, 8:55am UTC](https://forum.ansible.com/t/why-are-jobs-pending-when-i-have-enable-concurrent-jobs-checked-in-ansible-awx/32183 "2020-02-10T08:55:54Z")

</div>

I am testing parallel execution of playbooks on n no. of hosts in same inventory and for the same jobs. But I am seeing jobs are sliced but execution is not parallel but serial. Can anyone tell why is this happening?

---

## [how to get specified order of strings in list ?](https://forum.ansible.com/t/how-to-get-specified-order-of-strings-in-list/32182)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 4:43am UTC](https://forum.ansible.com/t/how-to-get-specified-order-of-strings-in-list/32182 "2020-02-10T04:43:59Z")

</div>

I have a list like this user: name: chchang comment: “Chang Chic Hung” and I want to add more attrs like last\_name: Chang mid\_name: Chic but how to get the specifed order of the values ? I try to use filter “firs…

---

## [Ansible VM and GNS3 routers](https://forum.ansible.com/t/ansible-vm-and-gns3-routers/32177)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 4:36am UTC](https://forum.ansible.com/t/ansible-vm-and-gns3-routers/32177 "2020-02-10T04:36:13Z")

</div>

Hi I have two VM’s in Azure, 1 VM running Ansible and the other having GNS3 (with connected routers and switches). I am able to telnet from Ansible server to the Routers configured in GNS3 however when i run a playbook …

---

## [Installing Openshift 3.11 using Ansible AWX](https://forum.ansible.com/t/installing-openshift-3-11-using-ansible-awx/32181)

<div class="topic-metadata">

**Author:** [@kurrent93](https://forum.ansible.com/u/kurrent93)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 2:13am UTC](https://forum.ansible.com/t/installing-openshift-3-11-using-ansible-awx/32181 "2020-02-10T02:13:20Z")

</div>

Hello I’m trying to install OpenShift 3.11 on AWX. Specifically, I’m trying to install https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.11.170-1 I’ve created a virtual environment in AWX. …

---

## [ERROR! the field 'hosts' is required but was not set](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/32180)

<div class="topic-metadata">

**Author:** [@Max3](https://forum.ansible.com/u/Max3)\
**Replies:** 3\
**Last updated:** [February 9, 2020, 3:27pm UTC](https://forum.ansible.com/t/error-the-field-hosts-is-required-but-was-not-set/32180 "2020-02-09T15:27:52Z")

</div>

\*\*When I run this:\*\* ansible-playbook -i host.inventory -l dev automation.yml \*\*I keep on getting this:\*\* PLAY \[dev\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [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…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=226)

[Next page](https://forum.ansible.com/c/archives/31.md?page=228)
