14 lines
331 B
YAML
14 lines
331 B
YAML
|
|
||
|
- name: Verify that the path to download the website exists
|
||
|
file:
|
||
|
path: "{{ hugo_deploy_download_path }}"
|
||
|
state: directory
|
||
|
mode: '0755'
|
||
|
|
||
|
- name: Clone the git repo for the website
|
||
|
git:
|
||
|
repo: "{{ hugo_deploy_website_git_url }}"
|
||
|
dest: "{{ hugo_deploy_download_path }}"
|
||
|
accept_hostkey: yes
|
||
|
force: yes
|