Rearange existing roles to make more sense
This commit is contained in:
parent
bec00118c0
commit
e06547e25c
11 changed files with 104 additions and 104 deletions
|
|
@ -4,3 +4,8 @@
|
|||
ansible.builtin.systemd:
|
||||
name: nginx.service
|
||||
state: restarted
|
||||
- name: Restart ufw
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: ufw.service
|
||||
state: restarted
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
---
|
||||
- name: Install Podman
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: podman
|
||||
state: present
|
||||
- name: Create a new user
|
||||
ansible.builtin.include_role:
|
||||
name: user
|
||||
|
|
@ -42,6 +37,13 @@
|
|||
dest: /etc/nginx/conf.d/actual.conf
|
||||
mode: '0644'
|
||||
notify: Restart Nginx
|
||||
- name: Allow https through firewall
|
||||
become: true
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
port: https
|
||||
proto: tcp
|
||||
notify: Restart ufw
|
||||
- name: Debug
|
||||
ansible.builtin.debug:
|
||||
msg: "Don't forget to manually add a DNS record for actual.kleinendorst.info pointing to: {{ ansible_facts['default_ipv4']['address'] }}."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue