finnished lemmy.yml rewrite

This commit is contained in:
AreaOfZero 2023-06-27 06:51:00 +00:00
parent 4d9cd973ce
commit e0369a5afc

View file

@ -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