diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-07 18:47:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-07 18:47:37 +0300 |
commit | 61c12b7938bd8fd8c17155b646b08fd1caf3cd6c (patch) | |
tree | c233df31c843f2e178fbd8114d6e1af434d6ba76 /roles/haproxy/tasks/main.yml | |
parent | c0f9a32ae8f092b7ba552798ea1ae2f2fdd9666a (diff) | |
download | ick2-ansible-61c12b7938bd8fd8c17155b646b08fd1caf3cd6c.tar.gz |
Change: use haproxy role from debian-ansible, add ickweb, etc
Diffstat (limited to 'roles/haproxy/tasks/main.yml')
-rw-r--r-- | roles/haproxy/tasks/main.yml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml deleted file mode 100644 index 2161b3b..0000000 --- a/roles/haproxy/tasks/main.yml +++ /dev/null @@ -1,37 +0,0 @@ -- name: install haproxy - apt: - name: haproxy - -- name: create config dir - file: - state: directory - path: "{{ item }}" - owner: root - group: root - mode: 0755 - with_items: - - /etc/haproxy - -- name: install haproxy config - template: - src: haproxy.cfg.j2 - dest: /etc/haproxy/haproxy.cfg - owner: root - group: root - mode: 0644 - -- name: install TLS certificate - copy: - content: "{{ tls_certificate }}" - dest: /etc/ssl/ick.pem - owner: root - group: root - mode: 0600 - -- name: enable and start haproxy - service: - name: "{{ item }}" - state: restarted - enabled: yes - with_items: - - haproxy |