# Ansible Project

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

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

**Page:** 97

---

## [Network os unsupported](https://forum.ansible.com/t/network-os-unsupported/34193)

<div class="topic-metadata">

**Author:** [@Gebrina\_Divva\_Meuthi](https://forum.ansible.com/u/Gebrina_Divva_Meuthi)\
**Replies:** 1\
**Last updated:** [November 13, 2020, 7:58am UTC](https://forum.ansible.com/t/network-os-unsupported/34193 "2020-11-13T07:58:09Z")

</div>

Hai so Im trying to ping mikrotik device by just using hosts file, but instead I got an error: network os routeros is not supported the hosts file: \[&hosts\_route&\] R01 ansible\_host=netsim241.lan.glcnetworks.com ansib…

---

## [hosts syntax?](https://forum.ansible.com/t/hosts-syntax/34189)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 2\
**Last updated:** [November 12, 2020, 5:07pm UTC](https://forum.ansible.com/t/hosts-syntax/34189 "2020-11-12T17:07:36Z")

</div>

Normally in my playbooks I say “hosts: all”. For a new playbook I want to say “hosts: !A,!B”, but that is not a valid syntax. What is the syntax to exclude two hosts (not in a group)? Mike

---

## [Run task based on value in register](https://forum.ansible.com/t/run-task-based-on-value-in-register/34184)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 3\
**Last updated:** [November 12, 2020, 1:54pm UTC](https://forum.ansible.com/t/run-task-based-on-value-in-register/34184 "2020-11-12T13:54:37Z")

</div>

I have created a playbook that should run the following scenario – I’m having a problem with the second tasks Query the source Kafka for a topic list and save the output in register Run topics creation as a loop on…

---

## [Force ansible to ask for username and password when running task on a server](https://forum.ansible.com/t/force-ansible-to-ask-for-username-and-password-when-running-task-on-a-server/34182)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [November 12, 2020, 8:13am UTC](https://forum.ansible.com/t/force-ansible-to-ask-for-username-and-password-when-running-task-on-a-server/34182 "2020-11-12T08:13:24Z")

</div>

My ansible server and playbook are running on a closed environment – So basically everything is been accessed by know ssh-keys and I don’t need to supply any user and password while running the playbooks. I need to crea…

---

## [Looking for suggestions](https://forum.ansible.com/t/looking-for-suggestions/34174)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://forum.ansible.com/u/Manoj_Chander)\
**Replies:** 3\
**Last updated:** [November 12, 2020, 6:15am UTC](https://forum.ansible.com/t/looking-for-suggestions/34174 "2020-11-12T06:15:49Z")

</div>

Hi all , Greetings i am currently learning ansible, I have set up a 4 node cluster and i practiced basics in them . now i am looking to step it up . Is there any material with exercises to practice and gain more knowle…

---

## [2FA/MFA support of AWX/Ansible](https://forum.ansible.com/t/2fa-mfa-support-of-awx-ansible/34161)

<div class="topic-metadata">

**Author:** [@Raj\_Gupta](https://forum.ansible.com/u/Raj_Gupta)\
**Replies:** 6\
**Last updated:** [November 11, 2020, 9:00pm UTC](https://forum.ansible.com/t/2fa-mfa-support-of-awx-ansible/34161 "2020-11-11T21:00:08Z")

</div>

Hi, Does AWX/Ansible supports 2FA/MFA, or is there any alternate solution? Thanks, Raj

---

## [host\_pinned strategy not working as expected?](https://forum.ansible.com/t/host-pinned-strategy-not-working-as-expected/34181)

<div class="topic-metadata">

**Author:** [@cruscio](https://forum.ansible.com/u/cruscio)\
**Replies:** 3\
**Last updated:** [November 11, 2020, 8:31pm UTC](https://forum.ansible.com/t/host-pinned-strategy-not-working-as-expected/34181 "2020-11-11T20:31:20Z")

</div>

I have a playbook with a couple dozen tasks. It runs against 3000 Windows Server targets with 1000 forks and strategy: host\_pinned. It takes about two hours to run to completion when 90% of servers have no changes to be …

---

## [Pass VM name to ansible](https://forum.ansible.com/t/pass-vm-name-to-ansible/34179)

<div class="topic-metadata">

**Author:** [@Eoghan\_O\_Hara](https://forum.ansible.com/u/Eoghan_O_Hara)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 1:19pm UTC](https://forum.ansible.com/t/pass-vm-name-to-ansible/34179 "2020-11-11T13:19:50Z")

</div>

Hi all, I am using Packer with Ansible. What is the best way to pass in the VM name (generated in Packer) to Ansible? I need it for naming directories in a task. See my packer JSON: { “builders”: \[ { “boot\_command”…

---

## [Automatically putting value in bracket \[\]](https://forum.ansible.com/t/automatically-putting-value-in-bracket/34175)

<div class="topic-metadata">

**Author:** [@Pravin\_V](https://forum.ansible.com/u/Pravin_V)\
**Replies:** 5\
**Last updated:** [November 10, 2020, 9:08pm UTC](https://forum.ansible.com/t/automatically-putting-value-in-bracket/34175 "2020-11-10T21:08:02Z")

</div>

Hello Everyone, Below is the output of the task json: resourceIds: 66523 and I’m trying to fetch the resourceIDs into the task like below. RESOURCEID\_LIST={{ resourceID.json.resourceIds }} But the issue is when I…

---

## [POS config management](https://forum.ansible.com/t/pos-config-management/34177)

<div class="topic-metadata">

**Author:** [@Rajvanth11](https://forum.ansible.com/u/Rajvanth11)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 9:04pm UTC](https://forum.ansible.com/t/pos-config-management/34177 "2020-11-10T21:04:30Z")

</div>

Hi All, Please let me know if Ansible can be used for the use case below: We have about 8000 POS registers (ecommerce) that need to be updated with a new release for an Xstore application running on them. Typically all…

---

## [Need suggestion on our setup](https://forum.ansible.com/t/need-suggestion-on-our-setup/34176)

<div class="topic-metadata">

**Author:** [@Sander\_Mol](https://forum.ansible.com/u/Sander_Mol)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 1:30pm UTC](https://forum.ansible.com/t/need-suggestion-on-our-setup/34176 "2020-11-10T13:30:29Z")

</div>

Hi I currently notice some problems without role structure in Ansible and think that we might not have defined a logical separation of responsibility of the roles. Currently, two scenarios do not work smoothly, indicati…

---

## [Variable Management](https://forum.ansible.com/t/variable-management/34173)

<div class="topic-metadata">

**Author:** [@Marco\_Aurelio](https://forum.ansible.com/u/Marco_Aurelio)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 9:05am UTC](https://forum.ansible.com/t/variable-management/34173 "2020-11-10T09:05:47Z")

</div>

Hello everyone! We’re currently preparing to set up our configuration management with Ansible from scratch. We have decided on using dynamic inventory for AWS with the amazon.aws.aws\_ec2 inventory plugin, grouping insta…

---

## [is it possible to set "name" of instance with ec2 module](https://forum.ansible.com/t/is-it-possible-to-set-name-of-instance-with-ec2-module/34172)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 1:11am UTC](https://forum.ansible.com/t/is-it-possible-to-set-name-of-instance-with-ec2-module/34172 "2020-11-10T01:11:58Z")

</div>

Hi, name: Provision instance(s) ec2: key\_name: “{{ key\_name }}” id: “{{ id }}” group\_id: “{{ result\_sec\_group.group\_id }}” image: “{{ image }}” instance\_type: t2.micro region: “{{ region }}” wait: true count: …

---

## [community.aws.iam\_user\_info:](https://forum.ansible.com/t/community-aws-iam-user-info/34168)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 4:01pm UTC](https://forum.ansible.com/t/community-aws-iam-user-info/34168 "2020-11-09T16:01:25Z")

</div>

Hi, How can i do a debug & see all users ? Any suggestions Please ? https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.iam\_user\_info\_module.rst Note: These examples do not set authentica…

---

## [Group\_vars behavior when using directory for inventory and playbooks structured in playbooks folder](https://forum.ansible.com/t/group-vars-behavior-when-using-directory-for-inventory-and-playbooks-structured-in-playbooks-folder/34169)

<div class="topic-metadata">

**Author:** [@Dorin\_RuV](https://forum.ansible.com/u/Dorin_RuV)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 11:15am UTC](https://forum.ansible.com/t/group-vars-behavior-when-using-directory-for-inventory-and-playbooks-structured-in-playbooks-folder/34169 "2020-11-09T11:15:10Z")

</div>

Hi all, I would like to have the following project structure: . ├── group\_vars │ └── all.yml ├── hosts │ └── localhost └── playbooks └── main.yml The problem here is that the group\_vars are not loaded in this co…

---

## [Using formatted PS JSON in play.](https://forum.ansible.com/t/using-formatted-ps-json-in-play/34160)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 12\
**Last updated:** [November 7, 2020, 5:00pm UTC](https://forum.ansible.com/t/using-formatted-ps-json-in-play/34160 "2020-11-07T17:00:52Z")

</div>

So i’m having difficulties and am quite stuck… My goal is to capture details from a UNC paths NTFS ACLS. Important details are below. name: Teach him to fish - Run it win\_shell: | . C:\\Temp\\grp\_enum.ps1 enumerate …

---

## [Ansible task between different group of hosts](https://forum.ansible.com/t/ansible-task-between-different-group-of-hosts/34166)

<div class="topic-metadata">

**Author:** [@Arkaditya\_Verma](https://forum.ansible.com/u/Arkaditya_Verma)\
**Replies:** 0\
**Last updated:** [November 6, 2020, 9:56pm UTC](https://forum.ansible.com/t/ansible-task-between-different-group-of-hosts/34166 "2020-11-06T21:56:32Z")

</div>

Hi guys, I have this specific scenario where we are trying to do replication between cross sites: hosts file: #Site1 \[hosts1\] 11.22.33.11 11.22.33.12 Site2 \[hosts2\] 12.22.33.11 12.22.33.12 \[hosts\_group\] hosts1 …

---

## [copy active directory user](https://forum.ansible.com/t/copy-active-directory-user/34163)

<div class="topic-metadata">

**Author:** [@Nicolas\_Talvasson](https://forum.ansible.com/u/Nicolas_Talvasson)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 3:07pm UTC](https://forum.ansible.com/t/copy-active-directory-user/34163 "2020-11-06T15:07:41Z")

</div>

Hi I found how to create a new user in my Windows active directory with ansible, but we usually copy a, existing in order to add the group needed more easyly Is there a similiare possibility to copy an existing user wi…

---

## [How to provide a \[item1, item2\] list as argument using ini format.](https://forum.ansible.com/t/how-to-provide-a-item1-item2-list-as-argument-using-ini-format/34155)

<div class="topic-metadata">

**Author:** [@AIXTools](https://forum.ansible.com/u/AIXTools)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 5:46pm UTC](https://forum.ansible.com/t/how-to-provide-a-item1-item2-list-as-argument-using-ini-format/34155 "2020-11-05T17:46:21Z")

</div>

In ANSIBLE.CFG, using int format I need to add an argument such as: interpreter\_python\_fallback = \[“/opt/bin/python3.6”, “python3”, “python3.7”, “python3.6”, “python3.5”, “python2.7”, “python2.6”, “python”, “/opt/freewa…

---

## [How to capture module\_args in a variable](https://forum.ansible.com/t/how-to-capture-module-args-in-a-variable/34137)

<div class="topic-metadata">

**Author:** [@Shreya\_Bhardwaj](https://forum.ansible.com/u/Shreya_Bhardwaj)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 5:45pm UTC](https://forum.ansible.com/t/how-to-capture-module-args-in-a-variable/34137 "2020-11-05T17:45:09Z")

</div>

Hello everyone, I wanted to capture the data present in the module\_args. But when I register the output in a variable, I don’t get the invocation{module\_args} part in it. The way we access ansible facts: {ansible fact…

---

## [IP List Contain](https://forum.ansible.com/t/ip-list-contain/34151)

<div class="topic-metadata">

**Author:** [@Jason](https://forum.ansible.com/u/Jason)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 4:35pm UTC](https://forum.ansible.com/t/ip-list-contain/34151 "2020-11-05T16:35:10Z")

</div>

Hopefully someone can assist - this seems like it should be a simple thing. vars: ips: \[1.1.1.1,2.2.2.2\] tasks: -name: Get Tacacs info cisco.ios.ios\_command commands: “show tacacs” register: tacacas -name: Run co…

---

## [Ansible automation for SAP - Issue and Best practices](https://forum.ansible.com/t/ansible-automation-for-sap-issue-and-best-practices/34105)

<div class="topic-metadata">

**Author:** [@Pratheek\_P](https://forum.ansible.com/u/Pratheek_P)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 11:32am UTC](https://forum.ansible.com/t/ansible-automation-for-sap-issue-and-best-practices/34105 "2020-11-05T11:32:14Z")

</div>

Dear Ansible community, I want to try out Ansible automation for SAP where we automate SAP start/stop, Oracle DB start/stop processes. I’m able to achieve this by creating playbooks, using become method to change user a…

---

## [Ansible-2.10.3 released: quick fix for installation issue](https://forum.ansible.com/t/ansible-2-10-3-released-quick-fix-for-installation-issue/34156)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [November 5, 2020, 4:36am UTC](https://forum.ansible.com/t/ansible-2-10-3-released-quick-fix-for-installation-issue/34156 "2020-11-05T04:36:18Z")

</div>

Greetings all, Yesterday's release of Ansible-2.10.2 contained some output from running tests which amounted to a 30% increase in the size of the Ansible tarball. The size ended up doubling the time necessary to ins…

---

## [Ansible converts dictionary to string while it should not.](https://forum.ansible.com/t/ansible-converts-dictionary-to-string-while-it-should-not/34154)

<div class="topic-metadata">

**Author:** [@Niek1](https://forum.ansible.com/u/Niek1)\
**Replies:** 2\
**Last updated:** [November 4, 2020, 2:54pm UTC](https://forum.ansible.com/t/ansible-converts-dictionary-to-string-while-it-should-not/34154 "2020-11-04T14:54:48Z")

</div>

Hi, I’m having trouble with the cisco.mso.mso\_schema module (Doc Page). I can’t get the first example to work and I think I know why, but I don’t know if I can solve it. So let me explain my problem. When I try to add …

---

## [Ansible-2.10.2 has been released](https://forum.ansible.com/t/ansible-2-10-2-has-been-released/34152)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 1\
**Last updated:** [November 4, 2020, 12:45am UTC](https://forum.ansible.com/t/ansible-2-10-2-has-been-released/34152 "2020-11-04T00:45:55Z")

</div>

Hi all- We're happy to announce that the ansible-2.10.2 package is now available! This update contains bugfixes and new, backwards compatible features in the contained collections as well as bringing in ansible-base-…

---

## [who is using ansible for windows](https://forum.ansible.com/t/who-is-using-ansible-for-windows/34150)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 5\
**Last updated:** [November 3, 2020, 11:05pm UTC](https://forum.ansible.com/t/who-is-using-ansible-for-windows/34150 "2020-11-03T23:05:27Z")

</div>

are you using ansible to manage domain joined Windows servers? If so, what authentication protocol are you using, kerberos or ntlm?

---

## [Search and remove string that matches a pattern at beginning of a line](https://forum.ansible.com/t/search-and-remove-string-that-matches-a-pattern-at-beginning-of-a-line/34147)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 3\
**Last updated:** [November 3, 2020, 4:26pm UTC](https://forum.ansible.com/t/search-and-remove-string-that-matches-a-pattern-at-beginning-of-a-line/34147 "2020-11-03T16:26:28Z")

</div>

Hey all, Interesting question here. I want to remove the string noexec out of a line in my /etc/fstab. In this instance, I only want it to be in the /tmp line. I was thinking a replace module, but not sure about a rege…

---

## [what does this mean?](https://forum.ansible.com/t/what-does-this-mean/34101)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 3\
**Last updated:** [November 3, 2020, 4:19pm UTC](https://forum.ansible.com/t/what-does-this-mean/34101 "2020-11-03T16:19:18Z")

</div>

Keep getting this error when running my playbook The full traceback is: Traceback (most recent call last): File “/tmp/ansible\_community.vmware.vmware\_local\_user\_manager\_payload\_jdgh1vij/ansible\_community.vmware.vmware…

---

## [Ansible roles to configure different  multiple wordpress server](https://forum.ansible.com/t/ansible-roles-to-configure-different-multiple-wordpress-server/34107)

<div class="topic-metadata">

**Author:** [@unai\_abrisketa\_sanch](https://forum.ansible.com/u/unai_abrisketa_sanch)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 4:07pm UTC](https://forum.ansible.com/t/ansible-roles-to-configure-different-multiple-wordpress-server/34107 "2020-11-03T16:07:15Z")

</div>

Hi Team! I am having a big doubt while using Ansible to deploy my wordpress servers. I am using the wp-cli utility to install wordpress, so I want to use ansible roles in order to execute each role to each server with …

---

## [Using raw passwords with ansible\_password directly in playbooks deprecated?](https://forum.ansible.com/t/using-raw-passwords-with-ansible-password-directly-in-playbooks-deprecated/34133)

<div class="topic-metadata">

**Author:** [@Matt\_Miller](https://forum.ansible.com/u/Matt_Miller)\
**Replies:** 3\
**Last updated:** [November 3, 2020, 3:48pm UTC](https://forum.ansible.com/t/using-raw-passwords-with-ansible-password-directly-in-playbooks-deprecated/34133 "2020-11-03T15:48:46Z")

</div>

The reasoning behind not revealing username/passwords directly in playbooks is obvious and speaks for itself. However, I am calling playbooks from an application that includes credential security/management, and provide…

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

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