Solved bugs, restructured and added new functionality for clients/personal computers

This commit is contained in:
2025-04-02 12:27:54 +02:00
parent 500f8b508d
commit 30b138ffa3
33 changed files with 289 additions and 119 deletions

View File

@@ -0,0 +1,21 @@
- name: install git
community.general.pacman:
name: git
state: present
become: true
- name: install gitconfig
command:
cmd: "pkgmgr install gitconfig --clone-mode https"
when: run_once_gitconfig is not defined
become: true
- name: setup git
command: gitconfig --merge-option rebase --name "{{users.client.full_name}}" --email "{{users.client.email}}" --website "{{users.client.website}}" --signing gpg --gpg-key "{{users.client.gpg}}"
when: run_once_gitconfig is not defined
become: false
- name: run the gitconfig tasks once
set_fact:
run_once_gitconfig: true
when: run_once_gitconfig is not defined