Split PVC bootstrap into separate task
This commit is contained in:
		
							
								
								
									
										4
									
								
								roles/pvc/tasks/pvc/bootstrap.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								roles/pvc/tasks/pvc/bootstrap.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| --- | ||||
| - name: initalize a fresh PVC cluster | ||||
|   shell: /usr/bin/pvc init --yes | ||||
|  | ||||
| @@ -23,8 +23,7 @@ | ||||
|   with_items: | ||||
|     - pdns.service | ||||
|  | ||||
| - name: bootstrap a fresh cluster | ||||
|   shell: /usr/bin/pvc init | ||||
| - include: pvc/bootstrap.yml | ||||
|   when: bootstrap is defined and bootstrap | ||||
|   run_once: yes | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user