# Archives

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

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

**Page:** 160

---

## [variable passing in win\_shell module with powershell command](https://forum.ansible.com/t/variable-passing-in-win-shell-module-with-powershell-command/34178)

<div class="topic-metadata">

**Author:** [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Replies:** 2\
**Last updated:** [November 11, 2020, 8:33pm UTC](https://forum.ansible.com/t/variable-passing-in-win-shell-module-with-powershell-command/34178 "2020-11-11T20:33:38Z")

</div>

Hi All, I am using win\_shell module in playbook to execute a PowerShell script. while execution of script it will prompt and ask for a domain and username below is the synatx i am using need help on the variable part …

---

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

---

## [AWX is not allowing the passphrase to be used in ssh key](https://forum.ansible.com/t/awx-is-not-allowing-the-passphrase-to-be-used-in-ssh-key/34180)

<div class="topic-metadata">

**Author:** [@Abhinit\_Mallick](https://forum.ansible.com/u/Abhinit_Mallick)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 4:03pm UTC](https://forum.ansible.com/t/awx-is-not-allowing-the-passphrase-to-be-used-in-ssh-key/34180 "2020-11-11T16:03:45Z")

</div>

I am using the latest version of AWX and yet everytime I am trying to setup the ssh key I am getting an error I can confirm that the ssh key and passphrase is a valid one but it still keeps throwing the same error of " …

---

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

---

## [Dynamic inventory with "static" groups?](https://forum.ansible.com/t/dynamic-inventory-with-static-groups/34171)

<div class="topic-metadata">

**Author:** [@Pavel\_Dimow](https://forum.ansible.com/u/Pavel_Dimow)\
**Replies:** 0\
**Last updated:** [November 9, 2020, 8:47pm UTC](https://forum.ansible.com/t/dynamic-inventory-with-static-groups/34171 "2020-11-09T20:47:19Z")

</div>

Hi, I am using AWX 10.0.0 with dynamic inventory (python script). Is it possible that AWX ‘remembers’ the group to which host belongs when host goes offline and comes back online few hours later? To illustrate what I thi…

---

## [AWX Development Environment Setup](https://forum.ansible.com/t/awx-development-environment-setup/34162)

<div class="topic-metadata">

**Author:** [@Prem\_Kumar](https://forum.ansible.com/u/Prem_Kumar)\
**Replies:** 4\
**Last updated:** [November 9, 2020, 5:56pm UTC](https://forum.ansible.com/t/awx-development-environment-setup/34162 "2020-11-09T17:56:15Z")

</div>

Hi Team, I’m a newbie in the group. First, Sorry if it’s not the right place to post this content. Please guide me to the right place. We are trying to build some customization in Ansible AWX. Hence, trying to setup An…

---

## [Backup Vault Credentials](https://forum.ansible.com/t/backup-vault-credentials/34170)

<div class="topic-metadata">

**Author:** [@David\_McWilliams](https://forum.ansible.com/u/David_McWilliams)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 5:44pm UTC](https://forum.ansible.com/t/backup-vault-credentials/34170 "2020-11-09T17:44:44Z")

</div>

Hi all, I’m brand new to the group and also new to AWX as a whole. We have been looking at various ways of backing up & restoring/ duplicating our environment and I’m struggling to find how to do this with credentials s…

---

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

---

## [Custom module: Using Display() to print messages (ideally in real time) over a local connection](https://forum.ansible.com/t/custom-module-using-display-to-print-messages-ideally-in-real-time-over-a-local-connection/20957)

<div class="topic-metadata">

**Author:** [@Florin\_Lipan](https://forum.ansible.com/u/Florin_Lipan)\
**Replies:** 3\
**Last updated:** [November 9, 2020, 9:04am UTC](https://forum.ansible.com/t/custom-module-using-display-to-print-messages-ideally-in-real-time-over-a-local-connection/20957 "2020-11-09T09:04:26Z")

</div>

I’m running a set of custom Ansible modules which are ment for local connections only. I was trying to use Display() to print out some custom output - ideally in real time. I’m using Ansible 2.0.1.0 on Ubuntu 14.04. Th…

---

## [To setup 2 AWX nodes to accepts requests via LTM & both pointing to back end PostgreSQL server](https://forum.ansible.com/t/to-setup-2-awx-nodes-to-accepts-requests-via-ltm-both-pointing-to-back-end-postgresql-server/34167)

<div class="topic-metadata">

**Author:** [@Vinod\_P](https://forum.ansible.com/u/Vinod_P)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 4:02am UTC](https://forum.ansible.com/t/to-setup-2-awx-nodes-to-accepts-requests-via-ltm-both-pointing-to-back-end-postgresql-server/34167 "2020-11-09T04:02:22Z")

</div>

Hello All, Need some help, Recently i installed and configured ‘Ansible-AWX’ on RHEL 7 using docker-compose and it is working as expected. Here are the versions & containers currently running on the server, AWX 15.0.…

---

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

---

## [Error on installing AWX's Postgres node](https://forum.ansible.com/t/error-on-installing-awxs-postgres-node/34165)

<div class="topic-metadata">

**Author:** [@cscal](https://forum.ansible.com/u/cscal)\
**Replies:** 0\
**Last updated:** [November 6, 2020, 9:15pm UTC](https://forum.ansible.com/t/error-on-installing-awxs-postgres-node/34165 "2020-11-06T21:15:14Z")

</div>

Hello! I’m testing an installation of AWX to a multi-node cluster with an external database, and when it gets to the “Start the containers” task, I get this error for the Postgres node: The full traceback is: File “/t…

---

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

---

## [Jobs not refreshing - websocket 404 error](https://forum.ansible.com/t/jobs-not-refreshing-websocket-404-error/34141)

<div class="topic-metadata">

**Author:** [@Marko\_Skender](https://forum.ansible.com/u/Marko_Skender)\
**Replies:** 4\
**Last updated:** [November 6, 2020, 12:37pm UTC](https://forum.ansible.com/t/jobs-not-refreshing-websocket-404-error/34141 "2020-11-06T12:37:14Z")

</div>

Hi, I was redirected here from the AWX Git issue reporter concerning the 404 error I get for /websockets URL: https://github.com/ansible/awx/issues/8498 Basically, I get 404/not found: 2020-11-02 14:21:13,961 WARNING…

---

## [Can't run development environment, getting errors in ui-devel. Pls help ...](https://forum.ansible.com/t/cant-run-development-environment-getting-errors-in-ui-devel-pls-help/34164)

<div class="topic-metadata">

**Author:** [@Prem\_Kumar](https://forum.ansible.com/u/Prem_Kumar)\
**Replies:** 0\
**Last updated:** [November 6, 2020, 12:12pm UTC](https://forum.ansible.com/t/cant-run-development-environment-getting-errors-in-ui-devel-pls-help/34164 "2020-11-06T12:12:20Z")

</div>

Hi, I followed the contributing guide to setup the dev environment. After building the container using (make docker-compose-build) provides a successful image of the following: Successfully tagged ansible/awx\_devel:lat…

---

## [Creating Surveys via CLI does not work](https://forum.ansible.com/t/creating-surveys-via-cli-does-not-work/34114)

<div class="topic-metadata">

**Author:** [@Annemike100](https://forum.ansible.com/u/Annemike100)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 11:31am UTC](https://forum.ansible.com/t/creating-surveys-via-cli-does-not-work/34114 "2020-11-06T11:31:30Z")

</div>

Hello togather, My goal is to create/import organizations, users, inventories, projects and job templates with surveys via the CLI.Everything is working fine except creating a survey. The exmple survey question I want …

---

## [AWX and AWS\_SSM](https://forum.ansible.com/t/awx-and-aws-ssm/34136)

<div class="topic-metadata">

**Author:** [@Siddhartha\_Pillutla](https://forum.ansible.com/u/Siddhartha_Pillutla)\
**Replies:** 3\
**Last updated:** [November 6, 2020, 7:45am UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136 "2020-11-06T07:45:59Z")

</div>

Hi, I am trying to integrate the aws\_ssm plugin with AWX (15.0.1) that runs on Docker. The ansible version is 2.9.14. While this works great under ansible on the command line and even Ansible Tower, it fails with the e…

---

## [Microsoft SQL Server Module mssql\_db Not Working to create a Database.](https://forum.ansible.com/t/microsoft-sql-server-module-mssql-db-not-working-to-create-a-database/34158)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 6:09pm UTC](https://forum.ansible.com/t/microsoft-sql-server-module-mssql-db-not-working-to-create-a-database/34158 "2020-11-05T18:09:57Z")

</div>

ISSUE TYPE Feature Idea COMPONENT NAME- API SUMMARY When I am using the SQL Server Module mssql\_db to create a new database on the microsoft SQL Server I am getting the below error. Microsoft SQL Server is on window…

---

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

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

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