From 3da205a190c0b6f36a726d90afa4dc303ee84ffe Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Tue, 19 Jan 2021 19:20:48 +0100 Subject: space_server: certbot: get space.labitat.dk certificate --- roles/space_server/tasks/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'roles/space_server/tasks/main.yml') diff --git a/roles/space_server/tasks/main.yml b/roles/space_server/tasks/main.yml index 3768d5e..b19e8a3 100644 --- a/roles/space_server/tasks/main.yml +++ b/roles/space_server/tasks/main.yml @@ -9,6 +9,21 @@ tags: - fstab +- name: Disable selinux-autorelabel-mark service + systemd: + name: selinux-autorelabel-mark.service + enabled: no + masked: no + state: stopped + when: not chroot + tags: + - selinux +- name: '- when in chroot' + command: systemctl disable selinux-autorelabel-mark.service + when: chroot + tags: + - selinux + - name: Extra ssh hosts copy: dest: '/etc/ssh/ssh_config.d/60-switches.conf' @@ -27,6 +42,8 @@ tags: networkd - import_tasks: nftables.yml tags: nftables +- import_tasks: certbot.yml + tags: certbot - import_tasks: chrony.yml tags: chrony - import_tasks: bird.yml -- cgit v1.2.1