File tree Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 2929 name :
3030 - " sudo" # for `become` privilege escalation
3131 - " iproute2" # for gathering network facts
32+ - " python3-debian"
3233 state : " present"
3334 update_cache : true
3435
Original file line number Diff line number Diff line change 2828 - " gpg"
2929 - " ca-certificates"
3030 - " python3-cryptography"
31+ - " python3-debian"
3132 - " ssl-cert"
3233 state : " present"
3334 update_cache : true
Original file line number Diff line number Diff line change 1414- name : " Prepare Debian GitLab installation"
1515 when : " ansible_facts.os_family == 'Debian'"
1616 block :
17- - name : " Install APT GPG key"
17+ - name : " Remove APT GPG key"
1818 ansible.builtin.apt_key :
1919 url : " {{ gitlab_gpg_key_url }}"
2020 id : " {{ gitlab_gpg_key_id }}"
21- state : " present "
21+ state : " absent "
2222 when : " not gitlab_is_initial_dryrun"
2323
2424 - name : " Add GitLab APT repository"
25- ansible.builtin.apt_repository :
26- repo : " deb {{ gitlab_repo_url }} {{ ansible_facts.distribution_release }} main"
25+ ansible.builtin.deb822_repository :
26+ name : " {{ gitlab_edition }}"
27+ types : " deb"
28+ uris : " {{ gitlab_repo_url }}"
29+ suites : " {{ ansible_facts.distribution_release }}"
30+ components : " main"
31+ signed_by : " {{ gitlab_gpg_key_url }}"
2732 state : " present"
28- filename : " gitlab_{{ gitlab_edition }}"
2933 mode : " 0644"
34+ enabled : true
3035
31- - name : " Add GitLab source APT repository"
36+ - name : " Remove GitLab source APT repository"
3237 ansible.builtin.apt_repository :
3338 repo : " deb-src {{ gitlab_repo_url }} {{ ansible_facts.distribution_release }} main"
34- state : " present "
39+ state : " absent "
3540 filename : " gitlab_{{ gitlab_edition }}"
3641 mode : " 0644"
3742
Original file line number Diff line number Diff line change 66---
77zammad_version : " 6.4.1"
88zammad_release_channel : " stable"
9+ zammad_repo_url : " https://dl.packager.io/srv/deb/zammad/zammad/{{ zammad_release_channel }}/{{ ansible_facts.distribution | lower }}"
910zammad_domain_name : " {{ ansible_fqdn }}"
1011
1112zammad_nginx_config_path : " /etc/nginx/sites-available/zammad.conf"
Original file line number Diff line number Diff line change 4545 - name : " Install | Add Zammad apt key"
4646 ansible.builtin.apt_key :
4747 url : " https://dl.packager.io/srv/zammad/zammad/key"
48- state : " present "
48+ state : " absent "
4949
5050 - name : " Install | Add Zammad DEB repository"
51- ansible.builtin.apt_repository :
52- repo : " deb https://dl.packager.io/srv/deb/zammad/zammad/{{ zammad_release_channel }}/ubuntu {{ ansible_distribution_version }} main"
51+ ansible.builtin.deb822_repository :
52+ name : " zammad"
53+ types : " deb"
54+ uris : " {{ zammad_repo_url }}"
55+ suites : " {{ ansible_distribution_version }}"
56+ components : " main"
57+ signed_by : " https://dl.packager.io/srv/zammad/zammad/key"
5358 state : " present"
54- filename : " zammad"
55- update_cache : true
5659 mode : " 0644"
60+ enabled : true
5761
5862- name : " Gather the package facts to check wether Zammad has already been installed"
5963 ansible.builtin.package_facts :
You can’t perform that action at this time.
0 commit comments