|
4 | 4 | ---
|
5 | 5 | ##### Fedora
|
6 | 6 | - name: Install basic build tools (Fedora)
|
7 |
| - package: name={{item}} state=present |
8 |
| - with_items: |
9 |
| - - gcc |
10 |
| - - make |
11 |
| - - libtool |
12 |
| - - autoconf |
13 |
| - - automake |
| 7 | + package: |
| 8 | + state: present |
| 9 | + name: |
| 10 | + - gcc |
| 11 | + - make |
| 12 | + - libtool |
| 13 | + - autoconf |
| 14 | + - automake |
14 | 15 | when: ansible_distribution == 'Fedora'
|
15 | 16 |
|
16 | 17 | - name: Install dnf-plugins-core for dnf builddep (Fedora)
|
|
22 | 23 | when: ansible_distribution == 'Fedora'
|
23 | 24 |
|
24 | 25 | - name: Install test dependencies (Fedora)
|
25 |
| - package: name={{item}} state=present |
26 |
| - with_items: |
27 |
| - - glibc-all-langpacks |
28 |
| - - python3-polib |
29 |
| - - python3-pocketlint |
30 |
| - - python3-pylint |
31 |
| - - python3-pycodestyle |
| 26 | + package: |
| 27 | + state: present |
| 28 | + name: |
| 29 | + - glibc-all-langpacks |
| 30 | + - python3-polib |
| 31 | + - python3-pocketlint |
| 32 | + - python3-pylint |
| 33 | + - python3-pycodestyle |
32 | 34 | when: ansible_distribution == 'Fedora'
|
33 | 35 |
|
34 | 36 | ##### CentOS
|
35 | 37 | - name: Install basic build tools (CentOS)
|
36 |
| - package: name={{item}} state=present |
37 |
| - with_items: |
38 |
| - - gcc |
39 |
| - - make |
40 |
| - - libtool |
41 |
| - - autoconf |
42 |
| - - automake |
| 38 | + package: |
| 39 | + state: present |
| 40 | + name: |
| 41 | + - gcc |
| 42 | + - make |
| 43 | + - libtool |
| 44 | + - autoconf |
| 45 | + - automake |
43 | 46 | when: ansible_distribution == 'CentOS'
|
44 | 47 |
|
45 | 48 | - name: Install dnf-plugins-core for dnf builddep (CentOS)
|
|
51 | 54 | when: ansible_distribution == 'CentOS'
|
52 | 55 |
|
53 | 56 | - name: Install test dependencies (CentOS)
|
54 |
| - package: name={{item}} state=present |
55 |
| - with_items: |
56 |
| - - glibc-all-langpacks |
57 |
| - - python3-pip |
| 57 | + package: |
| 58 | + state: present |
| 59 | + name: |
| 60 | + - glibc-all-langpacks |
| 61 | + - python3-pip |
58 | 62 | when: ansible_distribution == 'CentOS'
|
59 | 63 |
|
60 | 64 | - name: Install pylint, polib, pycodestyle and pocketlint using pip (CentOS)
|
|
65 | 69 |
|
66 | 70 | ##### Debian/Ubuntu
|
67 | 71 | - name: Install basic build tools (Debian/Ubuntu)
|
68 |
| - package: name={{item}} state=present |
69 |
| - with_items: |
70 |
| - - gcc |
71 |
| - - make |
| 72 | + package: |
| 73 | + state: present |
| 74 | + name: |
| 75 | + - gcc |
| 76 | + - make |
72 | 77 | when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
73 | 78 |
|
74 | 79 | - name: Add source repositories (Debian/Ubuntu)
|
|
87 | 92 | when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
88 | 93 |
|
89 | 94 | - name: Install test dependencies (Debian/Ubuntu)
|
90 |
| - package: name={{item}} state=present |
91 |
| - with_items: |
92 |
| - - locales-all |
93 |
| - - python3-polib |
94 |
| - - python3-pip |
95 |
| - - pycodestyle |
96 |
| - - pylint |
| 95 | + package: |
| 96 | + state: present |
| 97 | + name: |
| 98 | + - locales-all |
| 99 | + - python3-polib |
| 100 | + - python3-pip |
| 101 | + - pycodestyle |
| 102 | + - pylint |
97 | 103 | when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
98 | 104 |
|
99 | 105 | - name: Install pocketlint using pip (Debian/Ubuntu)
|
|
0 commit comments