Новый прод
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							| @@ -12,7 +12,7 @@ STAGE := vagrant | ||||
| ifeq ($(STAGE), prod) | ||||
| 	ANSIBLE_HOST_KEY_CHECKING := True | ||||
| 	INVENTORY := ansible/hosts_prod | ||||
| 	USER_ARGS := --user="av" --ask-become-pass | ||||
| 	USER_ARGS := --user="root" | ||||
| else | ||||
| 	ANSIBLE_HOST_KEY_CHECKING := False | ||||
| 	INVENTORY := ansible/hosts_vagrant | ||||
| @@ -34,8 +34,8 @@ configure: | ||||
| 		--extra-vars='ansible_python_interpreter=/usr/bin/python3' \ | ||||
| 		$(PLAYBOOK) | ||||
|  | ||||
| configure-env: | ||||
| 	$(MAKE) configure TAGS="env" | ||||
| configure-apps: | ||||
| 	$(MAKE) configure TAGS="webserver,apps,env" | ||||
|  | ||||
| dry-run: | ||||
| 	ANSIBLE_HOST_KEY_CHECKING=$(ANSIBLE_HOST_KEY_CHECKING) \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user