Добавил файл для пароля vault
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,5 @@ | |||||||
| /.idea | /.idea | ||||||
| /.vagrant | /.vagrant | ||||||
| /ansible/galaxy.roles/ | /ansible/galaxy.roles/ | ||||||
|  | ansible-vault-password-file | ||||||
| *.retry | *.retry | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @@ -32,7 +32,7 @@ configure: | |||||||
| 		$(TAGS_ARGS) \ | 		$(TAGS_ARGS) \ | ||||||
| 		--inventory="$(INVENTORY)" \ | 		--inventory="$(INVENTORY)" \ | ||||||
| 		--extra-vars='ansible_python_interpreter=/usr/bin/python3' \ | 		--extra-vars='ansible_python_interpreter=/usr/bin/python3' \ | ||||||
| 		--ask-vault-pass \ | 		--vault-password-file="ansible-vault-password-file" \ | ||||||
| 		$(PLAYBOOK) | 		$(PLAYBOOK) | ||||||
|  |  | ||||||
| configure-apps: | configure-apps: | ||||||
| @@ -45,7 +45,7 @@ dry-run: | |||||||
| 		$(TAGS_ARGS) \ | 		$(TAGS_ARGS) \ | ||||||
| 		--inventory="$(INVENTORY)" \ | 		--inventory="$(INVENTORY)" \ | ||||||
| 		--extra-vars='ansible_python_interpreter=/usr/bin/python3' \ | 		--extra-vars='ansible_python_interpreter=/usr/bin/python3' \ | ||||||
| 		--ask-vault-pass \ | 		--vault-password-file="ansible-vault-password-file" \ | ||||||
| 		--check \ | 		--check \ | ||||||
| 		--diff \ | 		--diff \ | ||||||
| 		$(PLAYBOOK) | 		$(PLAYBOOK) | ||||||
| @@ -53,6 +53,7 @@ dry-run: | |||||||
| list-tags: | list-tags: | ||||||
| 	ansible-playbook \ | 	ansible-playbook \ | ||||||
| 		--inventory="$(INVENTORY)" \ | 		--inventory="$(INVENTORY)" \ | ||||||
|  | 		--vault-password-file="ansible-vault-password-file" \ | ||||||
| 		--list-tags \ | 		--list-tags \ | ||||||
| 		$(PLAYBOOK) | 		$(PLAYBOOK) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user