# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=252

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

**Page:** 253

---

## [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

---

## [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…

---

## [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…

---

## [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

---

## [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))”

---

## [new / second interface on VM using proxmox\_kvm](https://forum.ansible.com/t/new-second-interface-on-vm-using-proxmox-kvm/27813)

<div class="topic-metadata">

**Author:** [@mdi.epost](https://forum.ansible.com/u/mdi.epost)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 12:26pm UTC](https://forum.ansible.com/t/new-second-interface-on-vm-using-proxmox-kvm/27813 "2018-06-18T12:26:27Z")

</div>

Hi Folks, having a template with just one interface I like to clone this to a new VM and then add a second, third, … interface after creating the VM I tried to update using the following but this files as obviously the…

---

## [Havin difficulties for my first role - newb question](https://forum.ansible.com/t/havin-difficulties-for-my-first-role-newb-question/27809)

<div class="topic-metadata">

**Author:** [@Isis\_Chien](https://forum.ansible.com/u/Isis_Chien)\
**Replies:** 5\
**Last updated:** [June 18, 2018, 7:05am UTC](https://forum.ansible.com/t/havin-difficulties-for-my-first-role-newb-question/27809 "2018-06-18T07:05:10Z")

</div>

hello all, I’m a Ansible newbie and i’m trying to run a playbook with a role but cant figure out what wrong with it. i’m have in my home folder 2 folders: ansible-role-VMware & ansible-VMware. In ansible-VMware, i hav…

---

## [Using async and poll on includes or imports](https://forum.ansible.com/t/using-async-and-poll-on-includes-or-imports/27810)

<div class="topic-metadata">

**Author:** [@joeldamata](https://forum.ansible.com/u/joeldamata)\
**Replies:** 0\
**Last updated:** [June 17, 2018, 5:51am UTC](https://forum.ansible.com/t/using-async-and-poll-on-includes-or-imports/27810 "2018-06-17T05:51:31Z")

</div>

Hi, I have been trying to find a way to speed up my playbooks. What i would like to do is have a playbook wherein i am running all tasks on a single host at the same time. Initially i thought i could use async/poll to f…

---

## [Run sequence of tasks until success](https://forum.ansible.com/t/run-sequence-of-tasks-until-success/27807)

<div class="topic-metadata">

**Author:** [@Sergei](https://forum.ansible.com/u/Sergei)\
**Replies:** 0\
**Last updated:** [June 16, 2018, 8:49am UTC](https://forum.ansible.com/t/run-sequence-of-tasks-until-success/27807 "2018-06-16T08:49:48Z")

</div>

Is there a way to run a block of tasks until successful condition? This is what I am trying to achieve: - start sequence below task running shell command to generate kerberos ticket task wait\_for\_connectio…

---

## [Will YAML work without ansible master](https://forum.ansible.com/t/will-yaml-work-without-ansible-master/27804)

<div class="topic-metadata">

**Author:** [@Vamsi\_Krishna](https://forum.ansible.com/u/Vamsi_Krishna)\
**Replies:** 5\
**Last updated:** [June 16, 2018, 7:16am UTC](https://forum.ansible.com/t/will-yaml-work-without-ansible-master/27804 "2018-06-16T07:16:00Z")

</div>

HI All, In our environment we have HP automation tool which can run any type of scripting language provided if that supported by servers. we are writing shell scripts and pushing from HP tool to our linux servers which …

---

## [Create variables based on  hostname](https://forum.ansible.com/t/create-variables-based-on-hostname/26402)

<div class="topic-metadata">

**Author:** [@Yz\_Xyz](https://forum.ansible.com/u/Yz_Xyz)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 11:39pm UTC](https://forum.ansible.com/t/create-variables-based-on-hostname/26402 "2018-06-15T23:39:57Z")

</div>

Hi - I want to create 3 variables based on hostname. These variables will be used inside other tasks. Host Pattern: mabos Ex: mabosqa1was01 what is the best way to create variables and use for subsequent task on host …

---

## [Use ansible to manage windows hosts that have been added to the domain](https://forum.ansible.com/t/use-ansible-to-manage-windows-hosts-that-have-been-added-to-the-domain/27806)

<div class="topic-metadata">

**Author:** [@Kanhaiya\_Ashtekar](https://forum.ansible.com/u/Kanhaiya_Ashtekar)\
**Replies:** 0\
**Last updated:** [June 15, 2018, 7:28pm UTC](https://forum.ansible.com/t/use-ansible-to-manage-windows-hosts-that-have-been-added-to-the-domain/27806 "2018-06-15T19:28:12Z")

</div>

​Please add your hosts and vars file so take a look. ​I have had same issues and solved it by Proper config of WinRM In Ansible Hosts file passing correct paramters like ansible\_host/ansible\_user/ansible\_connect…

---

## [How to pass variable into role](https://forum.ansible.com/t/how-to-pass-variable-into-role/27744)

<div class="topic-metadata">

**Author:** [@liubo](https://forum.ansible.com/u/liubo)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 6:09pm UTC](https://forum.ansible.com/t/how-to-pass-variable-into-role/27744 "2018-06-15T18:09:16Z")

</div>

SUMMARY It seems hard to send a param into a role. The rule of vars is confusing. \` What I want is overwrite version in role b by version in role a roles/a/default/main.yml version: v1.0.1 roles/a/tasks/main.yml nam…

---

## [Must be str, not NoneType](https://forum.ansible.com/t/must-be-str-not-nonetype/27752)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 5:52pm UTC](https://forum.ansible.com/t/must-be-str-not-nonetype/27752 "2018-06-15T17:52:42Z")

</div>

Hi All, Request your help, Play book: Test.yml : Call back Used : unixy

---

## [use ansible to work with pods and volumes in kubernetes](https://forum.ansible.com/t/use-ansible-to-work-with-pods-and-volumes-in-kubernetes/27803)

<div class="topic-metadata">

**Author:** [@Dan\_Steffen](https://forum.ansible.com/u/Dan_Steffen)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 5:08pm UTC](https://forum.ansible.com/t/use-ansible-to-work-with-pods-and-volumes-in-kubernetes/27803 "2018-06-15T17:08:38Z")

</div>

Hello, some days ago I start to run my first kubernetes cluster with heketi (and glusterfs) on some VMs. Now the cluster is running and I would like to deploy some pods and a new volume to this cluster, but I didn’t fin…

---

## [using log\_plays in ansible](https://forum.ansible.com/t/using-log-plays-in-ansible/27802)

<div class="topic-metadata">

**Author:** [@arnab\_sen](https://forum.ansible.com/u/arnab_sen)\
**Replies:** 0\
**Last updated:** [June 15, 2018, 1:52am UTC](https://forum.ansible.com/t/using-log-plays-in-ansible/27802 "2018-06-15T01:52:51Z")

</div>

Hi, I am new to ansible and wanted to use “log\_play” callback plugins. I am not able to get my head around on how to use it. I have created a writable directory “/var/log/ansible/hosts” Below is a sample playbook.

---

## [Ansible 2.5.5 and 2.4.5rc1 are available](https://forum.ansible.com/t/ansible-2-5-5-and-2-4-5rc1-are-available/27800)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 10:16pm UTC](https://forum.ansible.com/t/ansible-2-5-5-and-2-4-5rc1-are-available/27800 "2018-06-14T22:16:52Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.5 is now available! Additionally, 2.4.5rc1 (2.4.5 final release planned for next week) is also available from the same channels. These releases con…

---

## [Compar configuration](https://forum.ansible.com/t/compar-configuration/27799)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 7:03pm UTC](https://forum.ansible.com/t/compar-configuration/27799 "2018-06-14T19:03:08Z")

</div>

Hi all, I have the following playbook, what I need it to comprar a runnig config againts a txt file. But I dont get any output, Any ideas? thanks. compare.yml

---

## [Gap in understanding, functionality or documentation](https://forum.ansible.com/t/gap-in-understanding-functionality-or-documentation/27798)

<div class="topic-metadata">

**Author:** [@Tim\_Coote](https://forum.ansible.com/u/Tim_Coote)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 2:03pm UTC](https://forum.ansible.com/t/gap-in-understanding-functionality-or-documentation/27798 "2018-06-14T14:03:19Z")

</div>

Hullo I’m guessing that it’s the first item :wink: I’m downloading files using curl over a flakey link. Ansible doesn’t like curl and warns: \[WARNING\]: Consider using get\_url or uri module rather than running curl Ho…

---

## [get\_url always return 401 Unauthorized](https://forum.ansible.com/t/get-url-always-return-401-unauthorized/27765)

<div class="topic-metadata">

**Author:** [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Replies:** 8\
**Last updated:** [June 14, 2018, 8:18am UTC](https://forum.ansible.com/t/get-url-always-return-401-unauthorized/27765 "2018-06-14T08:18:18Z")

</div>

HI, im running on ansible 2.4.2 and trying to get a file from sharepoint, but always gotten 401 Unauthorized error (even i confirmed that the password is correct) fatal: \[hostname → localhost\]: FAILED! =\> { “changed”:…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=251)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=253)
