computer-playbook/roles/native-git/tasks/main.yml

8 lines
322 B
YAML
Raw Normal View History

2022-08-18 07:16:21 +02:00
- name: Set git user email to {{user_email}}
ansible.builtin.shell: git config --global user.email "{{user_email}}"
- name: Set git user name to {{user_full_name}}
2022-08-18 07:27:49 +02:00
ansible.builtin.shell: git config --global user.name "{{user_full_name}}"
2022-08-18 07:16:21 +02:00
- name: install git
community.general.pacman:
name: git
state: present