Using kubespray 2.11 to install K8s 1.15.7, it works fine if I set the audit related flags at the time of install (ie cluster.yml). But on an already running cluster, if I change the pod manifest to add audit flags(ie policy file, log path), it doesn't enable auditing giving the below error.
E0716 19:02:16.712745 1 genericapiserver.go:270] Failed to add pre-shutdown hook for audit-backend unable to add "audit-backend" because it is already registered
Also,editing roles/kubernetes/master/defaults/main/main.yml
to enable audit and run upgrade-cluster.yml fails.
Can auditing be enabled only during cluster install for the first time?