You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/register/can_register.yml

22 lines
498 B
YAML

- hosts: testhost
gather_facts: false
tasks:
- name: test registering
debug: msg='does nothing really but register this'
register: debug_msg
- name: validate registering
assert:
that:
- debug_msg is defined
- name: test registering skipped
debug: msg='does nothing really but register this'
when: false
register: debug_skipped
- name: validate registering
assert:
that:
- debug_skipped is defined