more idempotency

This commit is contained in:
2022-04-14 22:55:36 +02:00
parent 9fde754dcb
commit 9a21122da6
2 changed files with 71 additions and 0 deletions

View File

@ -18,6 +18,14 @@
rule: allow
port: https
- name: Copy default nginx config
ansible.builtin.copy:
src: nginx.conf
dest: /etc/nginx/nginx.conf
owner: root
group: root
mode: '0644'
- name: Enable and restart nginx daemon
service:
name: nginx