Optimized portfolio and pkgmgr update procedures

This commit is contained in:
2025-04-10 14:07:50 +02:00
parent 150e15625d
commit 2ca000795d
43 changed files with 334 additions and 334 deletions

View File

@@ -13,7 +13,7 @@ The purpose of this role is to automate the installation and configuration of Gi
- **Automated Git Installation:** Installs Git using Pacman.
- **Custom Git Configuration:** Invokes the git-configurator tool to merge user-specific configuration options.
- **Idempotent Task Execution:** Uses host-level run-once artifacts to ensure that configuration tasks are executed only once per host.
- **Integration:** Works alongside the package-manager role to streamline overall system setup.
- **Integration:** Works alongside the pkgmgr role to streamline overall system setup.
## Credits

View File

@@ -17,6 +17,4 @@ galaxy_info:
- git
- configuration
- pacman
- personal-computer
dependencies:
- package-manager
- personal-computer

View File

@@ -4,11 +4,11 @@
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: "{{ role_name }} | pkgmgr install"
include_role:
name: pkgmgr-install
vars:
package_name: gitconfig
- 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}}"