Added task to modify default branch name

This commit is contained in:
2025-11-18 21:28:33 -05:00
parent 72395382d3
commit de70d3bdd3

View File

@@ -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