fix: rename roles to use underscores instead of hyphens which was causing the roles not to be found
This commit is contained in:
10
README.md
10
README.md
@@ -4,14 +4,14 @@ Ansible collection for infrastructure management, system configuration, and virt
|
||||
|
||||
## Roles
|
||||
|
||||
### proxmox-lxc-provision
|
||||
### proxmox_lxc_provision
|
||||
Manages Proxmox LXC containers with comprehensive lifecycle operations.
|
||||
|
||||
- Create, clone, start, stop, and delete containers
|
||||
- Template conversion and configuration editing
|
||||
- Post-provisioning tasks and health checks
|
||||
|
||||
### system-setup
|
||||
### system_setup
|
||||
Performs initial system configuration for new servers.
|
||||
|
||||
- Creates admin user with SSH key authentication
|
||||
@@ -19,14 +19,14 @@ Performs initial system configuration for new servers.
|
||||
- Installs essential packages
|
||||
- Optional passwordless sudo configurations
|
||||
|
||||
### system-maintenance
|
||||
### system_maintenance
|
||||
Updates packages and handles maintenance across multiple distributions.
|
||||
|
||||
- Multi-distribution support (Debian/Ubuntu/Alpine)
|
||||
- Package updates and cleanup
|
||||
- Automatic reboot handling when required
|
||||
|
||||
### nvidia-drivers
|
||||
### nvidia_drivers
|
||||
Installs NVIDIA drivers and CUDA runtime with proper idempotency and error handling.
|
||||
|
||||
- Supports Debian/Ubuntu with automatic OS detection
|
||||
@@ -53,7 +53,7 @@ ansible-galaxy collection install patrickj.infrastructure
|
||||
- os_template: "local:vztmpl/debian-12_amd64.tar.zst"
|
||||
- container_ipv4: "10.0.0.99"
|
||||
roles:
|
||||
- role: proxmox-provision
|
||||
- role: proxmox_lxc_provision
|
||||
|
||||
- name: Configure the LXC container
|
||||
hosts: new-debian-container
|
||||
|
||||
Reference in New Issue
Block a user