openpunk-ansible/tasks/blog-setup.yml
2022-05-30 10:46:36 -05:00

11 lines
271 B
YAML

- name: Clone blog repository
git:
repo: "https://github.com/CPunch/openpunk.git"
dest: "/var/www/{{ domain }}"
- name: Build blog
command:
cmd: hugo
chdir: "/var/www/{{ domain }}"
# TODO: missing cron job for regenerating the static blog every hour