mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-03 00:03:05 +02:00
bitwarden
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
- hosts: omv
|
||||
- hosts: datacenter
|
||||
name: Enable WOL
|
||||
become: true
|
||||
tasks:
|
||||
- name: Install ethtool
|
||||
ansible.builtin.apt:
|
||||
name: ethtool
|
||||
state: present
|
||||
- name: Display all interfaces name
|
||||
debug:
|
||||
var: ansible_facts.interfaces
|
||||
@ -12,7 +16,7 @@
|
||||
when: 'item.startswith("en")'
|
||||
|
||||
- name: Creating config
|
||||
become: yes
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
|
||||
dest: "/etc/systemd/system/wol.service"
|
||||
|
Reference in New Issue
Block a user