Add missing nginx-file

This commit is contained in:
Ruakij 2022-10-17 22:46:41 +02:00
parent dd87d5e724
commit d2d8ebd8cc

View File

@ -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