summaryrefslogtreecommitdiff
path: root/ansible/x220.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-28 17:43:54 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-28 17:43:54 +0300
commitba04df55ac56b465ca80b0902a90bb6356a0b231 (patch)
treeed106d3e459db57f4c61307680886ec103d7e34f /ansible/x220.yml
parente8d1d70a407278ea19d75f89852e7672a9f545b7 (diff)
downloadansibleness-ba04df55ac56b465ca80b0902a90bb6356a0b231.tar.gz
x220: don't mess with logind lid close config
The Puomi playbook now does that automatically. Sponsored-by: author
Diffstat (limited to 'ansible/x220.yml')
-rw-r--r--ansible/x220.yml15
1 files changed, 2 insertions, 13 deletions
diff --git a/ansible/x220.yml b/ansible/x220.yml
index 7bcd10b..8116900 100644
--- a/ansible/x220.yml
+++ b/ansible/x220.yml
@@ -9,17 +9,6 @@
- role: puomi
tasks:
- - lineinfile:
- path: /etc/systemd/logind.conf
- regexp: HandleLidSwitch=
- line: HandleLidSwitch=ignore
- - lineinfile:
- path: /etc/systemd/logind.conf
- regexp: HandleLidSwitchExternalPower=
- line: HandleLidSwitchExternalPower=ignore
- - systemd:
- name: systemd-logind
- state: restarted
vars:
ansible_python_interpreter: /usr/bin/python3
@@ -35,8 +24,8 @@
sshd_version: 1
sshd_host_key: "{{ lookup('pipe', 'sshca host private-key x220') }}"
- sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v4 x220') }}"
- sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v3') }}"
+ sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v5 x220') }}"
+ sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v5') }}"
puomi_lan_ip: 10.3.3.1
puomi_dhcp_start: 10.3.3.10