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:
1 changed files with 2 additions and 1 deletions
@@ -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
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.