Commit a465ef0a authored by nanahira's avatar nanahira

fix

parent a342f553
Pipeline #4381 failed with stage
in 10 seconds
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
path: '/etc/apt/sources.list.d/wireguard_ubuntu_wireguard_{{ ansible_distribution_release|lower }}.list' path: '/etc/apt/sources.list.d/wireguard_ubuntu_wireguard_{{ ansible_distribution_release|lower }}.list'
state: absent state: absent
when: ansible_distribution == 'Ubuntu' and (upgrade or ansible_distribution_major_version|int >= 20) when: ansible_distribution == 'Ubuntu' and (upgrade or ansible_distribution_major_version|int >= 20)
- name: Ubuntu laptop disable lid - name: Debian laptop disable lid
become: true become: true
blockinfile: blockinfile:
path: /etc/systemd/logind.conf path: /etc/systemd/logind.conf
...@@ -124,4 +124,4 @@ ...@@ -124,4 +124,4 @@
HandleLidSwitchExternalPower=ignore HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore HandleLidSwitchDocked=ignore
marker: '# {mark} MyCard Init block' marker: '# {mark} MyCard Init block'
when: ansible_distribution == 'Ubuntu' and laptop when: ansible_os_family == 'Debian' and laptop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment