You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-homelab/ansible/homelab/tasks/checkout-git-repos-tasks.yml

13 lines
321 B
YAML

---
- name: Git checkout HomeLab repository
ansible.builtin.git:
repo: 'https://github.com/chatton/HomeLab.git'
dest: /home/cianhatton/checkouts/HomeLab
force: true
version: master
- name: Change Ownership
file:
path: /home/cianhatton/checkouts/HomeLab
owner: cianhatton
group: cianhatton