generiek nginx role #2

Merged
foobar merged 8 commits from nginx-role-rework into main 2024-07-18 22:06:22 +02:00
2 changed files with 125 additions and 120 deletions
Showing only changes of commit d0c1e45196 - Show all commits

View file

@ -47,6 +47,7 @@
- hosts: pad - hosts: pad
roles: roles:
- { role: "acme", tags: [ "acme" ] } - { role: "acme", tags: [ "acme" ] }
- { role: "nginx", tags: [ "nginx" ] }
- { role: "etherpad", tags: [ "etherpad" ] } - { role: "etherpad", tags: [ "etherpad" ] }
- hosts: services - hosts: services

View file

@ -1,9 +1,13 @@
--- ---
- tags: etherpad
block:
- name: Install dependencies - name: Install dependencies
ansible.builtin.apt: ansible.builtin.apt:
name: [ gpg, postgresql, python3-psycopg2, apt-transport-https ] state: present
pkg:
- gpg
- postgresql
- python3-psycopg2
- apt-transport-https
- name: Import nodesource signing key - name: Import nodesource signing key
ansible.builtin.shell: ansible.builtin.shell: