style: add YAML document start markers to Ansible playbooks and tasks
This commit is contained in:
@ -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 = [
|
||||
|
Reference in New Issue
Block a user