docs 📝: Update README.md with usage examples, scenario descriptions, and known issues
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
This commit updates the README.md file to include a new section on 'Usage Examples' with detailed examples of how to use the role in different scenarios. It also updates the 'Common Proxmox Scenarios' table with more detailed descriptions and adds a new section on 'Known Issues'.
This commit is contained in:
@@ -74,7 +74,21 @@
|
||||
- wol_mode == 'd'
|
||||
- wol_mode not in item.1.stdout
|
||||
|
||||
# ... (everything before this stays unchanged)
|
||||
- name: Deploy wol systemd template
|
||||
ansible.builtin.template:
|
||||
src: templates/wol@.service.j2
|
||||
dest: /etc/systemd/system/wol@.service
|
||||
mode: '0644'
|
||||
notify: Reload systemd
|
||||
when: en_interfaces | length > 0
|
||||
|
||||
- name: Enable WOL systemd unit for each interface
|
||||
ansible.builtin.systemd:
|
||||
name: "wol@{{ item }}.service"
|
||||
enabled: true
|
||||
state: started
|
||||
loop: "{{ en_interfaces }}"
|
||||
when: en_interfaces | length > 0
|
||||
|
||||
- name: Get MAC addresses
|
||||
ansible.builtin.set_fact:
|
||||
@@ -83,8 +97,6 @@
|
||||
loop: "{{ en_interfaces }}"
|
||||
when: en_interfaces | length > 0
|
||||
|
||||
# ... (any other tasks between them remain unchanged)
|
||||
|
||||
- name: Report WOL configuration
|
||||
ansible.builtin.debug:
|
||||
msg: |
|
||||
@@ -92,4 +104,5 @@
|
||||
===================================
|
||||
Physical Interfaces: {{ en_interfaces | join(', ') }}
|
||||
WOL Mode: {{ wol_mode }}
|
||||
MAC Addresses: {{ wol_mac_addresses | join(', ') }}
|
||||
MAC Addresses: {{ wol_mac_addresses | join(', ') }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user