Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Add the lxd server as a remote of host
- hosts: all
- tasks:
- - name: register lxd remote
- command: lxc remote add "{{ item }}" "{{ item.ansible_host }}" --accept-certificate --password "difficult_password"
- with_items: "{{ groups['workers']}}"
- tags: orchestrator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement