๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ansible-playbooks/roles/workstation/tasks/win_hosts.yml

5 lines
172 B

- name: add hosts entry for sv-1c
win_hosts:
canonical_name: MonServer
ip_address: "{{ hostvars['sv-1c']['ansible_host'] }}"
when: hostvars['sv-1c'] is defined