GHP publish

This commit is contained in:
ace
2021-01-09 20:54:42 +03:00
commit b4b740a239
173 changed files with 5392 additions and 0 deletions

View File

@ -0,0 +1,22 @@
---
- name: restart haproxy
become: true
systemd:
name: haproxy
state: restarted
daemon_reload: yes
- name: restart docker haproxy
docker_container:
name: "haproxy"
image: "{{ docker_registry }}/haproxy:{{ haproxy_image_tag }}"
state: started
restart: yes
ports:
- "443:443"
container_default_behavior: no_defaults
detach: true
restart_policy: unless-stopped
volumes:
- "/opt/haproxy/conf.d:/usr/local/etc/haproxy/conf.d"