Allow haproxy static files installation to use src and content

Sometimes the content of the static file is best kept in a file
on the filesystem rather than an ansible variable.
Signed-off-by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Change-Id: I3d71973e71c175a7ba60ffe0a582ced4f2222272
This commit is contained in:
Jonathan Rosser
2025年11月26日 17:32:48 +00:00
parent 9a66dc6ca3
commit f7e2026e45

View File

@@ -82,8 +82,9 @@
- name:Copy static files
ansible.builtin.copy:
content:"{{ item.content }}"
content:"{{ item.content | default(omit) }}"
dest:"{{ item.dest }}"
src:"{{ item.src | default(omit) }}"
mode:"0644"
owner:haproxy
group:haproxy
Reference in New Issue
openstack/openstack-ansible-haproxy_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.