Hello,
I'm using Ansible but i ran into a problem few days ago.
>From Ansible server:
I am able to log on my switch using "cisco ssh@10.99.70.46" and i can copy
running-config to my ansible server (repo tftp)
I have SW-Switches in my hosts file.
I want a playbook to :
- log on my small
I am actually not supposed to add or set anything on that server as it is a
production server. So setting environment is not an option for me.
I just need to know the java version using ansible so that it will help me
a lot in reducing the manual works of my teammates.
I tried out using the
The question should be posted in AWX group or instead should be posted for
your Red-hat support.
Coming to your question, you don't need to specifically define the username
and password in the playbook. When you create a template, you choose the
playbook, credentials (already created ones under
Hi Ansible Experts,
This question is more relevant to Ansible Tower.
Can someone help to read the Ansible tower credentials in Playbook?
We have created machine type credential called *sampleCredential* and
password for it. Now how do I use them in the playbook
---
- hosts: all
vars:
Hello.
I don't now why but I have strange situation:
- name: install and configure consul
hosts: hostname
roles:
it doesn't work:
- role: nomad
vars:
nomad_version: 0.8.7
nomad_datacenter: "lc"
nomad_consul_address: "localhost:8500"
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
whole logic.
How can I call an Ansible legacy module, for example a `k8s_raw`
Okay,
I've found the problem. I'm running Ansible from source. I recloned the
repo into a new directory and now it runs correctly. A git status shows no
changes on the problem clone and a diff between the yum modules show no
difference, however clearly I introduced a problem somewhere in my
Jonathan,
Thanks for the idea but that's not it. I even cut and paste the text from
https://docs.ansible.com/ansible/latest/modules/yum_module.html#yum-module:
- name: Install a list of packages
yum:
name:
- nginx
- postgresql
- postgresql-server
state: present
Into