# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=93

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

**Page:** 94

---

## [How to run two tasks at the same time](https://forum.ansible.com/t/how-to-run-two-tasks-at-the-same-time/34234)

<div class="topic-metadata">

**Author:** [@Prathap\_Dasari](https://forum.ansible.com/u/Prathap_Dasari)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 4:47pm UTC](https://forum.ansible.com/t/how-to-run-two-tasks-at-the-same-time/34234 "2020-12-15T16:47:50Z")

</div>

Hi , How to run two tasks at the same time ? Kindly let me know if anyone knows about it. Regards, Prathap

---

## [shell module  variables](https://forum.ansible.com/t/shell-module-variables/34300)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://forum.ansible.com/u/Manoj_Chander)\
**Replies:** 4\
**Last updated:** [December 15, 2020, 2:44pm UTC](https://forum.ansible.com/t/shell-module-variables/34300 "2020-12-15T14:44:57Z")

</div>

Im trying to read a file line by line and pass it to a shell module Is this completely wrong or i just have to find a way to make the wildcard and string to match . name: remove older files shell: ls “{{item}}.jar” …

---

## [Using Ansible from other tools (Eg. Terraform)](https://forum.ansible.com/t/using-ansible-from-other-tools-eg-terraform/34307)

<div class="topic-metadata">

**Author:** [@Philip\_Mallegol-Hans](https://forum.ansible.com/u/Philip_Mallegol-Hans)\
**Replies:** 2\
**Last updated:** [December 15, 2020, 2:36pm UTC](https://forum.ansible.com/t/using-ansible-from-other-tools-eg-terraform/34307 "2020-12-15T14:36:57Z")

</div>

Hey everyone! A month ago I opened an issue regarding how the ansible-pull command assumes local connections should be used, in the context of a pull vs. push architecture. I was kindly informed there are no plans to ch…

---

## [Handle MFA Setup on Linux hosts using Ansible](https://forum.ansible.com/t/handle-mfa-setup-on-linux-hosts-using-ansible/34337)

<div class="topic-metadata">

**Author:** [@Parth\_Patel](https://forum.ansible.com/u/Parth_Patel)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 1:45pm UTC](https://forum.ansible.com/t/handle-mfa-setup-on-linux-hosts-using-ansible/34337 "2020-12-15T13:45:53Z")

</div>

Assume we have linux servers with MFA being setup while logging in using SSH key based authentication. Like say example https://cmd.com/ or OKTA is used to setup MFA. How can we do same task using ansible ? I wanted to m…

---

## [Warning in ansible-base 2.10 (when running playbook)](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975)

<div class="topic-metadata">

**Author:** [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Replies:** 4\
**Last updated:** [December 15, 2020, 8:38am UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975 "2020-12-15T08:38:33Z")

</div>

Debian 10.6 up-to-date, ansible-base 2.10.2 (for ubuntu bionic) installed as package. Every module that implies a redirection (not from ansible.builtin) seems to trigger that warning. I.e: community.general, community.…

---

## [New release: ansible-base 2.10.4](https://forum.ansible.com/t/new-release-ansible-base-2-10-4/34334)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 6:05am UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-4/34334 "2020-12-15T06:05:23Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.4 is now available! How to get it

---

## [New Ansible releases 2.9.16 and 2.8.18](https://forum.ansible.com/t/new-ansible-releases-2-9-16-and-2-8-18/34333)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 6:03am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-16-and-2-8-18/34333 "2020-12-15T06:03:08Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.16 and 2.8.18 are now available! How do you get it?

---

## [Proxmox](https://forum.ansible.com/t/proxmox/34328)

<div class="topic-metadata">

**Author:** [@Pim\_Janssen](https://forum.ansible.com/u/Pim_Janssen)\
**Replies:** 2\
**Last updated:** [December 14, 2020, 7:19pm UTC](https://forum.ansible.com/t/proxmox/34328 "2020-12-14T19:19:01Z")

</div>

Hi everyone, As i am new to Ansible i still have a lot to learn. I have been playing with Ansible and Proxmox for some time. I want to run Ansible within a Proxmox container without having to install SSH inside every c…

---

## ['dict object' has no attribute](https://forum.ansible.com/t/dict-object-has-no-attribute/34332)

<div class="topic-metadata">

**Author:** [@Jost](https://forum.ansible.com/u/Jost)\
**Replies:** 2\
**Last updated:** [December 14, 2020, 6:23pm UTC](https://forum.ansible.com/t/dict-object-has-no-attribute/34332 "2020-12-14T18:23:06Z")

</div>

Hi I would like to lock list of users on linux only if user exist, but have some problems: lock-user1.yml

---

## [how to connect via ssh to different ansible nodes that have different root credentials ?](https://forum.ansible.com/t/how-to-connect-via-ssh-to-different-ansible-nodes-that-have-different-root-credentials/34320)

<div class="topic-metadata">

**Author:** [@LaHwF\_Sk](https://forum.ansible.com/u/LaHwF_Sk)\
**Replies:** 6\
**Last updated:** [December 14, 2020, 4:58pm UTC](https://forum.ansible.com/t/how-to-connect-via-ssh-to-different-ansible-nodes-that-have-different-root-credentials/34320 "2020-12-14T16:58:02Z")

</div>

When configuring nodes with Ansible, each server has a its own user and password, but it asks for root pass for ssh connection. is it a good idea to give all servers same root pass for easy use? if not please how can i…

---

## [Incorrect dynamic script source link - AWS EC2](https://forum.ansible.com/t/incorrect-dynamic-script-source-link-aws-ec2/34330)

<div class="topic-metadata">

**Author:** [@Parth\_Patel](https://forum.ansible.com/u/Parth_Patel)\
**Replies:** 12\
**Last updated:** [December 14, 2020, 2:38pm UTC](https://forum.ansible.com/t/incorrect-dynamic-script-source-link-aws-ec2/34330 "2020-12-14T14:38:28Z")

</div>

HI Team, On page https://ansible-docs.readthedocs.io/zh/stable-2.0/rst/intro\_dynamic\_inventory.html#example-aws-ec2-external-inventory-script Link to ec2 dynamic python inventory script, i see 404 not found error. Can …

---

## [Hetzner API with Ansible](https://forum.ansible.com/t/hetzner-api-with-ansible/34331)

<div class="topic-metadata">

**Author:** [@Tonci\_Stanic](https://forum.ansible.com/u/Tonci_Stanic)\
**Replies:** 0\
**Last updated:** [December 14, 2020, 1:31pm UTC](https://forum.ansible.com/t/hetzner-api-with-ansible/34331 "2020-12-14T13:31:17Z")

</div>

Greetings earthlings; has anyone succeed to roll new Hetzner VM from current VMs backup via Ansible? I would like to be able to run a playbook and automatically get desired numbers of servers up and running along side …

---

## [Creating LVG's and LVs in Azure](https://forum.ansible.com/t/creating-lvgs-and-lvs-in-azure/34323)

<div class="topic-metadata">

**Author:** [@Dave\_McPherson](https://forum.ansible.com/u/Dave_McPherson)\
**Replies:** 3\
**Last updated:** [December 13, 2020, 9:55pm UTC](https://forum.ansible.com/t/creating-lvgs-and-lvs-in-azure/34323 "2020-12-13T21:55:17Z")

</div>

I have a post install script to partition and then add disk to Volume groups then create volumes in Azure. The parted portion of the script works fine but I get an error attempting to create the volume groups. Any help w…

---

## [Looking for an Ansible content writer](https://forum.ansible.com/t/looking-for-an-ansible-content-writer/34327)

<div class="topic-metadata">

**Author:** [@Jan\_Geric](https://forum.ansible.com/u/Jan_Geric)\
**Replies:** 0\
**Last updated:** [December 13, 2020, 11:20am UTC](https://forum.ansible.com/t/looking-for-an-ansible-content-writer/34327 "2020-12-13T11:20:58Z")

</div>

Hi there, I hope such posts are allowed here. My small content marketing team is looking for someone to write 1 Ansible blog post per week for our client. What we need is a person that: Has at least basic knowledge a…

---

## [Is there a better way to do this: Wait for windows services like winrm using a timer](https://forum.ansible.com/t/is-there-a-better-way-to-do-this-wait-for-windows-services-like-winrm-using-a-timer/34326)

<div class="topic-metadata">

**Author:** [@Nick\_Maize](https://forum.ansible.com/u/Nick_Maize)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 8:47pm UTC](https://forum.ansible.com/t/is-there-a-better-way-to-do-this-wait-for-windows-services-like-winrm-using-a-timer/34326 "2020-12-12T20:47:49Z")

</div>

Right now I’m working on a project to join a Windows server to the domain, the process works but currently I’m waiting for the winrm service using win\_wait\_for. Is there a more dynamic way to do this? Generic example bel…

---

## [test msg](https://forum.ansible.com/t/test-msg/34325)

<div class="topic-metadata">

**Author:** [@prem](https://forum.ansible.com/u/prem)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 5:57pm UTC](https://forum.ansible.com/t/test-msg/34325 "2020-12-12T17:57:42Z")

</div>

test msg

---

## [Trouble with vault multi line password files](https://forum.ansible.com/t/trouble-with-vault-multi-line-password-files/34318)

<div class="topic-metadata">

**Author:** [@Jorgen-P](https://forum.ansible.com/u/Jorgen-P)\
**Replies:** 2\
**Last updated:** [December 10, 2020, 11:41pm UTC](https://forum.ansible.com/t/trouble-with-vault-multi-line-password-files/34318 "2020-12-10T23:41:12Z")

</div>

Greetings I have tried to get Ansible vault to use a multi line password file as described in https://docs.ansible.com/ansible/latest/user\_guide/vault.html#storing-vault-passwords I can not get this to work. I have tr…

---

## [Comparing 2 nested dictionaries and print the difference](https://forum.ansible.com/t/comparing-2-nested-dictionaries-and-print-the-difference/34317)

<div class="topic-metadata">

**Author:** [@Umesha\_A](https://forum.ansible.com/u/Umesha_A)\
**Replies:** 2\
**Last updated:** [December 10, 2020, 9:22pm UTC](https://forum.ansible.com/t/comparing-2-nested-dictionaries-and-print-the-difference/34317 "2020-12-10T21:22:10Z")

</div>

HI I have 2 nested dictionaries to compare and print their result. How can this be done ? Any thoughts ? I want to check if there are any databases and tables are missing or additonal tables are present by comparing the…

---

## ["msg": "ntlm: HTTPSConnectionPool(host='myhost', port=5986): Read timed out. (read timeout=70)", \[0m 10:19:16  \[1;31m "unreachable": true](https://forum.ansible.com/t/msg-ntlm-httpsconnectionpool-host-myhost-port-5986-read-timed-out-read-timeout-70-0m-1016-1-31m-unreachable-true/34315)

<div class="topic-metadata">

**Author:** [@Kishore\_Donekal](https://forum.ansible.com/u/Kishore_Donekal)\
**Replies:** 0\
**Last updated:** [December 10, 2020, 4:55pm UTC](https://forum.ansible.com/t/msg-ntlm-httpsconnectionpool-host-myhost-port-5986-read-timed-out-read-timeout-70-0m-1016-1-31m-unreachable-true/34315 "2020-12-10T16:55:01Z")

</div>

Am seeing this issue on a bunch of servers now every here and there randomly. Can some one help me on this if there is a workaround to fix the NTLM issue with HTTPS. Ansible version 2.4.2

---

## [Reading  variable values set in a role which is called multiple times using with-items](https://forum.ansible.com/t/reading-variable-values-set-in-a-role-which-is-called-multiple-times-using-with-items/34308)

<div class="topic-metadata">

**Author:** [@AnsibleUser707](https://forum.ansible.com/u/AnsibleUser707)\
**Replies:** 4\
**Last updated:** [December 9, 2020, 8:43pm UTC](https://forum.ansible.com/t/reading-variable-values-set-in-a-role-which-is-called-multiple-times-using-with-items/34308 "2020-12-09T20:43:42Z")

</div>

Hello everyone, First time poster here so apologies if something is not in correct format. I am trying to read a two values in a script which are set inside a role using set\_fact. The role is called twice using with-it…

---

## [rolename not displayed in front of task when tasks name contains rolename](https://forum.ansible.com/t/rolename-not-displayed-in-front-of-task-when-tasks-name-contains-rolename/34306)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 2:40pm UTC](https://forum.ansible.com/t/rolename-not-displayed-in-front-of-task-when-tasks-name-contains-rolename/34306 "2020-12-09T14:40:15Z")

</div>

I noticed something odd today when looking at ansible output. Most tasks output looks like: TASK \[test\_role : task without rolename\] Where the role name, “test\_role” is in inserted in front of the task. However if t…

---

## [RBAC for user creations ssh key using role](https://forum.ansible.com/t/rbac-for-user-creations-ssh-key-using-role/34310)

<div class="topic-metadata">

**Author:** [@Siva1](https://forum.ansible.com/u/Siva1)\
**Replies:** 0\
**Last updated:** [December 9, 2020, 12:12pm UTC](https://forum.ansible.com/t/rbac-for-user-creations-ssh-key-using-role/34310 "2020-12-09T12:12:30Z")

</div>

Hi All, Can I get any help on creating multiple new users for different groups and with ssh keys assigned to them using roles and also can I get help on RBAC

---

## [File .../ansible/playbook/role/\_\_init\_\_.py", line 224 in \_load\_role\_data problem](https://forum.ansible.com/t/file-ansible-playbook-role-init-py-line-224-in-load-role-data-problem/34309)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 0\
**Last updated:** [December 9, 2020, 9:26am UTC](https://forum.ansible.com/t/file-ansible-playbook-role-init-py-line-224-in-load-role-data-problem/34309 "2020-12-09T09:26:23Z")

</div>

Hi, I’m getting this error using python 3.9 and ansible 2.10.3 when I suspect a role to be imported cannot be found ansible-playbook -i hosts install\_jenkins.yml -b -v Using /Users/cmoullia/.ansible.cfg as config fil…

---

## [Role imported from galaxy exists also as inner role](https://forum.ansible.com/t/role-imported-from-galaxy-exists-also-as-inner-role/34302)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 5\
**Last updated:** [December 9, 2020, 8:37am UTC](https://forum.ansible.com/t/role-imported-from-galaxy-exists-also-as-inner-role/34302 "2020-12-09T08:37:52Z")

</div>

Hi When execute the following command ansible-galaxy install -r requirements.yml using this requirements.yml file

---

## [Date in a Jinja template](https://forum.ansible.com/t/date-in-a-jinja-template/34301)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 2\
**Last updated:** [December 8, 2020, 4:08pm UTC](https://forum.ansible.com/t/date-in-a-jinja-template/34301 "2020-12-08T16:08:50Z")

</div>

I generate a report using a Jinja template file from one of my playbooks and mail that file to several users. In it, I am putting the current date and time as follows: Date generated: {{ now(false, ‘%m/%d/%Y %I:%M:%S’) …

---

## [Ansible readfile and concatenate a variable to each line](https://forum.ansible.com/t/ansible-readfile-and-concatenate-a-variable-to-each-line/34293)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://forum.ansible.com/u/Manoj_Chander)\
**Replies:** 5\
**Last updated:** [December 8, 2020, 2:10pm UTC](https://forum.ansible.com/t/ansible-readfile-and-concatenate-a-variable-to-each-line/34293 "2020-12-08T14:10:56Z")

</div>

Hi I have a file with list of filenames .I want to read each line and add a variable {{version}} to the end and pass it to another task which will download the artifact MY\_File cat file/branches.txt mhr- mtr- tsr I wa…

---

## [Running a master playbook against different hosts](https://forum.ansible.com/t/running-a-master-playbook-against-different-hosts/34299)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 0\
**Last updated:** [December 8, 2020, 1:40pm UTC](https://forum.ansible.com/t/running-a-master-playbook-against-different-hosts/34299 "2020-12-08T13:40:07Z")

</div>

Hey everyone. We are having a weird problem trying to get something to work, so I thought I might ask the question. We have two playbooks, one that deploys a virtual machine in vmware, using the vsphere\_guest module. Thi…

---

## [Unable to remove default user/group ACLs on a windows ROOT Drive using Ansible](https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291)

<div class="topic-metadata">

**Author:** [@shubham\_debnath](https://forum.ansible.com/u/shubham_debnath)\
**Replies:** 1\
**Last updated:** [December 8, 2020, 8:21am UTC](https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291 "2020-12-08T08:21:26Z")

</div>

Hello Ansible community. Can anyone please help me on the below issue. Issue:: When creating a new volume on windows instance, the new Drive is getting created with default built in users/grops permissions like CREATO…

---

## [How to copy  files from src(ansible controller )  to dest ( target hosts)](https://forum.ansible.com/t/how-to-copy-files-from-src-ansible-controller-to-dest-target-hosts/34288)

<div class="topic-metadata">

**Author:** [@Prathap\_Dasari](https://forum.ansible.com/u/Prathap_Dasari)\
**Replies:** 14\
**Last updated:** [December 7, 2020, 6:25pm UTC](https://forum.ansible.com/t/how-to-copy-files-from-src-ansible-controller-to-dest-target-hosts/34288 "2020-12-07T18:25:57Z")

</div>

Hi , How to copy the zip file size \> 250 MB from src(ansible controller ) to dest ( target hosts) ? I wrote the playbook as below but it didn’t working due to my zip file size is more than 700 MB - name: Copy files fr…

---

## [Mysql problem module](https://forum.ansible.com/t/mysql-problem-module/34295)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 1\
**Last updated:** [December 7, 2020, 3:11pm UTC](https://forum.ansible.com/t/mysql-problem-module/34295 "2020-12-07T15:11:15Z")

</div>

Hello, I would create a playbook for automate mysql database, but i have a problem problem: FAILED! =\> {“ansible\_facts”: {“discovered\_interpreter\_python”: “/usr/bin/python”}, “changed”: false, “msg”: “The PyMySQL (Pyt…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=92)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=94)
