diff --git a/roles/git/tasks/install/alpine.yml b/roles/git/tasks/install/alpine.yml deleted file mode 100644 index 6d98dcc..0000000 --- a/roles/git/tasks/install/alpine.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# git on alpine - -- name: (alp) installing git - community.general.apk: - name: git - state: present - update_cache: true - become: true diff --git a/roles/git/tasks/install/archlinux.yml b/roles/git/tasks/install/archlinux.yml deleted file mode 100644 index 3a3d7ec..0000000 --- a/roles/git/tasks/install/archlinux.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# git on Archlinux - -- name: (arch) installing git - community.general.pacman: - name: git - state: present - update_cache: true - become: true diff --git a/roles/git/tasks/install/debian.yml b/roles/git/tasks/install/debian.yml deleted file mode 100644 index facc765..0000000 --- a/roles/git/tasks/install/debian.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# git on Debian - -- name: (deb) installing git - ansible.builtin.apt: - name: git - state: present - update_cache: true - become: true diff --git a/roles/git/tasks/install/redhat.yml b/roles/git/tasks/install/redhat.yml deleted file mode 100644 index 2b57073..0000000 --- a/roles/git/tasks/install/redhat.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# git on RedHat - -- name: (rHa) installing git - ansible.builtin.yum: - name: git - state: present - update_cache: true - become: true diff --git a/roles/git/tasks/install/void.yml b/roles/git/tasks/install/void.yml deleted file mode 100644 index b4f4f6b..0000000 --- a/roles/git/tasks/install/void.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# git on void - -- name: (void) installing git - community.general.xbps: - name: git - state: present - update_cache: true - become: true diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index a124777..2b8fd0b 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -2,12 +2,11 @@ # Installing and configuring git - name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - git - - git-install + ansible.builtin.package: + name: git + state: present + update_cache: true + become: true tags: - git - git-install