Parametrise playbook for a Swedish deployment

- Domain, admin email and git sources are variables (vars.yml); site.yml asserts
  that placeholders have been replaced before running
- Remove DARC maintainers' SSH keys and the German URL-shortener redirects
- Track the sv branch by default
- README in Swedish

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-10-10 15:03:02 +02:00
co-authored by Claude Sonnet 5.5
parent eaebb488ff
commit 691d60f1cd
9 changed files with 83 additions and 160 deletions
+4 -13
View File
@@ -6,9 +6,9 @@
group: "{{ fiftyohm_group }}"
mode: '0755'
- name: Checkout 50ohm source from https://github.com/DARC-e-V/50ohm to {{ destination_path }}/
- name: Checkout 50ohm source from {{ fiftyohm_repo }} to {{ destination_path }}/
ansible.builtin.git:
repo: https://github.com/DARC-e-V/50ohm.git
repo: "{{ fiftyohm_repo }}"
dest: "{{ destination_path }}/50ohm"
single_branch: true
version: "{{ fiftyohm_branch }}"
@@ -16,9 +16,9 @@
become: true
become_user: "{{ fiftyohm_user }}"
- name: Checkout 50ohm-contents-dl from https://github.com/DARC-e-V/50ohm-contents-dl to {{ destination_path }}
- name: Checkout 50ohm-contents-dl from {{ fiftyohm_contents_dl_repo }} to {{ destination_path }}
ansible.builtin.git:
repo: https://github.com/DARC-e-V/50ohm-contents-dl.git
repo: "{{ fiftyohm_contents_dl_repo }}"
dest: "{{ destination_path }}/50ohm-contents-dl"
single_branch: true
version: "{{ fiftyohm_contents_dl_branch }}"
@@ -36,12 +36,3 @@
owner: "{{ fiftyohm_user }}"
group: "{{ fiftyohm_group }}"
mode: '0444'
- name: Install url_shortener.conf in /srv/50ohm.de/url_shortener.conf
ansible.builtin.copy:
src: files/url_shortener.conf
dest: /srv/50ohm.de/url_shortener.conf
owner: "{{ fiftyohm_user }}"
group: "{{ fiftyohm_group }}"
mode: '0644'
notify: Reload nginx to apply new configuration