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 }}"
|
||||
@ -108,13 +117,4 @@
|
||||
ansible.builtin.file:
|
||||
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
|
||||
with_items: "{{ static }}"
|
Loading…
Reference in New Issue
Block a user