diff --git a/ansible/roles/oasys-ords/tasks/files.yml b/ansible/roles/oasys-ords/tasks/files.yml index 4973ab7dd..a496037a4 100644 --- a/ansible/roles/oasys-ords/tasks/files.yml +++ b/ansible/roles/oasys-ords/tasks/files.yml @@ -70,4 +70,4 @@ name: "maintenance_message" minute: "*/2" # every 10 mins user: root - job: 'su oracle -c ''echo "

$({{ oasys_ords_get_maintenance_msg_command }})

" > {{ oasys_ords_maintenance_message_file }}''' + job: "su oracle -c '{{ oasys_ords_get_maintenance_msg_command }} > {{ oasys_ords_maintenance_message_file }}'"