Remove debug tasks from global.yml and update git signing config
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 5s
Nix Format Check / check-format (push) Failing after 1m14s
Python Lint Check / check-python (push) Failing after 7s

This commit is contained in:
2025-09-23 13:32:48 +00:00
parent 3d5ae84a25
commit 54fc080ef2
3 changed files with 13 additions and 17 deletions

View File

@@ -1,21 +1,9 @@
--- ---
- name: Include global symlinks tasks
ansible.builtin.import_tasks: tasks/global/symlinks.yml
- name: Gather package facts - name: Gather package facts
ansible.builtin.package_facts: ansible.builtin.package_facts:
manager: auto manager: auto
become: true become: true
- name: Debug ansible_facts for troubleshooting
ansible.builtin.debug:
msg: |
OS Family: {{ ansible_facts['os_family'] }}
Distribution: {{ ansible_facts['distribution'] }}
Package Manager: {{ ansible_pkg_mgr }}
Kernel: {{ ansible_kernel }}
tags: debug
- name: Include Tailscale tasks - name: Include Tailscale tasks
ansible.builtin.import_tasks: tasks/global/tailscale.yml ansible.builtin.import_tasks: tasks/global/tailscale.yml
become: true become: true
@@ -131,7 +119,7 @@
ansible.builtin.replace: ansible.builtin.replace:
path: /etc/sudoers path: /etc/sudoers
regexp: '^Defaults\s+env_reset(?!.*pwfeedback)' regexp: '^Defaults\s+env_reset(?!.*pwfeedback)'
replace: 'Defaults env_reset,pwfeedback' replace: "Defaults env_reset,pwfeedback"
validate: 'visudo -cf %s' validate: "visudo -cf %s"
become: true become: true
tags: sudoers tags: sudoers

View File

@@ -247,7 +247,7 @@ def main():
"--ansible", "-A", action="store_true", help="Upgrade Ansible packages" "--ansible", "-A", action="store_true", help="Upgrade Ansible packages"
) )
parser.add_argument( parser.add_argument(
"--ansible-verbose", "--ansible-verbose",
action="store_true", action="store_true",
help="Upgrade Ansible packages with verbose output", help="Upgrade Ansible packages with verbose output",
) )
@@ -402,7 +402,7 @@ def main():
ansible_cmd.append("-vvv") ansible_cmd.append("-vvv")
# Debug: Show the command being executed # Debug: Show the command being executed
printfe("yellow", f"Debug: Executing command: {' '.join(ansible_cmd)}") printfe("cyan", f"Executing command: {' '.join(ansible_cmd)}")
# Execute the Ansible command, passing password via stdin if available # Execute the Ansible command, passing password via stdin if available
if sudo_password: if sudo_password:

View File

@@ -7,6 +7,7 @@
# Basic configuration # Basic configuration
userName = "Menno van Leeuwen"; userName = "Menno van Leeuwen";
userEmail = "menno@vleeuwen.me"; userEmail = "menno@vleeuwen.me";
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr";
# Git settings # Git settings
extraConfig = { extraConfig = {
@@ -79,7 +80,14 @@
# Security # Security
gpg = { gpg = {
program = "${pkgs.gnupg}/bin/gpg"; format = "ssh";
ssh = {
program = "/opt/1Password/op-ssh-sign";
};
};
commit = {
gpgsign = true;
}; };
# Performance # Performance