From 9a03f40c2fc1137fa45be464ae936641a6709988 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Fri, 17 Feb 2023 14:32:35 +0100 Subject: [PATCH] Document how to override swap_device --- etc/kayobe/ansible/swap.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/kayobe/ansible/swap.yml b/etc/kayobe/ansible/swap.yml index e47397212..97d7a5a0b 100644 --- a/etc/kayobe/ansible/swap.yml +++ b/etc/kayobe/ansible/swap.yml @@ -6,7 +6,9 @@ # * swap_group: Host pattern against which to target the playbook. Default is # 'overcloud'. # * swap_device: Name of the swap device to configure. Default is -# '/dev/rootvg/lv_swap'. +# '/dev/rootvg/lv_swap'. To use a different value, set an extra +# var (e.g. in $KAYOBE_CONFIG_PATH/swap.yml) because play vars +# take precedence over any inventory variable. - name: Configure swap hosts: "{{ swap_group | default('overcloud') }}"