From e0369a5afca9774ee43f41a410e8e2af0fd60bd9 Mon Sep 17 00:00:00 2001 From: AreaOfZero Date: Tue, 27 Jun 2023 06:51:00 +0000 Subject: [PATCH] finnished lemmy.yml rewrite --- lemmy.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lemmy.yml b/lemmy.yml index c3bb4c1..0780014 100644 --- a/lemmy.yml +++ b/lemmy.yml @@ -22,7 +22,7 @@ tasks: - name: install dependencies - apt: + dnf: state: latest update_cache: true pkg: @@ -35,9 +35,6 @@ - "python3-virtualenv" - "python3-setuptools" - - name: copy docker config - copy: src='../files/docker-daemon.json' dest='/etc/docker/daemon.json' mode='0644' - - name: request initial letsencrypt certificate command: certbot certonly --nginx --agree-tos --cert-name '{{ domain }}' -d '{{ domain }}' -m '{{ letsencrypt_contact_email }}' args: @@ -116,9 +113,9 @@ vars: postgres_password: "{{ lookup('password', 'inventory/host_vars/{{domain}}/passwords/postgres chars=ascii_letters,digits') }}" - - name: enable and start docker service + - name: enable and start podman service systemd: - name: docker + name: podman.socket enabled: yes state: started