ansible-role-git/tasks/main.yml
Markus Pesch add9a91d00
Some checks reported errors
continuous-integration/drone/push Build was killed
style(flucky): name of tasks, use built in module
2023-02-12 14:43:12 +01:00

16 lines
356 B
YAML

---
- name: Include OS-specific variables
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
- name: Install git and dependencies
ansible.builtin.package:
name: "{{ item }}"
state: present
with_items: "{{ git_package_names }}"
- name: Configure git
ansible.builtin.include_tasks: git_user.yml
with_dict:
- "{{ git_users }}"