Don't copy config directly to master host VM. Instead, create a separate data volume that contains the configuration. Copy config files into this volume as part of ansible 'start' job. Mount config volume into the jenkins-master container.
This way there will be no bind mounts, no files in hardcoded locations on the host VM, and the master is closer to being ready to run on a Kubernetes cluster in the future.
Don't copy config directly to master host VM. Instead, create a separate data volume that contains the configuration. Copy config files into this volume as part of ansible 'start' job. Mount config volume into the jenkins-master container.
This way there will be no bind mounts, no files in hardcoded locations on the host VM, and the master is closer to being ready to run on a Kubernetes cluster in the future.