Add support for Ubuntu containers and WSL verification
- Implemented tasks for managing Ubuntu containers using Podman, including inspection, creation, starting, and SSH setup. - Added verification tasks for WSL and Podman installation, machine existence, and NSSM service status. - Created PowerShell scripts for Podman auto-start on Windows boot. - Introduced Prometheus role with default configurations and installation tasks. - Updated Windows SSH role to improve authorized_keys management and permissions handling. - Modified inventory to include Windows containers host. - Updated Grafana datasource configurations with direct IP addresses for Prometheus instances.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Restart podman machine
|
||||
ansible.windows.win_shell: podman machine stop; podman machine start
|
||||
failed_when: false
|
||||
tags:
|
||||
- roles::windows_containers
|
||||
|
||||
- name: Restart Ubuntu container
|
||||
ansible.windows.win_shell: podman restart {{ windows_containers_container_name }}
|
||||
failed_when: false
|
||||
tags:
|
||||
- roles::windows_containers
|
||||
Reference in New Issue
Block a user