From c319be25420f86e2d57070aacc2cd23857e15261 Mon Sep 17 00:00:00 2001 From: Patrick Marchand Date: Fri, 18 Oct 2019 10:40:14 -0400 Subject: [PATCH] Make it possible for mysql role to copy evolix scripts Based myself off of the webapps/evoadmin-web role, but I'm not sure we still consider this a hack or not. We use a read only /usr fs, so we need to remount it to add scripts in /usr/local/share. --- mysql/tasks/replication.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mysql/tasks/replication.yml b/mysql/tasks/replication.yml index 6e5ee039..65939ba7 100644 --- a/mysql/tasks/replication.yml +++ b/mysql/tasks/replication.yml @@ -40,6 +40,10 @@ mode: '0644' notify: 'restart xinetd' +# /!\ Warning, this is a temporary hack +- include_role: + name: remount-usr + - name: 'Copy mysqlchk script' copy: src: 'xinetd/mysqlchk.sh'