Skip to content
Snippets Groups Projects
Verified Commit 58941116 authored by nd's avatar nd
Browse files

moved packages from task to vars

parent 6d720048
No related branches found
No related tags found
No related merge requests found
......@@ -13,13 +13,6 @@
job: '/opt/gitlab/bin/gitlab-ctl registry-garbage-collect -m 2>/dev/null >/dev/null'
special_time: daily
- name: install python modules needed for group sync
apt:
pkg:
- python3-gitlab
- python3-ldap3
- python3-systemd
- name: create groups
gitlab_group:
api_url: "{{ gitlab.external_url }}"
......
......@@ -27,6 +27,10 @@ nginx:
- client_max_body_size 0
packages:
pkg:
"python3-gitlab": {}
"python3-ldap3": {}
"python3-systemd": {}
repos:
gitlab:
url: "deb https://packages.gitlab.com/gitlab/gitlab-ce/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }} main"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment