forked from evolix/ansible-roles
21 lines
414 B
YAML
21 lines
414 B
YAML
---
|
|
|
|
- name: Git is installed (Debian)
|
|
ansible.builtin.apt:
|
|
name: git
|
|
state: present
|
|
tags:
|
|
- etc-git
|
|
when:
|
|
- ansible_distribution == "Debian"
|
|
|
|
- name: Install and configure utilities
|
|
ansible.builtin.import_tasks: utils.yml
|
|
tags:
|
|
- etc-git
|
|
|
|
- name: Configure repositories
|
|
ansible.builtin.import_tasks: repositories.yml
|
|
tags:
|
|
- etc-git
|
|
when: etc_git_config_repositories | bool |