Skip to content

Commit aec0f7a

Browse files
committed
debug
Signed-off-by: Norman Ziegner <[email protected]>
1 parent e5fbe34 commit aec0f7a

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

roles/gitlab/tasks/install.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,36 @@
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"

roles/zammad/tasks/install.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,36 @@
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"

0 commit comments

Comments
 (0)