# Archives

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

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

**Page:** 450

---

## [distributed task instances](https://forum.ansible.com/t/distributed-task-instances/25623)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 3:15pm UTC](https://forum.ansible.com/t/distributed-task-instances/25623 "2017-09-28T15:15:46Z")

</div>

Is it possible to install AWX with a central web container, but multiple task containers to distribute the workloads? Use Case: I have a global network and would prefer for ansible to run locally at each site, but want …

---

## [help with variables](https://forum.ansible.com/t/help-with-variables/25619)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 2\
**Last updated:** [September 28, 2017, 2:39pm UTC](https://forum.ansible.com/t/help-with-variables/25619 "2017-09-28T14:39:10Z")

</div>

Can I get your help in diagnosing why this is not working, I am getting the error on task #3 Here are the three tasks; I am wantng to key off of “stdout”: “0”, name: Check if Redis Resources already exists shell: “pcs…

---

## [Special kind of become](https://forum.ansible.com/t/special-kind-of-become/25622)

<div class="topic-metadata">

**Author:** [@Preben\_Asmussen](https://forum.ansible.com/u/Preben_Asmussen)\
**Replies:** 2\
**Last updated:** [September 28, 2017, 11:55am UTC](https://forum.ansible.com/t/special-kind-of-become/25622 "2017-09-28T11:55:02Z")

</div>

Hi I have started using Ansible resently and have a small problem. I have to ssh in as {someuser} and become {jvm} user to execute copy and http get task My sites file looks like

---

## [Ansible 2.4.1 beta1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-1-beta1-is-ready-for-testing/25620)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 28, 2017, 6:40am UTC](https://forum.ansible.com/t/ansible-2-4-1-beta1-is-ready-for-testing/25620 "2017-09-28T06:40:33Z")

</div>

Hi all, we're happy to announce that Beta 1 for 2.4.1 is now available for testing. How do you get it?

---

## [Problem with conditionals restricting certain tasks](https://forum.ansible.com/t/problem-with-conditionals-restricting-certain-tasks/25615)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 4\
**Last updated:** [September 27, 2017, 8:02pm UTC](https://forum.ansible.com/t/problem-with-conditionals-restricting-certain-tasks/25615 "2017-09-27T20:02:44Z")

</div>

Hi, Just had one more question. Is there a way to stop an Ansible playbook or set of lines from executing if a variable matches a specific text? I saw the Ansible conditionals documentation, however it doesn’t provide g…

---

## [issue with ansible](https://forum.ansible.com/t/issue-with-ansible/25594)

<div class="topic-metadata">

**Author:** [@user56](https://forum.ansible.com/u/user56)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 6:55pm UTC](https://forum.ansible.com/t/issue-with-ansible/25594 "2017-09-27T18:55:52Z")

</div>

Hey guys i’m just configuring my ansible and actually all is ok but whhen i write to file /hosts , information about my server testserver ansible\_host=refresh ansible\_user=sshacc ansible\_private\_key\_file=/home/sshacc/…

---

## [Displaying Return Values](https://forum.ansible.com/t/displaying-return-values/25604)

<div class="topic-metadata">

**Author:** [@C\_Bax](https://forum.ansible.com/u/C_Bax)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 6:53pm UTC](https://forum.ansible.com/t/displaying-return-values/25604 "2017-09-27T18:53:36Z")

</div>

hello all, i am having issues with getting return values from a module, honestly Im just unclear on how to call them this is my code but when i execute the commands push but i get variable undefined from the debug http…

---

## [Passing nodenames as an argument in a command](https://forum.ansible.com/t/passing-nodenames-as-an-argument-in-a-command/25614)

<div class="topic-metadata">

**Author:** [@Parth\_Patel1](https://forum.ansible.com/u/Parth_Patel1)\
**Replies:** 2\
**Last updated:** [September 27, 2017, 5:55pm UTC](https://forum.ansible.com/t/passing-nodenames-as-an-argument-in-a-command/25614 "2017-09-27T17:55:23Z")

</div>

I am new to ansible. This is what I am trying to run, on poc1 run, client -a 8101 -h localhost ‘fabric:ensemble-add -f poc2 poc3’ I want to run above command on “poc1” node passing arguments as “poc2” and “poc3”. How …

---

## [Announcing official AWX Install Images](https://forum.ansible.com/t/announcing-official-awx-install-images/25610)

<div class="topic-metadata">

**Author:** [@matburt](https://forum.ansible.com/u/matburt)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 4:46pm UTC](https://forum.ansible.com/t/announcing-official-awx-install-images/25610 "2017-09-27T16:46:49Z")

</div>

Greetings! Yesterday I merged the following commit which adds support for installing from official AWX images https://github.com/ansible/awx/pull/294 These are hosted on our ansible/ DockerHub account and make it craz…

---

## [NameError: global name 'VirtualMachineSizeTypes' is not defined](https://forum.ansible.com/t/nameerror-global-name-virtualmachinesizetypes-is-not-defined/25611)

<div class="topic-metadata">

**Author:** [@Krish\_Puvi1](https://forum.ansible.com/u/Krish_Puvi1)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 2:10pm UTC](https://forum.ansible.com/t/nameerror-global-name-virtualmachinesizetypes-is-not-defined/25611 "2017-09-27T14:10:08Z")

</div>

Hi, I’am trying to run a playbook from a Rhel server in AWS to deploy a Rhel instance in Azure. But, I’m getting the following error, The full traceback is: Traceback (most recent call last): File “/tmp/ansible\_aD\_HJ…

---

## [Pass conditional value to environment variable based on host in Ansible playbook](https://forum.ansible.com/t/pass-conditional-value-to-environment-variable-based-on-host-in-ansible-playbook/25609)

<div class="topic-metadata">

**Author:** [@Parth\_Gandhi](https://forum.ansible.com/u/Parth_Gandhi)\
**Replies:** 2\
**Last updated:** [September 27, 2017, 11:34am UTC](https://forum.ansible.com/t/pass-conditional-value-to-environment-variable-based-on-host-in-ansible-playbook/25609 "2017-09-27T11:34:38Z")

</div>

Hi, I need to pass conditional value based on the host in the same group to environment variable in playbook. IS there a way to do it? Here is the use case. I have a host file with a group having 2 servers hosts: \[ra…

---

## [need to install ansible on my solaris 11,can any1 suggest me plz](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608)

<div class="topic-metadata">

**Author:** [@adnnan2024](https://forum.ansible.com/u/adnnan2024)\
**Replies:** 5\
**Last updated:** [September 27, 2017, 11:01am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608 "2017-09-27T11:01:23Z")

</div>

need to install ansible on my solaris 11,can any1 suggest me plz

---

## [run playbook over all of the hosts in the environment but limit execution by one host per environemnt children subgroup](https://forum.ansible.com/t/run-playbook-over-all-of-the-hosts-in-the-environment-but-limit-execution-by-one-host-per-environemnt-children-subgroup/25607)

<div class="topic-metadata">

**Author:** [@Andriy\_Tovstik](https://forum.ansible.com/u/Andriy_Tovstik)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 8:28am UTC](https://forum.ansible.com/t/run-playbook-over-all-of-the-hosts-in-the-environment-but-limit-execution-by-one-host-per-environemnt-children-subgroup/25607 "2017-09-27T08:28:16Z")

</div>

Hi, all! I want to do something strange. I have the next inventory in my test env: \` \[module1\_group\] module1-1.host.name module1-2.host.name module1-3.host.name module1-4.host.name \[module2\_group\] module2-1.host…

---

## [Setup module filter question](https://forum.ansible.com/t/setup-module-filter-question/25601)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 3\
**Last updated:** [September 27, 2017, 6:29am UTC](https://forum.ansible.com/t/setup-module-filter-question/25601 "2017-09-27T06:29:17Z")

</div>

Hello, everyone. I’m trying to get ipv4 facts returned via the command line, so I run “ansible myhost -m setup -a filter=”" ". . If I run ansible myhost -m setup -a filter=“ansible\_eth\*”, I get: myhost | SUCCESS =\> { …

---

## [Unable to generate a random password for a user account in Ansible playbook](https://forum.ansible.com/t/unable-to-generate-a-random-password-for-a-user-account-in-ansible-playbook/25606)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 6:21am UTC](https://forum.ansible.com/t/unable-to-generate-a-random-password-for-a-user-account-in-ansible-playbook/25606 "2017-09-27T06:21:44Z")

</div>

Yes, check out lookup pipe. There is also a lookup password that you might be able to use.

---

## [How can Create UserAdmin user using LADP Mapping on Ansible Tower](https://forum.ansible.com/t/how-can-create-useradmin-user-using-ladp-mapping-on-ansible-tower/25605)

<div class="topic-metadata">

**Author:** [@Nuwan\_Vithanage](https://forum.ansible.com/u/Nuwan_Vithanage)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 5:39am UTC](https://forum.ansible.com/t/how-can-create-useradmin-user-using-ladp-mapping-on-ansible-tower/25605 "2017-09-27T05:39:47Z")

</div>

Hi All, I manage to create Admin account using LDAP mapping successfully with below { “Default”: { “admins”: “CN=Ansible Admins,OU=Admins Groups,OU=Support Accounts,DC=peaktrav,DC=com”, “remove\_users”: true, “remov…

---

## [ping is not working with ansible in max os](https://forum.ansible.com/t/ping-is-not-working-with-ansible-in-max-os/25579)

<div class="topic-metadata">

**Author:** [@ahmali2377](https://forum.ansible.com/u/ahmali2377)\
**Replies:** 4\
**Last updated:** [September 27, 2017, 5:32am UTC](https://forum.ansible.com/t/ping-is-not-working-with-ansible-in-max-os/25579 "2017-09-27T05:32:34Z")

</div>

Hi, I have mac OS and already installed ansible, this is my first time to try it. I started it by using a simple ping to the local host, but it is not working please check below the output AHMALI-M-K035:~ ahmali$ ansib…

---

## [Ansible can not run apps with GUI! Is it ok?](https://forum.ansible.com/t/ansible-can-not-run-apps-with-gui-is-it-ok/25593)

<div class="topic-metadata">

**Author:** [@user65](https://forum.ansible.com/u/user65)\
**Replies:** 6\
**Last updated:** [September 26, 2017, 8:36pm UTC](https://forum.ansible.com/t/ansible-can-not-run-apps-with-gui-is-it-ok/25593 "2017-09-26T20:36:23Z")

</div>

Hello. I have faced with an issue that after provisioning of vagrant vm with installed docker there and HA proxy i can not start this vagrant VM from ansible playbook (last step). Vagrant file is ok with proper paramet…

---

## [Is there any way to change the awx\_secret\_key once deployed??](https://forum.ansible.com/t/is-there-any-way-to-change-the-awx-secret-key-once-deployed/25602)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Replies:** 1\
**Last updated:** [September 26, 2017, 5:37pm UTC](https://forum.ansible.com/t/is-there-any-way-to-change-the-awx-secret-key-once-deployed/25602 "2017-09-26T17:37:50Z")

</div>

Hi again :)… Another issue… When trying to update to tip, my setup was totally broken, because I think, I was using the default awx\_secret\_key, given that it was ignored by the time I built my containers. Is there any…

---

## [Job template survey is only accessible by system administrators...](https://forum.ansible.com/t/job-template-survey-is-only-accessible-by-system-administrators/25591)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Replies:** 2\
**Last updated:** [September 26, 2017, 5:16pm UTC](https://forum.ansible.com/t/job-template-survey-is-only-accessible-by-system-administrators/25591 "2017-09-26T17:16:18Z")

</div>

Hi AWX Project team. I found an issue when sharing a Job template with a normal user. The job survey is unaccessible for that particular user if it’s not a system administrator. The error is a 500 INTERNAL SERVER ERROR …

---

## [Delpoying windows application from jenkins running on windows](https://forum.ansible.com/t/delpoying-windows-application-from-jenkins-running-on-windows/25589)

<div class="topic-metadata">

**Author:** [@schh](https://forum.ansible.com/u/schh)\
**Replies:** 2\
**Last updated:** [September 26, 2017, 3:08pm UTC](https://forum.ansible.com/t/delpoying-windows-application-from-jenkins-running-on-windows/25589 "2017-09-26T15:08:38Z")

</div>

Hi, Were running jenkins on windows, and id like to deploy using ansible. Since the ansible control needs linux im wondering if i can run playbooks remotely from jenkins. Thanks

---

## [Check Config File](https://forum.ansible.com/t/check-config-file/25599)

<div class="topic-metadata">

**Author:** [@samuel.melin](https://forum.ansible.com/u/samuel.melin)\
**Replies:** 1\
**Last updated:** [September 26, 2017, 2:49pm UTC](https://forum.ansible.com/t/check-config-file/25599 "2017-09-26T14:49:14Z")

</div>

Hi all I’m newbie on Ansible and i need to check some parameters in a config file. For example i need to check if the remote\_user is “user” in ansible.cfg How i can symply do that with a playbook ? Thx in advance, S…

---

## [recommended tools to deploy a test infrastructure for ansible?](https://forum.ansible.com/t/recommended-tools-to-deploy-a-test-infrastructure-for-ansible/25600)

<div class="topic-metadata">

**Author:** [@Pablo\_Escobar](https://forum.ansible.com/u/Pablo_Escobar)\
**Replies:** 0\
**Last updated:** [September 26, 2017, 2:38pm UTC](https://forum.ansible.com/t/recommended-tools-to-deploy-a-test-infrastructure-for-ansible/25600 "2017-09-26T14:38:31Z")

</div>

Hi, We are evaluating how to deploy a test infrastructure for our ansible playbooks and roles, ideally integrated with our internal Gitlab instance. Does anyone in the list has any advice based in your experience? I am…

---

## [Call custom action plugin from custom action plugin?](https://forum.ansible.com/t/call-custom-action-plugin-from-custom-action-plugin/25592)

<div class="topic-metadata">

**Author:** [@Dustin\_Spicuzza](https://forum.ansible.com/u/Dustin_Spicuzza)\
**Replies:** 0\
**Last updated:** [September 26, 2017, 12:10am UTC](https://forum.ansible.com/t/call-custom-action-plugin-from-custom-action-plugin/25592 "2017-09-26T00:10:50Z")

</div>

I have two action modules (found via setting the environment variable ANSIBLE\_ACTION\_PLUGINS to the directory they live in). a.py wants to use the functionality exposed by b.py to do a thing – both execute on the master …

---

## ["Group a does not exist" when adding groups to an existing user](https://forum.ansible.com/t/group-a-does-not-exist-when-adding-groups-to-an-existing-user/25575)

<div class="topic-metadata">

**Author:** [@LeamHall](https://forum.ansible.com/u/LeamHall)\
**Replies:** 3\
**Last updated:** [September 25, 2017, 5:18pm UTC](https://forum.ansible.com/t/group-a-does-not-exist-when-adding-groups-to-an-existing-user/25575 "2017-09-25T17:18:29Z")

</div>

I’m trying to add the long list of groups to the oracle user and getting “Group a does not exist.” as a failure msg. Not trying to add an “a” group, and the groups I am adding exist on the host. Is there a way to get mor…

---

## [OS-Hardening](https://forum.ansible.com/t/os-hardening/25587)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 1\
**Last updated:** [September 25, 2017, 4:45pm UTC](https://forum.ansible.com/t/os-hardening/25587 "2017-09-25T16:45:59Z")

</div>

Hi All, I have one OS-Hardening requirement, in that we have several steps for taking backup from the remote host, so based on that I have coupld of questions these are as follows, I want to take input from User while…

---

## [Issue with 'when' conditional](https://forum.ansible.com/t/issue-with-when-conditional/25580)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 3\
**Last updated:** [September 25, 2017, 4:34pm UTC](https://forum.ansible.com/t/issue-with-when-conditional/25580 "2017-09-25T16:34:36Z")

</div>

Hi, I keep getting errors related to my ‘when’ conditionals in my following playbook:

---

## [question about 'when' conditional](https://forum.ansible.com/t/question-about-when-conditional/25590)

<div class="topic-metadata">

**Author:** [@Christian\_Iuga](https://forum.ansible.com/u/Christian_Iuga)\
**Replies:** 1\
**Last updated:** [September 25, 2017, 2:36pm UTC](https://forum.ansible.com/t/question-about-when-conditional/25590 "2017-09-25T14:36:21Z")

</div>

Hi, It’s look like i don’t understand perfectly when condition: tasks: set\_fact: sensu\_remote\_plugins: process-checks http disk-checks memory-checks load-checks cpu-checks io-checks rabbi…

---

## [win\_command not able to execute command file on win 2008](https://forum.ansible.com/t/win-command-not-able-to-execute-command-file-on-win-2008/25422)

<div class="topic-metadata">

**Author:** [@akshar\_barot](https://forum.ansible.com/u/akshar_barot)\
**Replies:** 3\
**Last updated:** [September 25, 2017, 2:19pm UTC](https://forum.ansible.com/t/win-command-not-able-to-execute-command-file-on-win-2008/25422 "2017-09-25T14:19:15Z")

</div>

Hi All, I have configured ansible to run some cmd script on windows machine. it is working fine in windows 7,8,2010. But, it is now working for only windows 2008. It is providing empty output.

---

## [How to use vault with AWX?](https://forum.ansible.com/t/how-to-use-vault-with-awx/25482)

<div class="topic-metadata">

**Author:** [@Jean-Francois\_Anctil](https://forum.ansible.com/u/Jean-Francois_Anctil)\
**Replies:** 10\
**Last updated:** [September 25, 2017, 12:00pm UTC](https://forum.ansible.com/t/how-to-use-vault-with-awx/25482 "2017-09-25T12:00:32Z")

</div>

Hi, I have a vault.yml file and when I run a playbook from AWX that refers to a variable from the vault file, I got an error telling me that the variable can’t be found. How can I use a vault in AWX?

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

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