file stuff can be done when the server is ready
This commit is contained in:
parent
adadd086b6
commit
e425c703eb
@ -98,6 +98,15 @@
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Validate nginx configuration
|
||||
command:
|
||||
cmd: nginx -t
|
||||
|
||||
- name: Reload nginx after configuration change
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
|
||||
- name: "Checkout static websites from git"
|
||||
ansible.builtin.git:
|
||||
repo: "{{ item.repo }}"
|
||||
@ -109,12 +118,3 @@
|
||||
path: "{{ item.directory}}/.git"
|
||||
state: absent
|
||||
with_items: "{{ static }}"
|
||||
|
||||
- name: Validate nginx configuration
|
||||
command:
|
||||
cmd: nginx -t
|
||||
|
||||
- name: Reload nginx after configuration change
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
|
Loading…
Reference in New Issue
Block a user