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 - 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

View File

@ -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: