# Archives

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

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

**Page:** 318

---

## [To call Ansible legacy module from within library's custom module](https://forum.ansible.com/t/to-call-ansible-legacy-module-from-within-librarys-custom-module/29540)

<div class="topic-metadata">

**Author:** [@Leo\_Y](https://forum.ansible.com/u/Leo_Y)\
**Replies:** 0\
**Last updated:** [January 27, 2019, 1:18pm UTC](https://forum.ansible.com/t/to-call-ansible-legacy-module-from-within-librarys-custom-module/29540 "2019-01-27T13:18:52Z")

</div>

I would like to use existing implementations while developing a custom module. For this matter, I want to use k8s\_raw module to communicate with Kubernetes cluster instead of importing python packages and managing the wh…

---

## [Ansible 2.7, yum and list of packages](https://forum.ansible.com/t/ansible-2-7-yum-and-list-of-packages/29536)

<div class="topic-metadata">

**Author:** [@Byron\_Schlemmer](https://forum.ansible.com/u/Byron_Schlemmer)\
**Replies:** 3\
**Last updated:** [January 27, 2019, 11:05am UTC](https://forum.ansible.com/t/ansible-2-7-yum-and-list-of-packages/29536 "2019-01-27T11:05:54Z")

</div>

Hi, I’m having a problem installing RPMs using the yum module from a list. Using version: $ ansible --version ansible 2.7.6.post0 (stable-2.7 f759b5463b) last updated 2019/01/26 09:42:08 (GMT +000) python version = 2…

---

## [Running AWX Web and Task on AWS Fargate](https://forum.ansible.com/t/running-awx-web-and-task-on-aws-fargate/29538)

<div class="topic-metadata">

**Author:** [@Bob\_Bomar](https://forum.ansible.com/u/Bob_Bomar)\
**Replies:** 0\
**Last updated:** [January 27, 2019, 12:41am UTC](https://forum.ansible.com/t/running-awx-web-and-task-on-aws-fargate/29538 "2019-01-27T00:41:27Z")

</div>

I have awx running on AWS Fargate, but when I try to create a new project, I receive a 500 error and the error in the logs is " RuntimeError: No instance found with the current cluster host id" I think the problem is t…

---

## [Password change automation](https://forum.ansible.com/t/password-change-automation/29532)

<div class="topic-metadata">

**Author:** [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Replies:** 5\
**Last updated:** [January 26, 2019, 1:26pm UTC](https://forum.ansible.com/t/password-change-automation/29532 "2019-01-26T13:26:36Z")

</div>

Hi, I know there are lots of examples on the internet but I can't make it work ansible-playbook --private-key=/root/docker/aatool/ky.pem --extra-vars admin\_password=T3est@ chpass.yml \[WARNING\]: provided hosts list is…

---

## [packer with ansible](https://forum.ansible.com/t/packer-with-ansible/29534)

<div class="topic-metadata">

**Author:** [@chaitanya\_p](https://forum.ansible.com/u/chaitanya_p)\
**Replies:** 0\
**Last updated:** [January 26, 2019, 1:04pm UTC](https://forum.ansible.com/t/packer-with-ansible/29534 "2019-01-26T13:04:02Z")

</div>

could you please help me with script & process, how to create ami using packer with ansible, installing aplications available in ami for example tomcat

---

## [malformed output when we have variables in the command line-cisco ASA device](https://forum.ansible.com/t/malformed-output-when-we-have-variables-in-the-command-line-cisco-asa-device/29533)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 8:16pm UTC](https://forum.ansible.com/t/malformed-output-when-we-have-variables-in-the-command-line-cisco-asa-device/29533 "2019-01-25T20:16:32Z")

</div>

I’m running the following commands, the output is malformed, May I know how I can fix it? name: Checking DNS Parameters asa\_command: commands: ‘show run policy-map type inspect dns “{{ policy\_map }}” | i maximum’ …

---

## [need ansible to wait for a springboot acutuator heathcheck to show up](https://forum.ansible.com/t/need-ansible-to-wait-for-a-springboot-acutuator-heathcheck-to-show-up/29528)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 5:27pm UTC](https://forum.ansible.com/t/need-ansible-to-wait-for-a-springboot-acutuator-heathcheck-to-show-up/29528 "2019-01-25T17:27:18Z")

</div>

Hi Hope you can help me again I need to wait for a spring application to start before moving on in my playbook. when the microservice starts it runs flyway script that can take a long time to run before the service act…

---

## [Ansible tower AWX commandes local](https://forum.ansible.com/t/ansible-tower-awx-commandes-local/29525)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 4:53pm UTC](https://forum.ansible.com/t/ansible-tower-awx-commandes-local/29525 "2019-01-25T16:53:18Z")

</div>

Bonjour, comment faire pour que AWX exécute les commandes non pas dans le conteneur mais en local ? Pour que AWX trouve la commande wget et toutes les autres commandes qui sont bien sur mon serveur local !! Je vous re…

---

## [is there a way to exit an included file but continue the play?](https://forum.ansible.com/t/is-there-a-way-to-exit-an-included-file-but-continue-the-play/29517)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 3:56pm UTC](https://forum.ansible.com/t/is-there-a-way-to-exit-an-included-file-but-continue-the-play/29517 "2019-01-25T15:56:13Z")

</div>

I’ve developed a style where I use a lot of includes of small snippets to assemble bigger plays. I’d like to be able to do a test a condition at the top of an include, and skip the rest of the include if the condition i…

---

## [Need Debug Output](https://forum.ansible.com/t/need-debug-output/29514)

<div class="topic-metadata">

**Author:** [@Diptajeet\_Khan](https://forum.ansible.com/u/Diptajeet_Khan)\
**Replies:** 7\
**Last updated:** [January 25, 2019, 1:04pm UTC](https://forum.ansible.com/t/need-debug-output/29514 "2019-01-25T13:04:59Z")

</div>

Hi, Need help to fetch output from the below output message. Bascially I need to extract “packet\_loss”, “packets\_rx”, “packets\_tx”, “rtt\_avg”, “rtt\_max” & “rtt\_min” for each “item”. Trying to use the code as Code ==…

---

## [User management](https://forum.ansible.com/t/user-management/29513)

<div class="topic-metadata">

**Author:** [@Juan\_A\_S](https://forum.ansible.com/u/Juan_A_S)\
**Replies:** 9\
**Last updated:** [January 25, 2019, 12:29pm UTC](https://forum.ansible.com/t/user-management/29513 "2019-01-25T12:29:06Z")

</div>

Hello all, I have some questions about user management and external authentication (I have already integrated with Azure AD): Is there any way to disable user auto-creation for external authentication? For example, onl…

---

## [AWX probleme tâches](https://forum.ansible.com/t/awx-probleme-taches/29518)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 12:10pm UTC](https://forum.ansible.com/t/awx-probleme-taches/29518 "2019-01-25T12:10:56Z")

</div>

Bonjour, Quand j’exécute un modèle dans AWX cela ne fait rien, il se met en attente. J’ai vérifier s’il y avait le container awx\_task mais il n’y est pas ? Comment le créer ? Je vous remercie !!

---

## [Ansible Kerberos : Kerberos auth failure: kinit: Cannot contact any KDC for realm 'AD.DOMAIN.COM'](https://forum.ansible.com/t/ansible-kerberos-kerberos-auth-failure-kinit-cannot-contact-any-kdc-for-realm-ad-domain-com/29527)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 11:20am UTC](https://forum.ansible.com/t/ansible-kerberos-kerberos-auth-failure-kinit-cannot-contact-any-kdc-for-realm-ad-domain-com/29527 "2019-01-25T11:20:16Z")

</div>

Can anyone guide me why am getting this error ? UNREACHABLE! =\> { “changed”: false, “msg”: “Kerberos auth failure: kinit: Cannot contact any KDC for realm ‘AD.DOMAIN.COM’ while getting initial credentials”, “unreacha…

---

## [Ansible Kerberos Cannot contact any KDC for realm](https://forum.ansible.com/t/ansible-kerberos-cannot-contact-any-kdc-for-realm/29526)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 11:19am UTC](https://forum.ansible.com/t/ansible-kerberos-cannot-contact-any-kdc-for-realm/29526 "2019-01-25T11:19:33Z")

</div>

Can anyone guide me why am getting this error ? UNREACHABLE! =\> { “changed”: false, “msg”: “Kerberos auth failure: kinit: Cannot contact any KDC for realm ‘AD.DOMAIN.COM’ while getting initial credentials”, “unreacha…

---

## [Restrict user providing asterisk \* on the prompt](https://forum.ansible.com/t/restrict-user-providing-asterisk-on-the-prompt/29512)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 5\
**Last updated:** [January 25, 2019, 5:38am UTC](https://forum.ansible.com/t/restrict-user-providing-asterisk-on-the-prompt/29512 "2019-01-25T05:38:18Z")

</div>

Hello Everyone, I am trying to create a self service job template for our users through Ansible AWX , and want to restrict the users to mention the exact host detail where they want to run the job. During testing I hav…

---

## [Concurrent requests on a custom inventory plugin](https://forum.ansible.com/t/concurrent-requests-on-a-custom-inventory-plugin/29522)

<div class="topic-metadata">

**Author:** [@Alex4](https://forum.ansible.com/u/Alex4)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 11:48pm UTC](https://forum.ansible.com/t/concurrent-requests-on-a-custom-inventory-plugin/29522 "2019-01-24T23:48:52Z")

</div>

Hi there! I’m trying to do an inventory plugin to talk with an API. Everything works great. Now I’m trying to improve the performance because I need to make a lot (around 60k requests at the moment) to retrieve all the…

---

## [Automating VMware migrations](https://forum.ansible.com/t/automating-vmware-migrations/29523)

<div class="topic-metadata">

**Author:** [@Mario\_Zamora](https://forum.ansible.com/u/Mario_Zamora)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 11:01pm UTC](https://forum.ansible.com/t/automating-vmware-migrations/29523 "2019-01-24T23:01:10Z")

</div>

Hello, I have a playbook that I’m working on to migrate VMs to a new ESX host. I finally got 1 maybe 2 parts working where I can power-off the machine and power-on again. Here’s where the maybe comes into play. When I …

---

## [wait\_for not\_contains doesn't work](https://forum.ansible.com/t/wait-for-not-contains-doesnt-work/29521)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 9:07pm UTC](https://forum.ansible.com/t/wait-for-not-contains-doesnt-work/29521 "2019-01-24T21:07:09Z")

</div>

I’m trying to make sure “maximum 512” doesn’t exist in my config: name: check if the parameters has been changed to 1024 asa\_command: commands: show run | i message-length maximum wait\_for: ‘result\[0\] not contains “…

---

## [AWX command not found](https://forum.ansible.com/t/awx-command-not-found/29516)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 8:09pm UTC](https://forum.ansible.com/t/awx-command-not-found/29516 "2019-01-24T20:09:13Z")

</div>

Bonjour la communauté AWX !! Quand j’exécute un playbook contenant un script avec un wget en ligne de commande ansible sa fonctionne parfaitement (ansible-playbook playbook.yml) Mais quand j’utilise AWX, il me dit wget…

---

## [An unexpected error while registering a variable  -  "unhashable type: 'list'"](https://forum.ansible.com/t/an-unexpected-error-while-registering-a-variable-unhashable-type-list/29520)

<div class="topic-metadata">

**Author:** [@Michal\_Markiewicz](https://forum.ansible.com/u/Michal_Markiewicz)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 6:54pm UTC](https://forum.ansible.com/t/an-unexpected-error-while-registering-a-variable-unhashable-type-list/29520 "2019-01-24T18:54:23Z")

</div>

Hi, I’m trying to automate the process of setting up kubernetes cluster for training purposes. The tasks to register the command for joining workers to a cluster is as follows: \` name: get join token for workers she…

---

## [Ansible-Expect command issue](https://forum.ansible.com/t/ansible-expect-command-issue/29519)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 6:44pm UTC](https://forum.ansible.com/t/ansible-expect-command-issue/29519 "2019-01-24T18:44:39Z")

</div>

You need to show us the task, this output is not enough. My suspicion is that you have multiple equal keys in your response lik "Please enter a Digit", that is not allowed and you would need to make them one key with a …

---

## [How to update host file  using ansible](https://forum.ansible.com/t/how-to-update-host-file-using-ansible/29515)

<div class="topic-metadata">

**Author:** [@Pradeep\_Ghorpade](https://forum.ansible.com/u/Pradeep_Ghorpade)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 2:46pm UTC](https://forum.ansible.com/t/how-to-update-host-file-using-ansible/29515 "2019-01-24T14:46:38Z")

</div>

Hello Team, I am looking ansible playbook which will update host file in below scenario. I have 2 group server both are aws instance. \[test\] servername \[test1\] servername1 I want to update host file on test group …

---

## [Custom Inventory On/Off](https://forum.ansible.com/t/custom-inventory-on-off/29511)

<div class="topic-metadata">

**Author:** [@deloreandave](https://forum.ansible.com/u/deloreandave)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 1:07pm UTC](https://forum.ansible.com/t/custom-inventory-on-off/29511 "2019-01-24T13:07:59Z")

</div>

I have created a custom inventory and I am attempting to set hosts to off. I have tried to follow the output of the ovirt inventory source plugin. I notice it creates groups named status\_up and status\_down and adds an at…

---

## [AWX 3.0.0](https://forum.ansible.com/t/awx-3-0-0/29496)

<div class="topic-metadata">

**Author:** [@shanemcd](https://forum.ansible.com/u/shanemcd)\
**Replies:** 6\
**Last updated:** [January 24, 2019, 12:38pm UTC](https://forum.ansible.com/t/awx-3-0-0/29496 "2019-01-24T12:38:04Z")

</div>

Hello everyone. Today we are happy to announce the release of AWX 3.0.0. This release is predominately driven by our recent upgrade to Python 3. While AWX itself runs under Python 3, the embedded Ansible virtual environ…

---

## [How to debug why a role is not played?](https://forum.ansible.com/t/how-to-debug-why-a-role-is-not-played/29510)

<div class="topic-metadata">

**Author:** [@Kumu](https://forum.ansible.com/u/Kumu)\
**Replies:** 1\
**Last updated:** [January 23, 2019, 11:10pm UTC](https://forum.ansible.com/t/how-to-debug-why-a-role-is-not-played/29510 "2019-01-23T23:10:37Z")

</div>

Hi, I have a playbook with one play that runs several roles. But when I run the playbook, Ansible is skipping one of the roles (not the first or last, but one in the middle). I tried creating a playbook with just that…

---

## [Ansible ssh private key](https://forum.ansible.com/t/ansible-ssh-private-key/29508)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 7:42pm UTC](https://forum.ansible.com/t/ansible-ssh-private-key/29508 "2019-01-23T19:42:31Z")

</div>

Hi, Is there a way to use a vault (something like hashicorp vault for instance) to retrieve the private-key to use for SSH ansible connection? I know that AWX can handle private keys transparently so any user can run a…

---

## [AWX Localhost](https://forum.ansible.com/t/awx-localhost/29506)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [January 23, 2019, 6:06pm UTC](https://forum.ansible.com/t/awx-localhost/29506 "2019-01-23T18:06:21Z")

</div>

Bonjour, Sur AWX sur une machine cible get\_url fonctionne parfaitement. En revanche, en localhost cela ne fonctionne pas. voici mon inventaire sur awx : Nom d’hôte : localhost ansible\_user: “ansible” ansible\_connec…

---

## [Ansible script for Password less SSH](https://forum.ansible.com/t/ansible-script-for-password-less-ssh/29507)

<div class="topic-metadata">

**Author:** [@ashok\_kumar\_penumudi](https://forum.ansible.com/u/ashok_kumar_penumudi)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 5:14pm UTC](https://forum.ansible.com/t/ansible-script-for-password-less-ssh/29507 "2019-01-23T17:14:55Z")

</div>

Hi can we create new user and will give sudo access and for that user can we do password was SSH by using Ansible script, if yes please suggest I am able to create user and provided sudo privileges but unable to do passw…

---

## [How to write playbook to access to servers that ansible master can not access directly?](https://forum.ansible.com/t/how-to-write-playbook-to-access-to-servers-that-ansible-master-can-not-access-directly/29497)

<div class="topic-metadata">

**Author:** [@yuechengww](https://forum.ansible.com/u/yuechengww)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 5:04pm UTC](https://forum.ansible.com/t/how-to-write-playbook-to-access-to-servers-that-ansible-master-can-not-access-directly/29497 "2019-01-23T17:04:42Z")

</div>

Ansible master -ssh- hostA -ssh- hostB, ansible master can not access HostB directly. If I want to deploy services on hostB, can I configure hostA in a playbook, and include another playbook with hostB? E.g - hosts: Ho…

---

## [Options for filtering hosts](https://forum.ansible.com/t/options-for-filtering-hosts/29504)

<div class="topic-metadata">

**Author:** [@S\_C\_Rigler](https://forum.ansible.com/u/S_C_Rigler)\
**Replies:** 1\
**Last updated:** [January 23, 2019, 4:57pm UTC](https://forum.ansible.com/t/options-for-filtering-hosts/29504 "2019-01-23T16:57:47Z")

</div>

We have a static inventory where hosts are grouped by location and purpose. I was wondering if there was a way to limit a playbook run to hosts based on cached facts as a criteria (like only run on rhel 7 hosts, or o…

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

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