File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 4
4
become : true
5
5
vars :
6
6
storage_safe_mode : false
7
- mount_location1 : ' /opt/test1'
8
- mount_location2 : ' /opt/test2'
9
7
pv_size : ' 8g'
10
- volume1_size : ' 2g'
11
- volume2_size : ' 3g'
12
8
tags :
13
9
- tests::lvm
14
10
57
53
state : present
58
54
volumes :
59
55
- name : test1
60
- size : " {{ volume1_size }}"
61
- mount_point : " {{ mount_location1 }}"
62
- - name : test2
63
- size : " {{ volume2_size }}"
64
- mount_point : " {{ mount_location2 }}"
56
+ size : 100%
65
57
66
58
- name : Verify role results
67
59
include_tasks : verify-role-results.yml
77
69
state : present
78
70
volumes :
79
71
- name : test1
80
- size : " {{ volume1_size }}"
81
- mount_point : " {{ mount_location1 }}"
82
- - name : test2
83
- size : " {{ volume2_size }}"
84
- mount_point : " {{ mount_location2 }}"
72
+ size : 100%
85
73
86
74
- name : Verify role results
87
75
include_tasks : verify-role-results.yml
96
84
state : " absent"
97
85
volumes :
98
86
- name : test1
99
- - name : test2
100
87
101
88
- name : Verify role results
102
89
include_tasks : verify-role-results.yml
You can’t perform that action at this time.
0 commit comments