Add missing nginx-file
parent
dd87d5e724
commit
d2d8ebd8cc
@ -0,0 +1,10 @@
|
|||||||
|
- name: Start nginx service
|
||||||
|
command: "docker-compose --project-directory /opt/netmaker_server/ up -d nginx"
|
||||||
|
register: command
|
||||||
|
failed_when: command.rc != 0
|
||||||
|
|
||||||
|
- name: Waiting for nginx to accept connections
|
||||||
|
ansible.builtin.wait_for:
|
||||||
|
host: "{{ inventory_hostname }}"
|
||||||
|
port: 51820
|
||||||
|
state: started
|
Loading…
Reference in New Issue