ansible-role-hugo-deploy/tasks/import-website.yml

14 lines
331 B
YAML
Raw Permalink Normal View History

2022-04-20 17:14:35 +02:00
- 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