23 lines
360 B
YAML
23 lines
360 B
YAML
|
|
- name: Update the APT cache
|
|
apt:
|
|
update_cache: yes
|
|
|
|
- name: Make sure Hugo is installed
|
|
package:
|
|
name: hugo
|
|
state: present
|
|
|
|
- name: Make sure git is installed
|
|
package:
|
|
name: git
|
|
state: present
|
|
|
|
|
|
- block:
|
|
- name: Make sure Golang is installed
|
|
package:
|
|
name: golang
|
|
state: present
|
|
when: hugo_deploy_build_openring
|