diff --git a/roles/_init/defaults/main.yml b/roles/_init/defaults/main.yml index 01249906a..7b7c06560 100644 --- a/roles/_init/defaults/main.yml +++ b/roles/_init/defaults/main.yml @@ -4,6 +4,7 @@ _init: # This is used to detect if the playbook must re-run or not. vars_dirs: [] force_play: false + ce_provision_version: 2.x # Outputted by the _init role at the start of plays. # Although these variables logically belong with ce_provision, the _init role needs to # gather the extra variables if there are any, so there are _init variables. diff --git a/roles/_init/tasks/main.yml b/roles/_init/tasks/main.yml index 39c368378..357f94c5e 100644 --- a/roles/_init/tasks/main.yml +++ b/roles/_init/tasks/main.yml @@ -1,4 +1,8 @@ --- +- name: Version check. + ansible.builtin.debug: + msg: "Using ce-provision {{ _init.ce_provision_version }}" + - name: Check OS family. when: ansible_os_family != "Debian" block: