Skip to content
Snippets Groups Projects
Verified Commit 50d13098 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
1 merge request!603gitlab: include task to prune unused docker images
Pipeline #22711 passed
......@@ -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: true
- 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