фикс пуÑотносительных путей
This commit is contained in:
4
Makefile
4
Makefile
@@ -97,7 +97,7 @@ role:
|
||||
cp -r default/ "roles/$${ROLE_NAME}"; \
|
||||
printf "\n- name: $${ROLE_DESC}" >> roles/deploy.yaml; \
|
||||
printf "\n import_playbook: $${ROLE_NAME}/deploy.yaml" >> roles/deploy.yaml; \
|
||||
printf '\n - /ansible/roles/%s' "$$ROLE_NAME" >> molecule/default/converge.yml; \
|
||||
printf '\n - roles/%s' "$$ROLE_NAME" >> molecule/default/converge.yml; \
|
||||
printf "\n - $${ROLE_NAME}" >> roles/$$ROLE_NAME/deploy.yaml;; \
|
||||
lint) \
|
||||
clear; \
|
||||
@@ -114,7 +114,7 @@ role:
|
||||
deploy) \
|
||||
clear; \
|
||||
echo "Deploying roles to production..."; \
|
||||
$(RUN) bash -c "ansible-playbook /ansible/roles/deploy.yaml";; \
|
||||
$(RUN) bash -c "ansible-playbook roles/deploy.yaml";; \
|
||||
*) echo "Unknown action";; \
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user