File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 33 config : " {{ disk_additional_disks }}"
44 register : __disk_config
55 when : disk_discover_aws_nvme_ebs | default(True) | bool
6+ tags : ['disk']
67
78- name : setting fact if ansible version is 2.5 or older
89 block :
910 - set_fact :
1011 disk_additional_disks : " {{ __disk_config['ansible_facts']['config'] }}"
1112 when : __disk_config is defined and __disk_config | success and 'ansible_facts' in __disk_config
1213 when : ansible_version.full is version('2.5.0', '<')
14+ tags : ['disk']
1315
1416- name : setting fact if ansible version is newer than 2.5
1517 block :
1618 - set_fact :
1719 disk_additional_disks : " {{ __disk_config['ansible_facts']['config'] }}"
18- when : __disk_config is defined and __disk_config is not successful and 'ansible_facts' in __disk_config
20+ when : __disk_config is defined and __disk_config is successful and 'ansible_facts' in __disk_config
1921 when : ansible_version.full is version('2.5.0', '>=')
22+ tags : ['disk']
2023
2124- name : " Install parted"
2225 package :
You can’t perform that action at this time.
0 commit comments