Skip to content

Commit

Permalink
config naming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed May 1, 2024
1 parent 23b0298 commit 1ad2374
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion defaults/main/9_merge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---

HAPROXY_CONFIG: "{{ defaults_haproxy | combine(haproxy, recursive=true, list_merge=prepend) }}"
HAPROXY_CONFIG: "{{ defaults_haproxy | combine(haproxy, recursive=true, list_merge='prepend') }}"
8 changes: 4 additions & 4 deletions tasks/debian/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

- name: HAProxy | Config | Globals/Defaults
ansible.builtin.template:
src: 'templates/etc/haproxy/haproxy.conf.j2'
dest: '/etc/haproxy/haproxy.conf'
src: 'templates/etc/haproxy/haproxy.cfg.j2'
dest: '/etc/haproxy/haproxy.cfg'
owner: 'root'
group: 'haproxy'
mode: 0640
notify: haproxy-reload

- name: HAProxy | Config | Backends/Frontends/Stats
ansible.builtin.template:
src: "templates/etc/haproxy/conf.d/{{ item }}.conf.j2"
dest: "/etc/haproxy/conf.d/{{ item }}.conf"
src: "templates/etc/haproxy/conf.d/{{ item }}.cfg.j2"
dest: "/etc/haproxy/conf.d/{{ item }}.cfg"
owner: 'root'
group: 'haproxy'
mode: 0640
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1ad2374

Please sign in to comment.