diff --git a/playbooks/group_vars/all/cni.yml b/playbooks/group_vars/all/cni.yml index 5536b6d..421cb7a 100644 --- a/playbooks/group_vars/all/cni.yml +++ b/playbooks/group_vars/all/cni.yml @@ -1,4 +1,10 @@ --- -cni_plugins_version: "v1.5.1" -cni_plugins_install_path: /opt/cni/bin -cni_plugins_install_consul_cni: true +############### +# cni plugins # +############### + +# hashistack_cni_plugins_version: +# hashistack_cni_plugins_install_path: +# hashistack_cni_plugins_install_consul_cni: +# hashistack_cni_user: +# hashistack_cni_group: diff --git a/playbooks/group_vars/all/cni_default.yml b/playbooks/group_vars/all/cni_default.yml new file mode 100644 index 0000000..c642daf --- /dev/null +++ b/playbooks/group_vars/all/cni_default.yml @@ -0,0 +1,19 @@ +--- +############### +# cni plugins # +############### + +hashistack_default_cni_plugins_version: "v1.5.1" +cni_plugins_version: "{{ hashistack_cni_plugins_version | default(hashistack_default_cni_plugins_version) }}" + +hashistack_default_cni_plugins_install_path: /opt/cni/bin +cni_plugins_install_path: "{{ hashistack_cni_plugins_install_path | default(hashistack_default_cni_plugins_install_path) }}" + +hashistack_default_cni_plugins_install_consul_cni: true +cni_plugins_install_consul_cni: "{{ hashistack_cni_plugins_install_consul_cni | default(hashistack_default_cni_plugins_install_consul_cni) }}" + +hashistack_default_cni_user: nomad +cni_user: "{{ hashistack_cni_user | default(hashistack_default_cni_user) }}" + +hashistack_default_cni_group: nomad +cni_group: "{{ hashistack_cni_group | default(hashistack_default_cni_group) }}"