Skip to content

Commit 198b76d

Browse files
committed
Fixing non debian OS repo setup
1 parent 0a49c24 commit 198b76d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/rudder_repository/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
when: ansible_facts['os_family'] == "Suse"
66

77
- include_tasks: modern_debian.yml
8-
when: _rudder_modern_debian | bool
8+
when: ansible_facts['os_family'] == "Debian" and _rudder_modern_debian | bool
99

1010
- include_tasks: old_debian.yml
11-
when: not _rudder_modern_debian | bool
11+
when: ansible_facts['os_family'] == "Debian" and not _rudder_modern_debian | bool
1212

1313
- include_tasks: redhat.yml
1414
when: ansible_facts['os_family'] == "RedHat"

0 commit comments

Comments
 (0)