Skip to content
Snippets Groups Projects
Select Git revision
  • 2bbf245b709d8dfe542b48fdb9a07b71e2a2938e
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

README-pwpolicy.md

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"