Новый сервер с приложениями внутри котейнеров
This commit is contained in:
17
Makefile
17
Makefile
@ -1,3 +1,9 @@
|
||||
install-roles:
|
||||
ansible-galaxy install -r "ansible/requirements.yml"
|
||||
|
||||
test-rebuild:
|
||||
vagrant destroy -f && vagrant up
|
||||
|
||||
configure:
|
||||
ansible-playbook \
|
||||
--inventory "ansible/hosts_prod" \
|
||||
@ -25,11 +31,12 @@ dry-run:
|
||||
--diff \
|
||||
ansible/configuration.yml
|
||||
|
||||
install-roles:
|
||||
ansible-galaxy install -r "ansible/requirements.yml"
|
||||
|
||||
test-rebuild:
|
||||
vagrant destroy -f && vagrant up
|
||||
configure-test:
|
||||
ansible-playbook \
|
||||
--inventory "ansible/hosts_vagrant" \
|
||||
--extra-vars 'ansible_python_interpreter=/usr/bin/python3' \
|
||||
--user root \
|
||||
ansible/amber.yml
|
||||
|
||||
lint:
|
||||
ansible-lint "./ansible/configuration.yml" --exclude="./ansible/galaxy.roles/" -v || true
|
||||
|
Reference in New Issue
Block a user