# Latest

**URL:** https://forum.ansible.com/latest.md?page=545

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

**Page:** 546

---

## [AWX Cluster ID different than Hostname in Docker](https://forum.ansible.com/t/awx-cluster-id-different-than-hostname-in-docker/27817)

<div class="topic-metadata">

**Author:** [@Matt\_Hickok](https://forum.ansible.com/u/Matt_Hickok)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 3:48pm UTC](https://forum.ansible.com/t/awx-cluster-id-different-than-hostname-in-docker/27817 "2018-06-21T15:48:23Z")

</div>

We are trying to get the AWX stuff working in swarm without hardcoding the hostnames of the task container to “awx” – this means that on every reboot that the hostname of the task and web containers will be random. We d…

---

## [Ansible debug msg  with item.stdout not working with Ansible 2.1](https://forum.ansible.com/t/ansible-debug-msg-with-item-stdout-not-working-with-ansible-2-1/27833)

<div class="topic-metadata">

**Author:** [@Rijesh\_Puthiya\_Puray](https://forum.ansible.com/u/Rijesh_Puthiya_Puray)\
**Replies:** 3\
**Last updated:** [June 21, 2018, 12:00pm UTC](https://forum.ansible.com/t/ansible-debug-msg-with-item-stdout-not-working-with-ansible-2-1/27833 "2018-06-21T12:00:08Z")

</div>

Hello, I have following playbook. \` hosts: localhost vars: routes: name: /blue name: /green password: test #will be reading from inventory in original case gather\_facts: no tasks: name: Execute manage command …

---

## [execute commands in tcsh mode](https://forum.ansible.com/t/execute-commands-in-tcsh-mode/27843)

<div class="topic-metadata">

**Author:** [@contactmejohnthomas](https://forum.ansible.com/u/contactmejohnthomas)\
**Replies:** 0\
**Last updated:** [June 21, 2018, 10:43am UTC](https://forum.ansible.com/t/execute-commands-in-tcsh-mode/27843 "2018-06-21T10:43:02Z")

</div>

hello , I am trying to execute few commands in the server using ansible . The trick is currently we use "sudo tcsh " followed by password to switch tcsh prompt to execute the command Let me know how can i execute the …

---

## [\- local\_action is throwing error while running in AWX](https://forum.ansible.com/t/local-action-is-throwing-error-while-running-in-awx/27842)

<div class="topic-metadata">

**Author:** [@Rajesh\_Chowdary\_Sami](https://forum.ansible.com/u/Rajesh_Chowdary_Sami)\
**Replies:** 0\
**Last updated:** [June 21, 2018, 10:17am UTC](https://forum.ansible.com/t/local-action-is-throwing-error-while-running-in-awx/27842 "2018-06-21T10:17:17Z")

</div>

​Team, Can anyone help me to resolve the issue. Play: - local\_action: copy content={{ output.stdout }} dest=/etc/ansible/{{ inventory\_hostname }}-activeusers ERROR: ​ ​ { "msg": "Failed to get information on…

---

## [PlaybookExecutor - Python API 2.0](https://forum.ansible.com/t/playbookexecutor-python-api-2-0/27841)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 10:12am UTC](https://forum.ansible.com/t/playbookexecutor-python-api-2-0/27841 "2018-06-21T10:12:10Z")

</div>

Hey Folks So while executing playbooks via the PlaybookExecutor API , I want to pass my custom callback derived from CallbackBase + also to get the log file written with an command line like output. run\_pbook = Playboo…

---

## [Help Increasing Capacity](https://forum.ansible.com/t/help-increasing-capacity/27837)

<div class="topic-metadata">

**Author:** [@aespcms](https://forum.ansible.com/u/aespcms)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 10:25pm UTC](https://forum.ansible.com/t/help-increasing-capacity/27837 "2018-06-20T22:25:38Z")

</div>

I want to increase the capacity of my AWX serer without changing the hardware if possible its just a test server for the time being. I have tried setting SYSTEM\_TASK\_CAPACITY but nothing happens. Can someone please help …

---

## [Is there a way to have global macros?](https://forum.ansible.com/t/is-there-a-way-to-have-global-macros/27836)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 10:10pm UTC](https://forum.ansible.com/t/is-there-a-way-to-have-global-macros/27836 "2018-06-20T22:10:23Z")

</div>

By global macros I mean macros that are loaded somehow and are then available in every tasks in a playbook. For instance, instead of having: \` \` set\_fact: var1=“{% from ‘macros.j2’ import macro1 %}{{ macro1(‘arg’)}}…

---

## [How to set local changed flag only if remote command changes](https://forum.ansible.com/t/how-to-set-local-changed-flag-only-if-remote-command-changes/27834)

<div class="topic-metadata">

**Author:** [@Sam\_Lawton](https://forum.ansible.com/u/Sam_Lawton)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 7:30pm UTC](https://forum.ansible.com/t/how-to-set-local-changed-flag-only-if-remote-command-changes/27834 "2018-06-20T19:30:30Z")

</div>

I have a simple playbook on my servers to update them, and I use another playbook with a command to run that playbook on all the remote servers. Basically I want to set it that the changed flag only occurs when there are…

---

## [creating vmware snapshots playbook](https://forum.ansible.com/t/creating-vmware-snapshots-playbook/27832)

<div class="topic-metadata">

**Author:** [@Izzy](https://forum.ansible.com/u/Izzy)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 5:53pm UTC](https://forum.ansible.com/t/creating-vmware-snapshots-playbook/27832 "2018-06-20T17:53:23Z")

</div>

Hello everyone, I’m currently learning more about ansible and I gotta say I am enjoying it. Anyway, so I created a playbook to create snapshots for a single vm host using the UUID, but I am curious if anyone has created…

---

## [Ansible and IOS: {"msg": "No authentication methods available"}](https://forum.ansible.com/t/ansible-and-ios-msg-no-authentication-methods-available/27826)

<div class="topic-metadata">

**Author:** [@ali.boustani.ict](https://forum.ansible.com/u/ali.boustani.ict)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 4:58pm UTC](https://forum.ansible.com/t/ansible-and-ios-msg-no-authentication-methods-available/27826 "2018-06-20T16:58:43Z")

</div>

Hi everyone, I have installed ansible 2.5.4 on Ubuntu 18.04 (have also tried Ansible 2.2 on Ubuntu 16.04) When I use ansible to connect to Cisco IOS, I got this error message: fatal: \[192.168.144.10\]: FAILED! =\> {“msg”…

---

## [CQL(Cassandra) Execution from Ansible](https://forum.ansible.com/t/cql-cassandra-execution-from-ansible/27831)

<div class="topic-metadata">

**Author:** [@anumodmullacheryc](https://forum.ansible.com/u/anumodmullacheryc)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 2:50pm UTC](https://forum.ansible.com/t/cql-cassandra-execution-from-ansible/27831 "2018-06-20T14:50:29Z")

</div>

Hi All, I’m using ansible for CQL(DDL) automation for cassandra. I want to execute CQL scripts (Mainly DDL) from ansible. I would like to know , how will I execute cql scripts on cassandra node. thanks in advance… t…

---

## [Ansible Status Service](https://forum.ansible.com/t/ansible-status-service/27830)

<div class="topic-metadata">

**Author:** [@Fernando\_Tamariz](https://forum.ansible.com/u/Fernando_Tamariz)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 2:47pm UTC](https://forum.ansible.com/t/ansible-status-service/27830 "2018-06-20T14:47:30Z")

</div>

Hi, how can I get the status from a service from ansible module. I can´t use service o systemctl because I have different kinds of machines with different operation systems. Thxs a lot

---

## [Tower not picking the ssh\_args from the ansible.cfg file](https://forum.ansible.com/t/tower-not-picking-the-ssh-args-from-the-ansible-cfg-file/27829)

<div class="topic-metadata">

**Author:** [@Rahul\_Gupta](https://forum.ansible.com/u/Rahul_Gupta)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 2:08pm UTC](https://forum.ansible.com/t/tower-not-picking-the-ssh-args-from-the-ansible-cfg-file/27829 "2018-06-20T14:08:04Z")

</div>

Hi community, I was trying to run the ad-hoc ping from the tower but having issues. In my case, I’m trying to manage the RHEL6 server having different cipher suites than RHEL7 . In ansible.cfg file I’ve edited the “ssh…

---

## [source /etc/profile is not loading](https://forum.ansible.com/t/source-etc-profile-is-not-loading/27828)

<div class="topic-metadata">

**Author:** [@Pawan\_Kumar](https://forum.ansible.com/u/Pawan_Kumar)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 11:49am UTC](https://forum.ansible.com/t/source-etc-profile-is-not-loading/27828 "2018-06-20T11:49:32Z")

</div>

Hi All, I am using “action: shell source /etc/profile” and at the time of playbook execution its showing changed too, but somehow i am not able to see my environment variable when i run echo $JAVA\_HOME which is set unde…

---

## [Unable to run ansible playbook inside docker container](https://forum.ansible.com/t/unable-to-run-ansible-playbook-inside-docker-container/27827)

<div class="topic-metadata">

**Author:** [@Akhil\_Lawrence](https://forum.ansible.com/u/Akhil_Lawrence)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 9:26am UTC](https://forum.ansible.com/t/unable-to-run-ansible-playbook-inside-docker-container/27827 "2018-06-20T09:26:30Z")

</div>

Hi, I need to run ansible playbook as part of my CI-CD pipeline. The playbook is working fine from local machine. But when I run it via CI-CD pipline in gitlab, if fails with the following error fatal: \[10.0.12.133\]: …

---

## [Cassandra - CQL execution from Ansible](https://forum.ansible.com/t/cassandra-cql-execution-from-ansible/27824)

<div class="topic-metadata">

**Author:** [@anumodmullacheryc](https://forum.ansible.com/u/anumodmullacheryc)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 7:13pm UTC](https://forum.ansible.com/t/cassandra-cql-execution-from-ansible/27824 "2018-06-19T19:13:46Z")

</div>

Hi All, I’m using ansible for CQL automation for cassandra. I want to execute CQL scripts (Mainly DDL) from ansible. I would like to know , how I establish the connection to the cassandra cluster (cql - cassandra node…

---

## [Dynamic inventory cache](https://forum.ansible.com/t/dynamic-inventory-cache/21547)

<div class="topic-metadata">

**Author:** [@Andre\_Cruz](https://forum.ansible.com/u/Andre_Cruz)\
**Replies:** 8\
**Last updated:** [June 19, 2018, 3:53pm UTC](https://forum.ansible.com/t/dynamic-inventory-cache/21547 "2018-06-19T15:53:17Z")

</div>

Hello all. I’m using the Azure RM dynamic inventory script, which although it works fine, is very slow. Is it possible to cache its results and reuse them on another invocation? Can I just dump the output of the script…

---

## [Reg. AWS API Gateway](https://forum.ansible.com/t/reg-aws-api-gateway/27685)

<div class="topic-metadata">

**Author:** [@Ukesh\_Kumar\_Vasudeva](https://forum.ansible.com/u/Ukesh_Kumar_Vasudeva)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 3:14pm UTC](https://forum.ansible.com/t/reg-aws-api-gateway/27685 "2018-06-19T15:14:45Z")

</div>

Hi, I want to enable logging in AWS API Gateway using ansible. I can able to create AWS API Gateway using ‘aws\_api\_gateway’ module. I couldn’t find how to enable logging in that. Could someone help on this ? Thanks in …

---

## [smart host filter regex](https://forum.ansible.com/t/smart-host-filter-regex/27703)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Farinas](https://forum.ansible.com/u/Lorenzo_Farinas)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 2:47pm UTC](https://forum.ansible.com/t/smart-host-filter-regex/27703 "2018-06-19T14:47:55Z")

</div>

I’m trying to filter our Tier 1 RHEL servers on Ansible Tower smart inventory that have ip’s of 10.5.x.x, 10.50.x.x, and 10.51.x.x. Red Hat provided this syntax for smart host filter, name.regex:“^10.5\[0-1\]..$|^10.5..$”,…

---

## [New to ansible and want to help!](https://forum.ansible.com/t/new-to-ansible-and-want-to-help/26654)

<div class="topic-metadata">

**Author:** [@tomset](https://forum.ansible.com/u/tomset)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 2:40pm UTC](https://forum.ansible.com/t/new-to-ansible-and-want-to-help/26654 "2018-06-19T14:40:05Z")

</div>

I’m new to Ansible but have been working with Python for years. If there’s anything that needs doing (documentation, features, whatever), I can jump in. Let me know!

---

## [Changes to yaml inventory parser in 2.6](https://forum.ansible.com/t/changes-to-yaml-inventory-parser-in-2-6/27822)

<div class="topic-metadata">

**Author:** [@S\_C\_Rigler](https://forum.ansible.com/u/S_C_Rigler)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 2:10pm UTC](https://forum.ansible.com/t/changes-to-yaml-inventory-parser-in-2-6/27822 "2018-06-19T14:10:35Z")

</div>

Hello, I installed 2.6 rc3 on a CentOS 7 machine this morning with the rpm from releases.ansible.com. First thing I noticed is that there are some significant changes to the yaml inventory parser. Most notably is that …

---

## [Analyze environment configuration](https://forum.ansible.com/t/analyze-environment-configuration/27821)

<div class="topic-metadata">

**Author:** [@BalzWifer](https://forum.ansible.com/u/BalzWifer)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 1:24pm UTC](https://forum.ansible.com/t/analyze-environment-configuration/27821 "2018-06-19T13:24:34Z")

</div>

Hey , I’m searching for ability analyze changes in my environment configuration and in case something changed, get .report/alert

---

## [How to set different oralce\_homes in ansible](https://forum.ansible.com/t/how-to-set-different-oralce-homes-in-ansible/27816)

<div class="topic-metadata">

**Author:** [@Swapna\_N](https://forum.ansible.com/u/Swapna_N)\
**Replies:** 5\
**Last updated:** [June 19, 2018, 1:18pm UTC](https://forum.ansible.com/t/how-to-set-different-oralce-homes-in-ansible/27816 "2018-06-19T13:18:34Z")

</div>

. I have different oralce\_home like 11.2.0 and 12.1.0 how to specify different oracle\_home using ansible script. Please suggest me .As you can see default in roles it takes that values…

---

## [Ansible 2.6.0 Release Candidate 3 is available](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-3-is-available/27820)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 9:23am UTC](https://forum.ansible.com/t/ansible-2-6-0-release-candidate-3-is-available/27820 "2018-06-19T09:23:12Z")

</div>

Hi all – we’re happy to announce that Release Candidate 3 of Ansible 2.6.0 is now available! How do you get it?

---

## [AWX: Sample nginx.conf to run AWX on https](https://forum.ansible.com/t/awx-sample-nginx-conf-to-run-awx-on-https/27818)

<div class="topic-metadata">

**Author:** [@Sudheer\_Jejamma](https://forum.ansible.com/u/Sudheer_Jejamma)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 7:20am UTC](https://forum.ansible.com/t/awx-sample-nginx-conf-to-run-awx-on-https/27818 "2018-06-19T07:20:32Z")

</div>

Hello, Can someone please share sample nginx.conf to run AWX on https ? Thanks.

---

## [Creating yaml script to be executed in bash](https://forum.ansible.com/t/creating-yaml-script-to-be-executed-in-bash/27808)

<div class="topic-metadata">

**Author:** [@Vamsi\_Krishna](https://forum.ansible.com/u/Vamsi_Krishna)\
**Replies:** 9\
**Last updated:** [June 18, 2018, 2:58pm UTC](https://forum.ansible.com/t/creating-yaml-script-to-be-executed-in-bash/27808 "2018-06-18T14:58:49Z")

</div>

HI All, I have written a yaml script in bash shell as below but no met with success, Request your help \[root@ tmp\]# cat /root/pay.sh

---

## [ansible-playbook redirect](https://forum.ansible.com/t/ansible-playbook-redirect/27814)

<div class="topic-metadata">

**Author:** [@apple.talk](https://forum.ansible.com/u/apple.talk)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 2:34pm UTC](https://forum.ansible.com/t/ansible-playbook-redirect/27814 "2018-06-18T14:34:36Z")

</div>

Hi folks, when I use “ansible-playbook -i ” I could’t redirect the output. Why? ansible-playbook -i \> log.txt I will capture the consolen output and send this output to another app. I can capture the STDOUT traffic…

---

## [Installing Ubuntu 18.04 on Azure via ansible](https://forum.ansible.com/t/installing-ubuntu-18-04-on-azure-via-ansible/27699)

<div class="topic-metadata">

**Author:** [@VS1](https://forum.ansible.com/u/VS1)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 1:58pm UTC](https://forum.ansible.com/t/installing-ubuntu-18-04-on-azure-via-ansible/27699 "2018-06-18T13:58:32Z")

</div>

Hello guys i have the following lines: offer: UbuntuServer publisher: Canonical sku: ‘18.04-LTS’ version: latest But i get the following error: “tenant”: null, “virtual\_network\_name”: null, “virtual\_network\_resou…

---

## [Ansible Azure Modules](https://forum.ansible.com/t/ansible-azure-modules/27795)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 1:25pm UTC](https://forum.ansible.com/t/ansible-azure-modules/27795 "2018-06-18T13:25:23Z")

</div>

Hello Community, I’m running Ansible version 2.3.2, and I have a limited number of Azure modules installed on my Ansible host. Can someone let me know if there is a way to update / load all the available modules on my …

---

## [Server not found in Kerberos database](https://forum.ansible.com/t/server-not-found-in-kerberos-database/27805)

<div class="topic-metadata">

**Author:** [@dlb](https://forum.ansible.com/u/dlb)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 1:15pm UTC](https://forum.ansible.com/t/server-not-found-in-kerberos-database/27805 "2018-06-18T13:15:39Z")

</div>

“msg”: “kerberos: authGSSClientStep() failed: ((‘Unspecified GSS failure. Minor code may provide more information’, 851968), (‘Server not found in Kerberos database’, -1765328377))”

[Previous page](https://forum.ansible.com/latest.md?page=544)

[Next page](https://forum.ansible.com/latest.md?page=546)
