--- - fail: msg="This Role only works when Option 'system.enableOwnRepos' is true!" when: - services.frps.enable is defined and services.frps.enable is true - system.enableOwnRepos is false - import_tasks: checks.yml when: - services.frps.enable is defined - services.frps.enable is true - import_tasks: install.yml when: - services.frps.enable is defined - services.frps.enable is true - import_tasks: configure.yml when: - services.frps.enable is defined - services.frps.enable is true - import_tasks: nginx.yml when: - services.frps.enable is defined - services.frps.enable is true - services.frps.nginx.enable is defined - services.frps.nginx.enable is true - import_tasks: start.yml when: - services.frps.enable is defined - services.frps.enable is true - meta: flush_handlers