setup git config
This commit is contained in:
@@ -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
|
||||
|
||||
11
roles/base/tasks/system_setup/git.yml
Normal file
11
roles/base/tasks/system_setup/git.yml
Normal 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
|
||||
Reference in New Issue
Block a user