Add bootstrap tasks to node up/down playbooks
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user