We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d701e00 commit a6e33c4Copy full SHA for a6e33c4
tasks/pool-partition-default.yml
@@ -1,4 +1,12 @@
1
---
2
+- name: Install parted for partition management
3
+ package:
4
+ name: parted
5
+ state: present
6
+ register: parted_installed
7
+ # update this condition when current use_partitions issue (#5) is fixed.
8
+ when: "use_partitions and ['parted'] is not subset(ansible_facts.packages.keys()) \
9
+ and parted_installed is undefined and not ansible_check_mode"
10
11
- block:
12
- name: set up partition parameters
0 commit comments