Commit ecaf441a authored by nanahira's avatar nanahira

laptop

parent 0e37ce89
Pipeline #3077 failed with stage
in 9 minutes and 29 seconds
...@@ -28,3 +28,4 @@ xanmod: false ...@@ -28,3 +28,4 @@ xanmod: false
railgun: railgun:
destination: oversea destination: oversea
remoteGatewayId: 31 remoteGatewayId: 31
laptop: false
...@@ -115,3 +115,13 @@ ...@@ -115,3 +115,13 @@
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_release == 'focal') when: ansible_distribution == 'Ubuntu' and (upgrade or ansible_distribution_release == 'focal')
- name: Ubuntu laptop disable lid
become: true
blockinfile:
path: /etc/systemd/logind.conf
block: |
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
marker: '# {mark} MyCard Init block'
when: ansible_distribution == 'Ubuntu' 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