Skip to content
Snippets Groups Projects
Select Git revision
  • 45847ce0525c06d89066df13b9132acbcd22c0ec
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
22 results

index.html

Blame
  • haproxy.yml 735 B
    ---
    - name: haproxy | Cleanup potentially deployed nginx-proxy
      file:
        path: "{{ kube_manifest_dir }}/nginx-proxy.yml"
        state: absent
    
    - name: haproxy | Make haproxy directory
      file:
        path: "{{ haproxy_config_dir }}"
        state: directory
        mode: 0700
        owner: root
    
    - name: haproxy | Write haproxy configuration
      template:
        src: "loadbalancer/haproxy.cfg.j2"
        dest: "{{ haproxy_config_dir }}/haproxy.cfg"
        owner: root
        mode: 0755
        backup: yes
    
    - name: haproxy | Get checksum from config
      stat:
        path: "{{ haproxy_config_dir }}/haproxy.cfg"
      register: haproxy_stat
    
    - name: haproxy | Write static pod
      template:
        src: manifests/haproxy.manifest.j2
        dest: "{{ kube_manifest_dir }}/haproxy.yml"