|
11 | 11 | - libicu57 |
12 | 12 | state: present |
13 | 13 | update_cache: true |
14 | | - when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "9") |
| 14 | + when: (ansible_facts.distribution == "Debian" and ansible_facts.distribution_major_version == "9") |
15 | 15 |
|
16 | 16 | - name: Install dependencies on Debian Buster |
17 | 17 | ansible.builtin.package: |
|
24 | 24 | - libicu63 |
25 | 25 | state: present |
26 | 26 | update_cache: true |
27 | | - when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "10") |
| 27 | + when: (ansible_facts.distribution == "Debian" and ansible_facts.distribution_major_version == "10") |
28 | 28 |
|
29 | 29 | - name: Install dependencies on Debian Bullseye |
30 | 30 | ansible.builtin.package: |
|
37 | 37 | - libicu67 |
38 | 38 | state: present |
39 | 39 | update_cache: true |
40 | | - when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "11") |
| 40 | + when: (ansible_facts.distribution == "Debian" and ansible_facts.distribution_major_version == "11") |
41 | 41 |
|
42 | 42 | - name: Install dependencies on Debian Bookworm |
43 | 43 | ansible.builtin.package: |
|
50 | 50 | - libicu72 |
51 | 51 | state: present |
52 | 52 | update_cache: true |
53 | | - when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "12") |
| 53 | + when: (ansible_facts.distribution == "Debian" and ansible_facts.distribution_major_version == "12") |
54 | 54 |
|
55 | 55 | - name: Install dependencies on Ubuntu Xenial systems |
56 | 56 | ansible.builtin.package: |
|
63 | 63 | - libicu55 |
64 | 64 | state: present |
65 | 65 | update_cache: true |
66 | | - when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "16") |
| 66 | + when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "16") |
67 | 67 |
|
68 | 68 | - name: Install dependencies on Ubuntu Bionic systems |
69 | 69 | ansible.builtin.package: |
|
76 | 76 | - libicu60 |
77 | 77 | state: present |
78 | 78 | update_cache: true |
79 | | - when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "18") |
| 79 | + when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "18") |
80 | 80 |
|
81 | 81 | - name: Install dependencies on Ubuntu Focal systems |
82 | 82 | ansible.builtin.package: |
|
89 | 89 | - libicu66 |
90 | 90 | state: present |
91 | 91 | update_cache: true |
92 | | - when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "20") |
| 92 | + when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "20") |
93 | 93 |
|
94 | 94 | - name: Install dependencies on Ubuntu Jammy systems |
95 | 95 | ansible.builtin.package: |
|
101 | 101 | - libicu70 |
102 | 102 | state: present |
103 | 103 | update_cache: true |
104 | | - when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "22") |
| 104 | + when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "22") |
105 | 105 |
|
106 | 106 | - name: Install dependencies on RHEL/CentOS/Fedora systems |
107 | 107 | ansible.builtin.package: |
|
113 | 113 | - libicu |
114 | 114 | state: present |
115 | 115 | update_cache: true |
116 | | - when: (ansible_distribution == "RedHat") or |
117 | | - (ansible_distribution == "CentOS") or |
118 | | - (ansible_distribution == "Fedora") or |
119 | | - (ansible_distribution == "Rocky") |
| 116 | + when: (ansible_facts.distribution == "RedHat") or |
| 117 | + (ansible_facts.distribution == "CentOS") or |
| 118 | + (ansible_facts.distribution == "Fedora") or |
| 119 | + (ansible_facts.distribution == "Rocky") |
0 commit comments