Linter + Dashboard fixes
This commit is contained in:
parent
e1bf3e1765
commit
abc64144a8
44 changed files with 265 additions and 379 deletions
|
@ -15,7 +15,7 @@
|
|||
-o /usr/share/keyrings/nodesource.gpg
|
||||
args:
|
||||
creates: /usr/share/keyrings/nodesource.gpg
|
||||
notify: apt update
|
||||
notify: Apt update
|
||||
|
||||
- name: Install nodesource source list
|
||||
ansible.builtin.template:
|
||||
|
@ -24,7 +24,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: apt update
|
||||
notify: Apt update
|
||||
|
||||
- name: Install nodejs apt preference
|
||||
ansible.builtin.template:
|
||||
|
@ -33,7 +33,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: apt update
|
||||
notify: Apt update
|
||||
|
||||
- ansible.builtin.meta: flush_handlers
|
||||
|
||||
|
@ -88,7 +88,7 @@
|
|||
version: master
|
||||
dest: /opt/etherpad
|
||||
accept_hostkey: yes
|
||||
notify: restart etherpad
|
||||
notify: Restart etherpad
|
||||
|
||||
- name: Install etherpad config
|
||||
ansible.builtin.template:
|
||||
|
@ -97,7 +97,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart etherpad
|
||||
notify: Restart etherpad
|
||||
|
||||
- name: Install etherpad service
|
||||
ansible.builtin.template:
|
||||
|
@ -106,14 +106,14 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart etherpad
|
||||
notify: Restart etherpad
|
||||
|
||||
- name: Start etherpad
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
name: etherpad
|
||||
state: started
|
||||
enabled: yes
|
||||
enabled: true
|
||||
|
||||
- name: Install nginx config
|
||||
ansible.builtin.template:
|
||||
|
@ -122,21 +122,5 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: reload nginx
|
||||
notify: Reload nginx
|
||||
|
||||
- name: Allow HTTP and HTTPS
|
||||
ansible.builtin.iptables:
|
||||
chain: INPUT
|
||||
protocol: tcp
|
||||
destination_port: "{{ item.port }}"
|
||||
ctstate: NEW
|
||||
jump: ACCEPT
|
||||
ip_version: "{{ item.ip }}"
|
||||
action: insert
|
||||
with_items:
|
||||
- { ip: ipv4, port: 80 }
|
||||
- { ip: ipv4, port: 443 }
|
||||
- { ip: ipv6, port: 80 }
|
||||
- { ip: ipv6, port: 443 }
|
||||
notify: persist iptables
|
||||
when: not nft | bool
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
|
||||
collections:
|
||||
- name: community.postgresql
|
||||
version: 2.3.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue