ZDM Ansible image Dockerfile: moved installation of Ansible Galaxy community collection to after the creation of the ubuntu user so that it is installed under its home, as suggested by Wei.
Changed hosts directive of two plays of the collect log playbook to localhost so that it all gets executed locally to the Ansible Control Host container. The previous version allowed to choose the execution host between local and jumphost (monitoring server), but with the containerisation of the control host this choice was obsolete and potentially error-prone.
Removed harmless but unnecessary temp directory creation on proxy hosts.
Moved the log collection config variables to the internal playbook config file and removed the log collection configuration file (this separation was no longer necessary).
Monitoring playbook:
Removed unnecessary super user directive (become: yes) from several plays in the monitoring playbook
Collect logs playbook:
hosts
directive of two plays of the collect log playbook tolocalhost
so that it all gets executed locally to the Ansible Control Host container. The previous version allowed to choose the execution host between local and jumphost (monitoring server), but with the containerisation of the control host this choice was obsolete and potentially error-prone.Monitoring playbook:
become: yes
) from several plays in the monitoring playbook