Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Install roles with Make #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ install@%:
# Theme
$(MAKE_HUGO_THEME) install@$*

## Install roles (for deployment)
install-roles:
ansible-galaxy install --roles-path deploy/roles --role-file deploy/roles/requirements.yaml --force

#########
# Build #
#########
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Your post is ready to be published ? Create a PR and ask for review to a team me
Ensure you have installed ansible deploy role:

```shell
ansible-galaxy install --roles-path deploy/roles --role-file deploy/roles/requirements.yaml --force
make install-roles
```

> :warning: The deploy tasks will first run the build (assets, image optimization, compiling blog posts to HTML, etc) **locally** and push compiled files to production from your local filesystem. So make sure that your current branch is `master` and that you are up-to-date with `origin/master`.
Expand Down