diff --git a/playbooks/build.yml b/playbooks/build.yml index e216b9b..797526b 100644 --- a/playbooks/build.yml +++ b/playbooks/build.yml @@ -25,6 +25,13 @@ delegate_to: localhost run_once: yes + - assert: + that: + - startup == 'all' or startup == 'host' + msg: "startup must be either 'all' or 'host'" + delegate_to: localhost + run_once: yes + - name: Create the lab cisco.cml.cml_lab: host: "{{ cml_host }}"