File tree Expand file tree Collapse file tree 2 files changed +48
-2
lines changed Expand file tree Collapse file tree 2 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 2626 name : " {{ gitlab_edition }}"
2727 types : " deb"
2828 uris : " {{ gitlab_repo_url }}"
29- suites : " {{ ansible_facts.distribution_release }}"
29+ suites : " {{ ansible_facts.distribution_release | lower }}"
3030 components : " main"
3131 signed_by : " {{ gitlab_gpg_key_url }}"
32+ architectures : " amd64"
3233 state : " present"
3334 mode : " 0644"
3435 enabled : true
3536
37+ - name : " Find files"
38+ ansible.builtin.find :
39+ paths : " /etc/apt/sources.list.d"
40+ recurse : yes
41+ register : " sources"
42+ tags :
43+ - " skip_ansible_lint"
44+
45+ - name : " Debugging"
46+ ansible.builtin.debug :
47+ var : " sources"
48+ ignore_errors : true
49+ tags :
50+ - " skip_ansible_lint"
51+
52+ - name : " Debugging"
53+ ansible.builtin.debug :
54+ msg : " {{ lookup('ansible.builtin.file', '/etc/apt/sources.list.d/gitlab-ce.sources')}}"
55+ ignore_errors : true
56+ tags :
57+ - " skip_ansible_lint"
58+
3659 - name : " Remove GitLab source APT repository"
3760 ansible.builtin.apt_repository :
3861 repo : " deb-src {{ gitlab_repo_url }} {{ ansible_facts.distribution_release }} main"
Original file line number Diff line number Diff line change 4040 name : " zammad"
4141 types : " deb"
4242 uris : " {{ zammad_repo_url }}"
43- suites : " {{ ansible_distribution_version }}"
43+ suites : " {{ ansible_facts.distribution_version }}"
4444 components : " main"
4545 signed_by : " https://dl.packager.io/srv/zammad/zammad/key"
46+ architectures : " amd64"
4647 state : " present"
4748 mode : " 0644"
4849 enabled : true
4950
51+ - name : " Find files"
52+ ansible.builtin.find :
53+ paths : " /etc/apt/sources.list.d"
54+ recurse : yes
55+ register : " sources"
56+ tags :
57+ - " skip_ansible_lint"
58+
59+ - name : " Debugging"
60+ ansible.builtin.debug :
61+ var : " sources"
62+ ignore_errors : true
63+ tags :
64+ - " skip_ansible_lint"
65+
66+ - name : " Debugging"
67+ ansible.builtin.debug :
68+ msg : " {{ lookup('ansible.builtin.file', '/etc/apt/sources.list.d/zammad.sources')}}"
69+ ignore_errors : true
70+ tags :
71+ - " skip_ansible_lint"
72+
5073- name : " Gather the package facts to check wether Zammad has already been installed"
5174 ansible.builtin.package_facts :
5275 manager : " auto"
You can’t perform that action at this time.
0 commit comments