Hi,
I think I'm missing something obvious, so please point me in the right
direction (ansible 2.3).
- name: load and run services
include_role:
name: "resource_{{ item.resource }}"
vars:
resource: "{{ item }}"
with_items:
- "{{ services }}"
How do I set the var ('resource')
Those variables are set on localhost , not kfkahost0.
Why don't you just put your kafka host in a group and use group_vars?
On 7 May 2017 at 20:41, wrote:
> I am trying to pass a variables to the hosts in a play
>
> - name: include vars
> hosts: localhost
>
This looks like your WinRM listener isn't configured properly or something
is blocking your Ansible host from connecting over that port. You can
verify what listeners are online by running this command on your Windows
host
winrm enumerate winrm/config/listener
You should see a listener that
I am trying to pass a variables to the hosts in a play
- name: include vars
hosts: localhost
connection: local
tasks:
- include_vars:
dir: '../group_vars'
depth: 1
- name: debug
hosts: localhost
connection: local
tasks:
- debug: msg="{{ kfkahost0 }}"
- name:
For tower questions and support please utilize
https://access.redhat.com/products/ansible-tower-red-hat
This mailing list is for the open source ansible project.
On Sun, May 7, 2017 at 11:38 AM Listing wrote:
> Hi,
>
> When running a job template in Ansible-Tower I notice
Hi,
When running a job template in Ansible-Tower I notice that I can only
select one credential per job run. I have many machines in my inventory
with different credentials and occasionally I would like to connect with
passwords instead of private keys.
I can get this to work just perfectly