Skip to content

Instantly share code, notes, and snippets.

@allertbig
allertbig / haproxy.cfg
Created March 26, 2019 07:24 — forked from yuezhu/haproxy.cfg
HAProxy config for HTTPS transmission web interface
global
maxconn 16384
log 127.0.0.1 len 8192 local0
log-send-hostname
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
stats timeout 30s
user haproxy
group haproxy
daemon
image: jaels/dapsible:latest
variables:
SPRING_PROFILES_ACTIVE: gitlab-ci
stages:
- build
- package
- deploy
---
- name: Detect /etc/sudoers
stat:
path: /etc/sudoers
register: etc_sudoers
# http://toroid.org/ansible-ssh-pipelining
- name: Disable requiretty option
when: etc_sudoers.stat.exists
lineinfile: