--- - name: only one ssh key for root? delegate_to: localhost when: (ssh_keys_root | length) > 1 fail: msg: "users may have at the most one ssh-key" - name: generate initial configuration delegate_to: localhost pause: prompt: "\n## Please apply the following configuration using the serial console!!!\n\n{{ lookup('template', 'init.j2') }}\n\n## end .. press enter to continue!!!!!\n" - name: get config facts from the switch dellos6_facts: gather_subset: - hardware register: switch_facts - debug: var: switch_facts