feat(vaultwarden): add SMTP configuration options and enhance signup settings
- Introduced SMTP settings for Vaultwarden including host, port, security, and authentication details. - Added variables for signup verification, 2FA settings, password hints, and logging options. - Updated Vaultwarden deployment to utilize new SMTP configurations. - Enhanced Grafana module to support dynamic dashboard and datasource provisioning. - Added LLM proxy configuration for Open Web UI with necessary environment variables.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Alexandre Pires
|
||||
description: Configure Wake-on-LAN via systemd-networkd
|
||||
company: A13Labs
|
||||
role_name: wol
|
||||
namespace: a13labs
|
||||
license: MIT
|
||||
min_ansible_version: "2.1"
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
- "9"
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
- name: Install ethtool
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name: ethtool
|
||||
state: present
|
||||
|
||||
- name: Enable WOL on the network interface
|
||||
become: true
|
||||
ansible.builtin.command: ethtool -s {{ network_interface }} wol g
|
||||
changed_when: false
|
||||
|
||||
- name: Create systemd-networkd WOL config
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/systemd/network/10-wol.network"
|
||||
content: |
|
||||
[Match]
|
||||
Name={{ network_interface }}
|
||||
|
||||
[Link]
|
||||
WakeOnLan=magic
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: Create systemd WOL config
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/systemd/system/wol.service"
|
||||
content: |
|
||||
[Unit]
|
||||
Description=Enable Wake-on-LAN
|
||||
After=network-online.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/ethtool --change {{ network_interface }} wol g
|
||||
[Install]
|
||||
WantedBy=network-online.target
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: Enable and restart systemd-networkd
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: wol.service
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Confirm WOL setting applied
|
||||
become: true
|
||||
ansible.builtin.command: ethtool {{ network_interface }}
|
||||
register: wol_status
|
||||
changed_when: false
|
||||
|
||||
- name: Show WOL setting
|
||||
ansible.builtin.debug:
|
||||
var: wol_status.stdout_lines
|
||||
Reference in New Issue
Block a user