ansible-role-git/tasks/main.yml
2022-04-11 13:04:14 +02:00

15 lines
326 B
YAML

---
- name: Include special distribution-dependent variables
include_vars: "{{ ansible_os_family }}.yml"
- name: Install git and dependencies
package:
name: "{{ item }}"
state: present
with_items: "{{ git_package_names }}"
- name: Configure git
include_tasks: git_user.yml
with_dict:
- "{{ git_users }}"