Removing an host out of playbook execution

Something like this will take it out of rotation for all remaining plays:

note that I’m assuming False shouldn’t be a String here

tasks:

  • fail: msg=“missing IP address on host”
    when: not myswitch.ipaddr