setup git config

This commit is contained in:
rene
2022-03-10 10:59:42 +01:00
parent 3c14509f56
commit ec99901f8a
2 changed files with 12 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
msg: Debug
# basics
- import_tasks: system_setup/hostname.yml
- import_tasks: system_setup/git.yml
# install software
# - import_tasks: software/repositories.yml
- import_tasks: software/packages_zsh.yml

View File

@@ -0,0 +1,11 @@
- name: base | system_setup | git config user.email
git_config:
name: user.email # not required. The name of the setting. If no value is supplied, the value will be read from the config if it has been set.
value: 'root@{{ ansible_fqdn }}'
scope: global
- name: base | system_setup | git config user.name
git_config:
name: user.name
value: 'root'
scope: global