mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized portfolio and pkgmgr update procedures
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -17,6 +17,4 @@ galaxy_info:
|
||||
- git
|
||||
- configuration
|
||||
- pacman
|
||||
- personal-computer
|
||||
dependencies:
|
||||
- package-manager
|
||||
- personal-computer
|
@@ -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}}"
|
||||
|
Reference in New Issue
Block a user