Add bootstrap tasks to node up/down playbooks
This commit is contained in:
parent
eb1ff31e30
commit
12ceb3558b
@ -2,6 +2,9 @@
|
|||||||
- name: Check cluster state
|
- name: Check cluster state
|
||||||
hosts: cluster
|
hosts: cluster
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
pre_tasks:
|
||||||
|
- name: Configure remot execution environment
|
||||||
|
ansible.builtin.import_tasks: tasks/meta/bootstrap-remote-env.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Validate user input
|
- name: Validate user input
|
||||||
run_once: true
|
run_once: true
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
- name: skylab_datastore_encryption_password
|
- name: skylab_datastore_encryption_password
|
||||||
prompt: Enter datastore block decryption password
|
prompt: Enter datastore block decryption password
|
||||||
private: true
|
private: true
|
||||||
|
pre_tasks:
|
||||||
|
- name: Configure remot execution environment
|
||||||
|
ansible.builtin.import_tasks: tasks/meta/bootstrap-remote-env.yaml
|
||||||
roles:
|
roles:
|
||||||
- role: datastore
|
- role: datastore
|
||||||
tasks:
|
tasks:
|
||||||
|
Reference in New Issue
Block a user