Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: create esxi host group
- hosts: all
- connection: local
- tasks:
- - name: create temporary esxi host group
- add_host:
- name: "{{ esxi_host }}"
- groups: esxi
- ansible_user: "{{ esxi_user }}"
- ansible_ssh_pass: "{{ esxi_pass }}"
- run_once: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement