adding configure git role

master
chatton 2 years ago
parent 6c5ef27b29
commit d1f3b1a953

@ -1,4 +1,4 @@
---
- hosts: localhost
roles:
- install_packages
- configure_git

@ -1,11 +1,15 @@
---
- name: Update Packages
ansible.builtin.apt:
upgrade: dist
update_cache: true
- git_config:
name: core.editor
scope: global
value: vim
- name: Install desired packages
ansible.builtin.apt:
pkg:
- foo
- foo-tools
- git_config:
name: user.name
scope: global
value: chatton
- git_config:
name: user.email
scope: global
value: github.qpeyb@simplelogin.fr
Loading…
Cancel
Save