changed the securing tasks to only run after first installation

In the previous state, the "secure" tasks would also run after a restart of mariaDB. This
was fine on first provision runs, but gave problems on a second provision run if mariaDB was restarted.