Add makefile to improve UX
This commit is contained in:
		
							
								
								
									
										26
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| .PHONY: all | ||||
| all: galaxy playbook | ||||
|  | ||||
| .PHONY: galaxy | ||||
| galaxy: role collection | ||||
|  | ||||
| .PHONY: role | ||||
| role: | ||||
| 	ansible-galaxy role install -r ./roles/requirements.yml | ||||
|  | ||||
| .PHONY: collection | ||||
| collection: | ||||
| 	ansible-galaxy collection install -r ./collections/requirements.yml | ||||
|  | ||||
| .PHONY: ping | ||||
| ping: | ||||
| 	ansible -m ping all | ||||
|  | ||||
| .PHONY: setup | ||||
| setup: | ||||
| 	ansible -m setup all | ||||
|  | ||||
| .PHONY: playbook | ||||
| playbook: | ||||
| 	ansible-playbook test.yml | ||||
|  | ||||
		Reference in New Issue
	
	Block a user