restructuring
This commit is contained in:
parent
1e8e80e249
commit
ad7f1c6f7b
@ -118,12 +118,3 @@
|
||||
when: nginx_default_page_enabled
|
||||
become: True
|
||||
become_user: root
|
||||
|
||||
- name: Enable nginx service
|
||||
systemd:
|
||||
state: started
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
name: nginx
|
||||
become: True
|
||||
become_user: root
|
||||
|
@ -2,3 +2,4 @@
|
||||
- include_tasks: install.yml
|
||||
- include_tasks: tls.yml
|
||||
when: nginx_tls_enabled
|
||||
- include_tasks: post_tasks.yml
|
||||
|
9
tasks/post_tasks.yml
Normal file
9
tasks/post_tasks.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Ensure nginx service is up and running
|
||||
systemd:
|
||||
state: started
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
name: nginx
|
||||
become: True
|
||||
become_user: root
|
Loading…
Reference in New Issue
Block a user