--- - import_tasks: install.yml when: - services.postgresql.enable is defined - services.postgresql.enable is true - import_tasks: start.yml when: - services.postgresql.enable is defined - services.postgresql.enable is true - import_tasks: remove.yml when: - services.postgresql.enable is defined - services.postgresql.enable is false