--- - import_tasks: checks.yml when: - services.serial2tcp.enable is defined - services.serial2tcp.enable is true - import_tasks: install.yml when: - services.serial2tcp.enable is defined - services.serial2tcp.enable is true - import_tasks: configure.yml when: - services.serial2tcp.enable is defined - services.serial2tcp.enable is true - import_tasks: start.yml when: - services.serial2tcp.enable is defined - services.serial2tcp.enable is true - import_tasks: remove.yml when: - services.serial2tcp.enable is defined - services.serial2tcp.enable is false - meta: flush_handlers