12345678910111213141516171819202122232425262728293031323334353637383940 |
- ---
- - name: Fetch provision_password
- hosts: localhost
- connection: local
- gather_facts: no
- roles:
- - fetch_password
- - name: Prepare the cluster with passwordless ssh from manager to compute
- hosts: manager
- gather_facts: false
- pre_tasks:
- - name: Set Fact
- set_fact:
- ssh_to: "{{ groups['compute'] }}"
- roles:
- - cluster_preperation
- - name: Prepare the cluster with passwordless ssh from compute to manager
- hosts: compute
- gather_facts: false
- pre_tasks:
- - name: Set Fact
- set_fact:
- ssh_to: "{{ groups['manager'] }}"
- roles:
- - cluster_preperation
|