mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 13:42:47 +01:00
klal
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
ansible.builtin.file:
|
||||
state: absent
|
||||
path: "{{ dest_folder }}"
|
||||
|
||||
- name: Check if git binary exists
|
||||
stat:
|
||||
path: /usr/bin/git
|
||||
register: git_stat
|
||||
|
||||
- name: Include git
|
||||
ansible.builtin.include_role:
|
||||
name: git
|
||||
when: not git_stat.stat.exists
|
||||
|
||||
- name: GIT pull
|
||||
tags:
|
||||
- git_pull
|
||||
|
||||
Reference in New Issue
Block a user