Skip to content
Snippets Groups Projects
Verified Commit a3da1abb authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

gitlab: include task to prune unused docker images

After starting a new container with the latest version of GitLab, opt to
remove older docker images so they do not take up disk space needlessly.
parent 609079ed
No related branches found
No related tags found
No related merge requests found
Pipeline #22651 failed
......@@ -99,6 +99,10 @@
- "/srv/gitlab/data:/var/opt/gitlab"
- "/srv/gitlab/sshd_config:/assets/sshd_config"
- name: prune unused docker images
docker_prune:
images: yes
- name: open firewall holes
ansible.posix.firewalld: port={{ item }} permanent=true state=enabled immediate=yes
when: configure_firewall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment