Add better config for static site repositories

This commit is contained in:
2022-04-10 00:32:33 +02:00
parent c4ab7b5d7d
commit 1b02ec12fe
4 changed files with 34 additions and 4 deletions
@@ -0,0 +1,10 @@
---
- name: Check out static site repositories
become: yes
become_user: "{{ item.owner }}"
ansible.builtin.git:
dest: "{{ item.path }}"
repo: "{{ item.url }}"
version: "{{ item.commit }}"
loop: "{{ checkout_static_sites.checkouts }}"