File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
ansible/roles/lustre/tasks Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change 42
42
name : " {{ _lustre_find_rpms.files | map(attribute='path')}}"
43
43
disable_gpg_check : yes
44
44
45
- - block :
46
- - name : Remove lustre build prerequisites
47
- # NB Only remove ones this role installed which weren't upgrades
48
- ansible.builtin.dnf :
49
- name : " {{ _new_pkgs }}"
50
- state : absent
51
- vars :
52
- _installed_pkgs : |
53
- {{
54
- _lustre_dnf_build_packages.results |
55
- select('match', 'Installed:') |
56
- map('regex_replace', '^Installed: (.+?)-[0-9].*$', '\1')
57
- }}
58
- _removed_pkgs : |
59
- {{
60
- _lustre_dnf_build_packages.results |
61
- select('match', 'Removed:') |
62
- map('regex_replace', '^Removed: (.+?)-[0-9].*$', '\1')
63
- }}
64
- _new_pkgs : " {{ _installed_pkgs | difference(_removed_pkgs) }}"
65
-
66
- - name : Delete lustre build dir
67
- file :
45
+ - name : Delete lustre build dir
46
+ file :
68
47
path : " {{ lustre_build_dir }}"
69
48
state : absent
70
49
when : lustre_build_cleanup | bool
You can’t perform that action at this time.
0 commit comments