Add initial Ansible configuration and package management setup

- Create .gitignore to exclude .vscode directory
    - Add ansible.cfg for Ansible configuration
    - Define inventory for new machine
    - Create playbook.yml for orchestrating tasks
    - Set up common role with default variables, handlers, and tasks
    - Implement package management tasks for installing packages from various sources
    - Include appimage and flatpak package lists
This commit is contained in:
William Valentin
2025-10-24 11:45:10 -07:00
commit 7bd5974ac4
14 changed files with 678 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
# Default variables for the 'common' role
# Hostname
common_hostname: "willlaptop"
# WiFi Configuration
common_wifi_ssid: "Skips new wifi"
common_wifi_password: "04251992#04291962#"
common_wifi_connection_name: "theden"
# Ethernet Configuration
common_ethernet_ifname: "eth0"
common_ethernet_con_name: "Ethernet"
common_ethernet_ipv4_address: "192.168.153.117/24"
common_ethernet_ipv4_gateway: "192.168.153.1"
common_ethernet_ipv4_dns: "8.8.8.8,1.1.1.1"
# User Configuration
common_user_name: "will"
common_user_password: "$6$SQB4NRF/A4OI6oSq$Oe9DwyIpNo9CUobOU67kJri4OA91/o3bUWV3SFZmOWamxidShZjLDCG29hFw3f5Ta0uPfjKtQMVdY0ToPM0e71" # This should ideally be hashed or managed by vault
# SSHD Configuration
common_sshd_permit_root_login: "yes"
common_sshd_password_authentication: "yes"
common_sshd_permit_empty_passwords: "no"