Skip to content

Commit feb000f

Browse files
authored
Merge pull request #400 from stackhpc/swap-device-var
Document how to override swap_device
2 parents 87024d3 + 9a03f40 commit feb000f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/kayobe/ansible/swap.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
# * swap_group: Host pattern against which to target the playbook. Default is
77
# 'overcloud'.
88
# * swap_device: Name of the swap device to configure. Default is
9-
# '/dev/rootvg/lv_swap'.
9+
# '/dev/rootvg/lv_swap'. To use a different value, set an extra
10+
# var (e.g. in $KAYOBE_CONFIG_PATH/swap.yml) because play vars
11+
# take precedence over any inventory variable.
1012

1113
- name: Configure swap
1214
hosts: "{{ swap_group | default('overcloud') }}"

0 commit comments

Comments
 (0)