# Archives

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

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

**Page:** 246

---

## [Playbook run order](https://forum.ansible.com/t/playbook-run-order/31653)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 10:42pm UTC](https://forum.ansible.com/t/playbook-run-order/31653 "2019-11-13T22:42:04Z")

</div>

Hi all! Just a simple question but it may be just looking into it too deep. I’ve got several playbooks that I run sequentially manually during a server build. How would I create a separate playbook and call these other…

---

## [Connection lost in middle of script execution](https://forum.ansible.com/t/connection-lost-in-middle-of-script-execution/31651)

<div class="topic-metadata">

**Author:** [@Marc-antoine\_Desroch](https://forum.ansible.com/u/Marc-antoine_Desroch)\
**Replies:** 0\
**Last updated:** [November 13, 2019, 4:11pm UTC](https://forum.ansible.com/t/connection-lost-in-middle-of-script-execution/31651 "2019-11-13T16:11:57Z")

</div>

Ansible configuration: config file for ansible – https://ansible.com/ =============================================== nearly all parameters can be overridden in ansible-playbook or with command line flags. ansible will …

---

## [RHEL Patching through Ansible](https://forum.ansible.com/t/rhel-patching-through-ansible/31641)

<div class="topic-metadata">

**Author:** [@Sadanand\_Alegaonkar](https://forum.ansible.com/u/Sadanand_Alegaonkar)\
**Replies:** 4\
**Last updated:** [November 13, 2019, 3:05pm UTC](https://forum.ansible.com/t/rhel-patching-through-ansible/31641 "2019-11-13T15:05:57Z")

</div>

Hello Team, we are going to introduce patching through Ansible. Following step manually we perform. pre artifacts. Before patching plain reboot. Patching excluding kernel and reboot Kernel patching and reboot. Above…

---

## [selecting hosts from multiple host groups in playbook](https://forum.ansible.com/t/selecting-hosts-from-multiple-host-groups-in-playbook/31650)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 0\
**Last updated:** [November 13, 2019, 2:59pm UTC](https://forum.ansible.com/t/selecting-hosts-from-multiple-host-groups-in-playbook/31650 "2019-11-13T14:59:12Z")

</div>

The intent is to hit the following hosts host\_group01 host\_group02 another\_host\_group provided it’s also in the group environment\_test I’ve tried something along this in the playbook hosts: ~host\_group(01:02):anoth…

---

## [Ansible automation on AIX with permitrootlogin no](https://forum.ansible.com/t/ansible-automation-on-aix-with-permitrootlogin-no/31624)

<div class="topic-metadata">

**Author:** [@ks\_Iam](https://forum.ansible.com/u/ks_Iam)\
**Replies:** 3\
**Last updated:** [November 13, 2019, 2:10pm UTC](https://forum.ansible.com/t/ansible-automation-on-aix-with-permitrootlogin-no/31624 "2019-11-13T14:10:42Z")

</div>

I’m working with my vendor to setup the Ansible to harden my AIX servers. I was informed that Ansible required to login as root via SSH to perform the task, which means the sshd\_config has to enable permitrootlogin, desp…

---

## [ansible/service now integration specifically requests](https://forum.ansible.com/t/ansible-service-now-integration-specifically-requests/31649)

<div class="topic-metadata">

**Author:** [@Doug\_OLeary](https://forum.ansible.com/u/Doug_OLeary)\
**Replies:** 0\
**Last updated:** [November 13, 2019, 2:08pm UTC](https://forum.ansible.com/t/ansible-service-now-integration-specifically-requests/31649 "2019-11-13T14:08:27Z")

</div>

Hi; My interaction with service now is typically tasks (TASK####) that come from requested items (RITM####) that come from requests (REQ####). All the examples I can find for the ansible service now modules are for inci…

---

## [Selenium and Ansible](https://forum.ansible.com/t/selenium-and-ansible/31647)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 10:34am UTC](https://forum.ansible.com/t/selenium-and-ansible/31647 "2019-11-13T10:34:02Z")

</div>

Hi All, We are automating one of our internal web app using Selenium as those tasks are not possible through Ansible but there are few pre-tasks which we are taking care of using Ansible, can somebody please advise how …

---

## [Run jobs FROM AWX non root user - using Foreman ssh trust relationship](https://forum.ansible.com/t/run-jobs-from-awx-non-root-user-using-foreman-ssh-trust-relationship/31644)

<div class="topic-metadata">

**Author:** [@Sergio\_ser](https://forum.ansible.com/u/Sergio_ser)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 1:58am UTC](https://forum.ansible.com/t/run-jobs-from-awx-non-root-user-using-foreman-ssh-trust-relationship/31644 "2019-11-13T01:58:50Z")

</div>

I can run awx jobs from root user to remote vm hosts (to root users or non root users). I would like to run awx jobs from non root user to remote vm hosts (to root users or non root users). Is it possible? The reasson:…

---

## [How to write remote cli module (no client-side python) right way?](https://forum.ansible.com/t/how-to-write-remote-cli-module-no-client-side-python-right-way/31646)

<div class="topic-metadata">

**Author:** [@Alex\_Sviridov](https://forum.ansible.com/u/Alex_Sviridov)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 8:31pm UTC](https://forum.ansible.com/t/how-to-write-remote-cli-module-no-client-side-python-right-way/31646 "2019-11-12T20:31:26Z")

</div>

I cannot to find out how to write a module to controle remote device via SSH. Please can you help me with the example? I have several roles using the “raw” module but I’d like to write my own module to have the complex …

---

## [using json as a password for docker\_login module](https://forum.ansible.com/t/using-json-as-a-password-for-docker-login-module/31631)

<div class="topic-metadata">

**Author:** [@user57](https://forum.ansible.com/u/user57)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 6:20pm UTC](https://forum.ansible.com/t/using-json-as-a-password-for-docker-login-module/31631 "2019-11-12T18:20:09Z")

</div>

I already asked that question on ansible-devel mailing list: https://groups.google.com/forum/#!msg/ansible-devel/aXyKGHRtDcQ/GvUxgopZAQAJ I am trying to log into private docker container registry and I need to use a jso…

---

## [Deploy packages as order in manifest.prop file](https://forum.ansible.com/t/deploy-packages-as-order-in-manifest-prop-file/31643)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 5:52pm UTC](https://forum.ansible.com/t/deploy-packages-as-order-in-manifest-prop-file/31643 "2019-11-12T17:52:49Z")

</div>

Hi all, I have manifest.prop files it has some deploy package names as below; ud\_AGENT =discovery/package/UDAgentManagement\_10.33.0.zip norm\_RULES =discovery/package/NormalizationRules\_100.zip udi\_DATA\_MODEL =discove…

---

## [Execute roles with grouped hosts](https://forum.ansible.com/t/execute-roles-with-grouped-hosts/31642)

<div class="topic-metadata">

**Author:** [@bozho](https://forum.ansible.com/u/bozho)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 5:22pm UTC](https://forum.ansible.com/t/execute-roles-with-grouped-hosts/31642 "2019-11-12T17:22:16Z")

</div>

Hi all, I'm trying to figure out a way to execute a role once per subgroup of hosts in a single ansible-playbook run. Here's an outline of my scenario: I want to configure multiple docker swarms. My inventory looks s…

---

## [Query Regarding REST API integration in Ansible](https://forum.ansible.com/t/query-regarding-rest-api-integration-in-ansible/31282)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 9\
**Last updated:** [November 12, 2019, 2:21pm UTC](https://forum.ansible.com/t/query-regarding-rest-api-integration-in-ansible/31282 "2019-11-12T14:21:41Z")

</div>

Hi Ansible Gurus, specially Dick Visser and vlado and all experts, I have a question regarding Ansible Integration of REST APIs (built in JAVA). Assume I have 100 of Resource End Point( or Service End point) where each …

---

## [ecs\_tag](https://forum.ansible.com/t/ecs-tag/31590)

<div class="topic-metadata">

**Author:** [@Michael\_Pechner](https://forum.ansible.com/u/Michael_Pechner)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 2:06pm UTC](https://forum.ansible.com/t/ecs-tag/31590 "2019-11-12T14:06:32Z")

</div>

I wrote an ecs\_tag module based on the ec2\_tag code. It only handles tagging ecs\_clusters at the moment, since that is all I need. The boto3 ecs client call tag\_resources can tag services and tasks as well. Questions: …

---

## [Running ansible playbook with different versions](https://forum.ansible.com/t/running-ansible-playbook-with-different-versions/31638)

<div class="topic-metadata">

**Author:** [@Ganesh\_Biradar](https://forum.ansible.com/u/Ganesh_Biradar)\
**Replies:** 5\
**Last updated:** [November 12, 2019, 10:06am UTC](https://forum.ansible.com/t/running-ansible-playbook-with-different-versions/31638 "2019-11-12T10:06:29Z")

</div>

Is there any way to run different playbooks in the same directory with different ansible versions using the ansible-playbook command?

---

## [Job templates not parsing roles inside a playbook when executed from the GUI on 9.0.1](https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604)

<div class="topic-metadata">

**Author:** [@alancivita](https://forum.ansible.com/u/alancivita)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 8:26am UTC](https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604 "2019-11-12T08:26:07Z")

</div>

I’ve opened this one as an issue on git as well. I have some simple playbooks with roles, something like this: hosts: all remote\_user: root roles: common-apps users if i run this playbook from the web interface,…

---

## [Dynamic disk format and mount](https://forum.ansible.com/t/dynamic-disk-format-and-mount/31640)

<div class="topic-metadata">

**Author:** [@Barun\_kumar](https://forum.ansible.com/u/Barun_kumar)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 7:09am UTC](https://forum.ansible.com/t/dynamic-disk-format-and-mount/31640 "2019-11-12T07:09:29Z")

</div>

HI team, We have a servers attached with multiple disks that Is not known, now I want to use facts module to format disk and mount in fstab, any idea how to do that? Regards, Barun

---

## [facts gathering question](https://forum.ansible.com/t/facts-gathering-question/31404)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 9:44pm UTC](https://forum.ansible.com/t/facts-gathering-question/31404 "2019-11-11T21:44:42Z")

</div>

hi all, quick question, i’m trying to add some aix specific facts using the BaseFactCollector. for some reason the facts to not show up in the setup output. whats kind of wizardy has to be done do make this working? i …

---

## [access to host\_vars and group\_vars from new Inventory plugin](https://forum.ansible.com/t/access-to-host-vars-and-group-vars-from-new-inventory-plugin/31494)

<div class="topic-metadata">

**Author:** [@Artem\_Gromov](https://forum.ansible.com/u/Artem_Gromov)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 9:39pm UTC](https://forum.ansible.com/t/access-to-host-vars-and-group-vars-from-new-inventory-plugin/31494 "2019-11-11T21:39:40Z")

</div>

Hi, I am trying to develop custom inventory plugin. And I wonder if its possible to access vars defined in host\_vars and group\_vars from parse method of this plugin. All i can get are vars ‘inventory\_file’, ‘inventory…

---

## [ERROR! 'service' is not a valid attribute for a Play](https://forum.ansible.com/t/error-service-is-not-a-valid-attribute-for-a-play/31637)

<div class="topic-metadata">

**Author:** [@morten\_hoffmann](https://forum.ansible.com/u/morten_hoffmann)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 7:22pm UTC](https://forum.ansible.com/t/error-service-is-not-a-valid-attribute-for-a-play/31637 "2019-11-11T19:22:02Z")

</div>

Hi I’m trying to execute following dev01.yml playbook. Problem aer on machine02…I can’t find the appropriate code to stop a RHEL service on second server name: Stopping the OBIEE processes hosts: obiee remote\_user:…

---

## [New to ansible and development](https://forum.ansible.com/t/new-to-ansible-and-development/31636)

<div class="topic-metadata">

**Author:** [@evnflow](https://forum.ansible.com/u/evnflow)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 6:40pm UTC](https://forum.ansible.com/t/new-to-ansible-and-development/31636 "2019-11-11T18:40:40Z")

</div>

I am trying to write ansible code to check space on a mount and when it hits below 12% of drive space to fail.

---

## [Announcing AWX 9.0.0](https://forum.ansible.com/t/announcing-awx-9-0-0/31581)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 8\
**Last updated:** [November 11, 2019, 6:13pm UTC](https://forum.ansible.com/t/announcing-awx-9-0-0/31581 "2019-11-11T18:13:52Z")

</div>

Hey everyone, We’re excited to announce a new major version of AWX, 9.0.0. Here are some of the notable changes: Updated AWX images to use centos:8 as the parent image. Updated to ansible-runner 1.4.4 to address vari…

---

## [ACI mso\_schema\_template\_bd : not valid VRF association](https://forum.ansible.com/t/aci-mso-schema-template-bd-not-valid-vrf-association/31635)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 4:10pm UTC](https://forum.ansible.com/t/aci-mso-schema-template-bd-not-valid-vrf-association/31635 "2019-11-11T16:10:50Z")

</div>

All, using the mso\_schema\_template\_bd module I have come across the following issue: Setting the scene: VRF has been create in Schema X, with template X associated to tenant USER BD has been created in Schema1, with …

---

## [ACI mso\_schema\_template\_bd help needed](https://forum.ansible.com/t/aci-mso-schema-template-bd-help-needed/31634)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 3:51pm UTC](https://forum.ansible.com/t/aci-mso-schema-template-bd-help-needed/31634 "2019-11-11T15:51:25Z")

</div>

Hello all, I hope someone can assist here. Trying to use the mso\_schema\_template\_bd module to develop some scripts for a customer but I am getting am struggling to understand what is required to add a subnets as a ‘lis…

---

## [Ansible react on unreachable / failed hosts](https://forum.ansible.com/t/ansible-react-on-unreachable-failed-hosts/31633)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 1:09pm UTC](https://forum.ansible.com/t/ansible-react-on-unreachable-failed-hosts/31633 "2019-11-11T13:09:38Z")

</div>

I am administering a heterogeneous environment with a lot of stakeholders. It would be crucial to react on unreachable and failed hosts differently. So far my solution is: \` hosts: all:localhost tasks: If fact gathe…

---

## [How to convert this to docker](https://forum.ansible.com/t/how-to-convert-this-to-docker/31629)

<div class="topic-metadata">

**Author:** [@uday1kiran](https://forum.ansible.com/u/uday1kiran)\
**Replies:** 4\
**Last updated:** [November 10, 2019, 12:36am UTC](https://forum.ansible.com/t/how-to-convert-this-to-docker/31629 "2019-11-10T00:36:53Z")

</div>

We want to integrate Nexus 3 Opensource Edition into our toolchain. Nexus is an artifactory for npm, Docker Registry, maven, nuget, etc. We want to use docker containers for everything. Problem: Nexus does…

---

## [Undefined variables and filter subelements](https://forum.ansible.com/t/undefined-variables-and-filter-subelements/31616)

<div class="topic-metadata">

**Author:** [@Tobias\_Kirchhofer](https://forum.ansible.com/u/Tobias_Kirchhofer)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 8:04am UTC](https://forum.ansible.com/t/undefined-variables-and-filter-subelements/31616 "2019-11-09T08:04:09Z")

</div>

We think we experience an anomalie with undefined variables and usage of subelements: \` name: Enable/disable service firewalld: zone: “{{ item.0.ZONE }}” service: “{{ item.1.SERVICE }}” permanent: yes immediate: …

---

## [Simple assert failure](https://forum.ansible.com/t/simple-assert-failure/31627)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [November 8, 2019, 9:38pm UTC](https://forum.ansible.com/t/simple-assert-failure/31627 "2019-11-08T21:38:23Z")

</div>

Simple, but I can’t figure it out. The following doesn’t appear to be working. Wondering if I have a syntax error? \` assert: that: user is defined msg: “Be sure to define the username under defaults/main.yml” \` Wh…

---

## [Permit user to run only jobs only in check mode](https://forum.ansible.com/t/permit-user-to-run-only-jobs-only-in-check-mode/31625)

<div class="topic-metadata">

**Author:** [@john.westcott.iv](https://forum.ansible.com/u/john.westcott.iv)\
**Replies:** 1\
**Last updated:** [November 8, 2019, 4:51pm UTC](https://forum.ansible.com/t/permit-user-to-run-only-jobs-only-in-check-mode/31625 "2019-11-08T16:51:54Z")

</div>

Can you create two job templates, one that runs in Check mode and one that runs in Run mode and then grant permissions for the Jenkins account only to the check mode job? -John

---

## [AWX SAML Organization/Team/Group mapping guide.](https://forum.ansible.com/t/awx-saml-organization-team-group-mapping-guide/31626)

<div class="topic-metadata">

**Author:** [@Nik\_Tetteh-Lartey](https://forum.ansible.com/u/Nik_Tetteh-Lartey)\
**Replies:** 0\
**Last updated:** [November 8, 2019, 4:26pm UTC](https://forum.ansible.com/t/awx-saml-organization-team-group-mapping-guide/31626 "2019-11-08T16:26:21Z")

</div>

Hi Team, I have been working on SAML AWX 9.x integration for the last few days. I’m a bit confused how this is supposed to work. I get the impression that I will have to just use SAML for the AuthN and rely on LDAP to…

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

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