style: add YAML document start markers to Ansible playbooks and tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 1m34s
Nix Format Check / check-format (push) Successful in 57s

This commit is contained in:
2025-03-12 14:05:42 +01:00
parent 785bd9b122
commit 112d3679da
36 changed files with 202 additions and 31 deletions

View File

@ -115,6 +115,11 @@ def run_command(command, shell=False):
except FileNotFoundError:
return False, f"Command '{command[0]}' not found"
def command_exists(command):
"""Check if a command exists in the PATH"""
import shutil
return shutil.which(command) is not None
def ensure_dependencies():
"""Check and install required dependencies for the dotfiles system"""
required_packages = [