# Archives

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

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

**Page:** 236

---

## [Run multipul powershell commands with ansible vm\_shell](https://forum.ansible.com/t/run-multipul-powershell-commands-with-ansible-vm-shell/31950)

<div class="topic-metadata">

**Author:** [@batchenr](https://forum.ansible.com/u/batchenr)\
**Replies:** 5\
**Last updated:** [January 12, 2020, 9:25pm UTC](https://forum.ansible.com/t/run-multipul-powershell-commands-with-ansible-vm-shell/31950 "2020-01-12T21:25:20Z")

</div>

Im using Ansible 2.9.2, I need to run 3 powershell command one after the other. My playbook : tasks: - name: "User Create" local\_action: module: vmware\_vm\_shell cluster: "{{ cluster }}" …

---

## [module\_defaults not working](https://forum.ansible.com/t/module-defaults-not-working/31949)

<div class="topic-metadata">

**Author:** [@Punit\_Jain](https://forum.ansible.com/u/Punit_Jain)\
**Replies:** 0\
**Last updated:** [January 12, 2020, 1:19pm UTC](https://forum.ansible.com/t/module-defaults-not-working/31949 "2020-01-12T13:19:55Z")

</div>

Hi, I have a playbook which imports custom role and passes required attributes. My requirement is to pass only required attributes and role specify remaining. below is explained in detail. playbook

---

## [Ansible for windows](https://forum.ansible.com/t/ansible-for-windows/31942)

<div class="topic-metadata">

**Author:** [@Arjan\_Goos](https://forum.ansible.com/u/Arjan_Goos)\
**Replies:** 1\
**Last updated:** [January 12, 2020, 11:01am UTC](https://forum.ansible.com/t/ansible-for-windows/31942 "2020-01-12T11:01:25Z")

</div>

Hi, Is it possible to create itemType Junction (symbolic link) . I want something like this: New-Item -ItemType Junction -Path D:\\Program-Files\\website-Name conf -Target D:\\Data\\Website\\conf Groeten, Arjan

---

## [output of list\_vms does not have stdout](https://forum.ansible.com/t/output-of-list-vms-does-not-have-stdout/31948)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 1\
**Last updated:** [January 12, 2020, 6:46am UTC](https://forum.ansible.com/t/output-of-list-vms-does-not-have-stdout/31948 "2020-01-12T06:46:51Z")

</div>

So I have the following tasks name: get running guests virt: command: "list\_vms" register: vms when: test\_kvm |default(False) - name: List running guests debug: msg: "{{ vms }}" when: test\_kvm …

---

## [shell: umask 0022 not working](https://forum.ansible.com/t/shell-umask-0022-not-working/31943)

<div class="topic-metadata">

**Author:** [@Masudur\_Rahman](https://forum.ansible.com/u/Masudur_Rahman)\
**Replies:** 3\
**Last updated:** [January 11, 2020, 7:35am UTC](https://forum.ansible.com/t/shell-umask-0022-not-working/31943 "2020-01-11T07:35:38Z")

</div>

Can anyone help me to set umask 0022. I’m always getting 0027 after executing playbook run. Error: fatal: \[\*\*\*\*\*\*\*\*\]: FAILED! =\> {"changed": true, "cmd": "./installer-binary.run --mode text --disable\_glibcxx\_version\_c…

---

## [equality not consistent](https://forum.ansible.com/t/equality-not-consistent/31752)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 2\
**Last updated:** [January 11, 2020, 6:40am UTC](https://forum.ansible.com/t/equality-not-consistent/31752 "2020-01-11T06:40:56Z")

</div>

I assume I’m making some strange error here, but I cannot figure out what the error is. I have a “changed\_when” clause I’ve constructed that never seems to work. However, if I take out the clause into its own debug stat…

---

## [Credentials for Role(s) download via requirements.yml](https://forum.ansible.com/t/credentials-for-role-s-download-via-requirements-yml/31941)

<div class="topic-metadata">

**Author:** [@Jason\_Biel](https://forum.ansible.com/u/Jason_Biel)\
**Replies:** 1\
**Last updated:** [January 10, 2020, 3:11pm UTC](https://forum.ansible.com/t/credentials-for-role-s-download-via-requirements-yml/31941 "2020-01-10T15:11:11Z")

</div>

I am attempting to use a requirements.yml file within the roles/ directory of a project that installs roles via git repos. The roles/requirements.yml file is formatted as such: bash-4.4# cat roles/requirements.yml src…

---

## [Cant SSH / PING to Network Devices](https://forum.ansible.com/t/cant-ssh-ping-to-network-devices/31860)

<div class="topic-metadata">

**Author:** [@Nirmal\_Gauda](https://forum.ansible.com/u/Nirmal_Gauda)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 1:40pm UTC](https://forum.ansible.com/t/cant-ssh-ping-to-network-devices/31860 "2020-01-10T13:40:00Z")

</div>

I am Newbie to Ansible , writing my first playbook. I can not SSH / PING to network Devices. leaf-1 | UNREACHABLE! =\> { "changed": false, "msg": "Authentication failure.", "unreachable": true } leaf-2 | UNREACHABLE! =\> …

---

## [Job fails intermittently on AWX (Kubernetes)](https://forum.ansible.com/t/job-fails-intermittently-on-awx-kubernetes/31857)

<div class="topic-metadata">

**Author:** [@Vibin](https://forum.ansible.com/u/Vibin)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 9:53am UTC](https://forum.ansible.com/t/job-fails-intermittently-on-awx-kubernetes/31857 "2020-01-10T09:53:42Z")

</div>

Hello All, The jobs ran from AWX is failing intermitently, not much information in the logs either. Hoping someone here would’ve seen it earlier and found a fix for it. Let me tell my AWX setup, Deployed awx (9.0) on…

---

## [Rabbitmq configuration in AWX deployment on K8s Cluster](https://forum.ansible.com/t/rabbitmq-configuration-in-awx-deployment-on-k8s-cluster/31929)

<div class="topic-metadata">

**Author:** [@Vibin](https://forum.ansible.com/u/Vibin)\
**Replies:** 3\
**Last updated:** [January 10, 2020, 9:51am UTC](https://forum.ansible.com/t/rabbitmq-configuration-in-awx-deployment-on-k8s-cluster/31929 "2020-01-10T09:51:12Z")

</div>

Hello Team, Looking for some solutions/clarity on the rabbitmq configuration of AWX deployed on Kubernetes cluster. With the default rabbitmq configuration, the rabbitmq container fails to deploy. But if I comment out …

---

## [Dynamic inventory for Ansible Controller on Google Cloud and nodes on AWS.](https://forum.ansible.com/t/dynamic-inventory-for-ansible-controller-on-google-cloud-and-nodes-on-aws/31945)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 8:34pm UTC](https://forum.ansible.com/t/dynamic-inventory-for-ansible-controller-on-google-cloud-and-nodes-on-aws/31945 "2020-01-09T20:34:40Z")

</div>

This should work https://docs.ansible.com/ansible/latest/plugins/inventory/aws\_ec2.html , but im not sure what your issue is.

---

## [ERROR! Unexpected Exception, this is probably a bug: 'module' object has no attribute 'packages'](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-object-has-no-attribute-packages/31901)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 8:30pm UTC](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-object-has-no-attribute-packages/31901 "2020-01-09T20:30:07Z")

</div>

Hello ansible temp -a uptime -vvv ansible 2.9.1 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python module…

---

## [remote\_src on template](https://forum.ansible.com/t/remote-src-on-template/31911)

<div class="topic-metadata">

**Author:** [@BAUMERT\_Yoann](https://forum.ansible.com/u/BAUMERT_Yoann)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 8:25pm UTC](https://forum.ansible.com/t/remote-src-on-template/31911 "2020-01-09T20:25:34Z")

</div>

Hello guys, I’m working with Ansible in my company, and I’ve a little issue with the template module: I need to have my package on the master and the target to perform a templating. Is it possible to create a kind of “…

---

## [Doc for plugin development](https://forum.ansible.com/t/doc-for-plugin-development/31933)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 5:33pm UTC](https://forum.ansible.com/t/doc-for-plugin-development/31933 "2020-01-09T17:33:42Z")

</div>

Hi All, Is there any document to write own callback plugin. For example: in the below, what parameters result contains. Similarly variable\_manager = play.get\_variable\_manager() def v2\_runner\_on\_ok(self, result): Thank…

---

## [Send / Receive now in ansible-tower-cli on PyPI](https://forum.ansible.com/t/send-receive-now-in-ansible-tower-cli-on-pypi/27376)

<div class="topic-metadata">

**Author:** [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Replies:** 21\
**Last updated:** [January 9, 2020, 2:17pm UTC](https://forum.ansible.com/t/send-receive-now-in-ansible-tower-cli-on-pypi/27376 "2020-01-09T14:17:39Z")

</div>

We have released tower-cli / awx-cli to PyPI. pip install ansible-tower-cli==3.3.0 See the help text for the commands related to the new send / receive feature that has been discussed on this mailing list before: towe…

---

## [Do we have any experienced Ansible Tower techs on here?  Using Variables with tags in tower](https://forum.ansible.com/t/do-we-have-any-experienced-ansible-tower-techs-on-here-using-variables-with-tags-in-tower/31938)

<div class="topic-metadata">

**Author:** [@Jeff\_Knights](https://forum.ansible.com/u/Jeff_Knights)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 11:28am UTC](https://forum.ansible.com/t/do-we-have-any-experienced-ansible-tower-techs-on-here-using-variables-with-tags-in-tower/31938 "2020-01-09T11:28:15Z")

</div>

I have a workflow template that includes a playbook template with tags and the question is asked at the beginning of the workflow which jobs do you want to run? and it presents 10 items to choose from. it loads the varia…

---

## [Ansible Playbook to install software on desired location](https://forum.ansible.com/t/ansible-playbook-to-install-software-on-desired-location/31939)

<div class="topic-metadata">

**Author:** [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 10:14am UTC](https://forum.ansible.com/t/ansible-playbook-to-install-software-on-desired-location/31939 "2020-01-09T10:14:02Z")

</div>

Hi, What parameter should we use to install .exe on desired location. Means in root of C drive not in Program Files regards, Rahul

---

## [Upgrading Ansible Tower to 3.6](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-6/31920)

<div class="topic-metadata">

**Author:** [@gineesh](https://forum.ansible.com/u/gineesh)\
**Replies:** 4\
**Last updated:** [January 9, 2020, 9:53am UTC](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-6/31920 "2020-01-09T09:53:42Z")

</div>

\#ansibletower upgrade Anyone got a proper instruction set to upgrade Ansible Tower 3.4 to 3.6 ? (Ansible 2.5, Database - postgres 9.6) thanks

---

## [Error durong setup of awx](https://forum.ansible.com/t/error-durong-setup-of-awx/31422)

<div class="topic-metadata">

**Author:** [@Revanth\_Mallikarjun](https://forum.ansible.com/u/Revanth_Mallikarjun)\
**Replies:** 8\
**Last updated:** [January 9, 2020, 8:31am UTC](https://forum.ansible.com/t/error-durong-setup-of-awx/31422 "2020-01-09T08:31:16Z")

</div>

Hi Folks, I have installed ansible-awx using the github repo and followed the instructions. I’m trying to install on a machine as docker containers. Below is the error i can see in awx\_web container, docker logs -f aw…

---

## [Update releases.ansible.com Repository](https://forum.ansible.com/t/update-releases-ansible-com-repository/31940)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 8:12am UTC](https://forum.ansible.com/t/update-releases-ansible-com-repository/31940 "2020-01-09T08:12:28Z")

</div>

Hi, Please update the repository https://releases.ansible.com/ansible/rpm/release/ with recent epel and fedora rpms/srpms. thanks

---

## [Why doesn't this task to check when a server has booted work?](https://forum.ansible.com/t/why-doesnt-this-task-to-check-when-a-server-has-booted-work/31928)

<div class="topic-metadata">

**Author:** [@RobertF](https://forum.ansible.com/u/RobertF)\
**Replies:** 2\
**Last updated:** [January 9, 2020, 12:10am UTC](https://forum.ansible.com/t/why-doesnt-this-task-to-check-when-a-server-has-booted-work/31928 "2020-01-09T00:10:17Z")

</div>

I have an Ansible playbook for creating Linode servers. The problem I’m having is that my playbook isn’t able to determine when the new server is up. I’m using Ansible 2.8.4. My playbook is as follows:

---

## [How to use a Custom Credential to access a Source Repo?](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 3\
**Last updated:** [January 8, 2020, 10:36pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936 "2020-01-08T22:36:51Z")

</div>

I’m using GCP, which requires me to use a keyfile of theirs rather than an ssh key . . . I have created a custom credential but when I create a project I can’t use that custom credential since it’s not a Source Control c…

---

## [How do I use Ansible loop for generalizing things in a role](https://forum.ansible.com/t/how-do-i-use-ansible-loop-for-generalizing-things-in-a-role/31934)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 9:34pm UTC](https://forum.ansible.com/t/how-do-i-use-ansible-loop-for-generalizing-things-in-a-role/31934 "2020-01-08T21:34:43Z")

</div>

Hello, I’m creating a Ansible role to place a set of scripts to managed hosts so that they can start by cron in a defined schedule. Since it is a set of scripts, I want to generalize the play execution sequence to use a…

---

## [AWX Project Credentials + GCP Keyfile?](https://forum.ansible.com/t/awx-project-credentials-gcp-keyfile/31935)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 0\
**Last updated:** [January 8, 2020, 6:38pm UTC](https://forum.ansible.com/t/awx-project-credentials-gcp-keyfile/31935 "2020-01-08T18:38:02Z")

</div>

Does anyone know how to get AWX going in GCP, specifically using a Service Account keyfile to access Google Cloud Source?

---

## [awx-cli](https://forum.ansible.com/t/awx-cli/31932)

<div class="topic-metadata">

**Author:** [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Replies:** 3\
**Last updated:** [January 8, 2020, 5:05pm UTC](https://forum.ansible.com/t/awx-cli/31932 "2020-01-08T17:05:29Z")

</div>

The send and receive functionality can not backup/restore credentials. The credentials, unencrypted, are never exposed via the API.

---

## [unicode errors and inconsistency.](https://forum.ansible.com/t/unicode-errors-and-inconsistency/31888)

<div class="topic-metadata">

**Author:** [@queglay](https://forum.ansible.com/u/queglay)\
**Replies:** 2\
**Last updated:** [January 8, 2020, 11:07am UTC](https://forum.ansible.com/t/unicode-errors-and-inconsistency/31888 "2020-01-08T11:07:43Z")

</div>

I get errors when passing some passwords into a shell command and I’d love some pointers on the best way out. The strange thing is, the ansible script works fine on centos 7 in AWS, but not on RHEL 7 on my local machine,…

---

## [Changing variable value based on another variable value](https://forum.ansible.com/t/changing-variable-value-based-on-another-variable-value/31923)

<div class="topic-metadata">

**Author:** [@Yehuda\_Pinhas](https://forum.ansible.com/u/Yehuda_Pinhas)\
**Replies:** 2\
**Last updated:** [January 8, 2020, 7:48am UTC](https://forum.ansible.com/t/changing-variable-value-based-on-another-variable-value/31923 "2020-01-08T07:48:09Z")

</div>

Hi guys! This is my code:

---

## [AWX Ansible Version Upgrade to 2.9.x](https://forum.ansible.com/t/awx-ansible-version-upgrade-to-2-9-x/31916)

<div class="topic-metadata">

**Author:** [@Garrett\_Kelly](https://forum.ansible.com/u/Garrett_Kelly)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 10:12pm UTC](https://forum.ansible.com/t/awx-ansible-version-upgrade-to-2-9-x/31916 "2020-01-07T22:12:59Z")

</div>

Hey all, We are hoping to use the vmware\_guest\_network module via AWX, and noticed the dependency for Ansible version 2.9. From what I see, Ansible 2.8.5 is the latest Ansible paired with AWX 9.1? Any idea when we mig…

---

## [I can't download ansible](https://forum.ansible.com/t/i-cant-download-ansible/31926)

<div class="topic-metadata">

**Author:** [@sentyrion](https://forum.ansible.com/u/sentyrion)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 9:25pm UTC](https://forum.ansible.com/t/i-cant-download-ansible/31926 "2020-01-07T21:25:42Z")

</div>

Hello ansible community, I call for your help because I would like to download ansible on linux but I am stuck in the description sheet because I have no business(Company), I work alone. Can someone help me

---

## [ansible\_hosts issue with 2.9.2](https://forum.ansible.com/t/ansible-hosts-issue-with-2-9-2/31925)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 7:58pm UTC](https://forum.ansible.com/t/ansible-hosts-issue-with-2-9-2/31925 "2020-01-07T19:58:33Z")

</div>

Hello, I recently have installed ansible 2.9.2 from pip3 on CentOS 8. Prior to that I was on whatever came from EPEL. Right now I am having an issue no matter what playbook I run. This is my output on just about any pl…

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

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