moved vars to defaults
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -1,7 +1,8 @@ | |||||||
| update-debian | update-debian | ||||||
| ========= | ========= | ||||||
|  |  | ||||||
| This Role will update a Linux based system and check if a reboot is required | This Role will update a Linux based system and check if a reboot is required.   | ||||||
|  | It can also install a prefedined package list if wanted. | ||||||
|  |  | ||||||
| Example Playbook | Example Playbook | ||||||
| ---------------- | ---------------- | ||||||
| @@ -10,6 +11,10 @@ Example Playbook | |||||||
|     - hosts: servers |     - hosts: servers | ||||||
|       roles: |       roles: | ||||||
|          - { role: update-system } |          - { role: update-system } | ||||||
|  |       vars: | ||||||
|  |         install: true | ||||||
|  |         package_list: | ||||||
|  |           - "apt" | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| License | License | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
| --- | --- | ||||||
|  | install: false | ||||||
|  | package_list: | ||||||
|  |   - "apt" | ||||||
|   | |||||||
| @@ -1,5 +1 @@ | |||||||
| --- | --- | ||||||
|  |  | ||||||
| install: false |  | ||||||
| package_list: |  | ||||||
|   - "apt" |  | ||||||
|   | |||||||
| @@ -1,5 +1,2 @@ | |||||||
| --- | --- | ||||||
|  |  | ||||||
| install: false |  | ||||||
| package_list: |  | ||||||
|   - "apt" |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user