Added task to modify default branch name
This commit is contained in:
@@ -304,3 +304,11 @@
|
||||
scope: global
|
||||
state: present
|
||||
value: "{{ hostvars[inventory_hostname].users[ansible_facts['user_id']].git_profile.email }}"
|
||||
- name: Set default initial branch name
|
||||
become: true
|
||||
community.general.git_config:
|
||||
add_mode: replace-all
|
||||
name: init.defaultBranch
|
||||
scope: system
|
||||
state: present
|
||||
value: main
|
||||
|
||||
Reference in New Issue
Block a user