Add bootstrap tasks to node up/down playbooks

This commit is contained in:
Ethan Paul 2021-11-20 11:14:12 -05:00
parent eb1ff31e30
commit 12ceb3558b
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
- name: Check cluster state
hosts: cluster
any_errors_fatal: true
pre_tasks:
- name: Configure remot execution environment
ansible.builtin.import_tasks: tasks/meta/bootstrap-remote-env.yaml
tasks:
- name: Validate user input
run_once: true

View File

@ -5,6 +5,9 @@
- name: skylab_datastore_encryption_password
prompt: Enter datastore block decryption password
private: true
pre_tasks:
- name: Configure remot execution environment
ansible.builtin.import_tasks: tasks/meta/bootstrap-remote-env.yaml
roles:
- role: datastore
tasks: