Add check and diff support
This commit is contained in:
		
							
								
								
									
										12
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								Makefile
									
									
									
									
									
								
							| @@ -8,10 +8,18 @@ galaxy: role collection | |||||||
| role: | role: | ||||||
| 	ansible-galaxy role install -r ./roles/requirements.yml | 	ansible-galaxy role install -r ./roles/requirements.yml | ||||||
|  |  | ||||||
|  | .PHONY: roleforce | ||||||
|  | roleforce: | ||||||
|  | 	ansible-galaxy role install -r ./roles/requirements.yml --force | ||||||
|  |  | ||||||
| .PHONY: collection | .PHONY: collection | ||||||
| collection: | collection: | ||||||
| 	ansible-galaxy collection install -r ./collections/requirements.yml | 	ansible-galaxy collection install -r ./collections/requirements.yml | ||||||
|  |  | ||||||
|  | .PHONY: collectionforce | ||||||
|  | collectionforce: | ||||||
|  | 	ansible-galaxy collection install -r ./collections/requirements.yml --force | ||||||
|  |  | ||||||
| .PHONY: ping | .PHONY: ping | ||||||
| ping: | ping: | ||||||
| 	ansible -m ping all | 	ansible -m ping all | ||||||
| @@ -28,3 +36,7 @@ reboot: | |||||||
| playbook: | playbook: | ||||||
| 	ansible-playbook test.yml | 	ansible-playbook test.yml | ||||||
|  |  | ||||||
|  | .PHONY: checkdiff | ||||||
|  | checkdiff: | ||||||
|  | 	ansible-playbook test.yml --check --diff | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user