bitwarden

This commit is contained in:
jaydee 2024-11-27 17:28:07 +01:00
parent 3dce3ca757
commit ccbe4080bf
2 changed files with 17 additions and 13 deletions

View File

@ -13,13 +13,12 @@
set_fact:
wifi_adapter: '{{ item }}'
loop: '{{ ansible_facts.interfaces }}'
when: 'item.startswith("eno")'
when: 'item.startswith("enp")'
- name: Creating config
- name: Creating a file with content
become: true
ansible.builtin.copy:
dest: "/etc/systemd/system/wol.service"
copy:
dest: "//etc/systemd/system/wol.service"
content: |
[Unit]
Description=Enable Wake On Lan
@ -32,6 +31,7 @@
WantedBy=basic.target
owner: root
mode: '0744'
- name: Restart service wol, in all cases
ansible.builtin.service:
name: wol

View File

@ -2,3 +2,7 @@
ansible.builtin.apt:
upgrade: full
become: true
- name: Upgrade flatpack
ansible.builtin.command: flatpak update -y
become: true
when: inventory_hostname == 'morefine.home.lan'