1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-18 22:21:20 +00:00

Compare commits

..

No commits in common. "893534955db8ab16ba1faa181ba883cdb72a60c5" and "b4a1b513ccb52cb81ba12aa92ddeea3b8b409813" have entirely different histories.

5 changed files with 3 additions and 14 deletions

View File

@ -7,7 +7,7 @@
prompt: "Password of the database (leave it blank to skip database init)"
private: yes
vars:
mirror: mirror.crans.org
mirror: deb.debian.org
roles:
- 1-apt-basic
- 2-nk20

View File

@ -3,4 +3,3 @@ note:
server_name: note.crans.org
git_branch: master
cron_enabled: true
email: notekfet2020@lists.crans.org

View File

@ -36,13 +36,3 @@
dest: /etc/cron.d/note
owner: root
group: root
- name: Set default directory to /var/www/note_kfet
lineinfile:
path: /etc/skel/.bashrc
line: 'cd /var/www/note_kfet'
- name: Automatically source Python virtual environment
lineinfile:
path: /etc/skel/.bashrc
line: 'source /var/www/note_kfet/env/bin/activate'

View File

@ -31,7 +31,7 @@
state: stopped
- name: Generate new certificate if one doesn't exist.
shell: "certbot certonly --non-interactive --agree-tos --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}"
shell: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}"
when: letsencrypt_cert.stat.exists == False
- name: Restart services to allow certbot to generate a cert.

View File

@ -16,5 +16,5 @@ email = {{ note.email }}
text = True
# Use DNS-01 challenge
authenticator = nginx
authenticator = standalone