Open meotimdihia opened 9 months ago
I have this task. Is there a way to skip the role when nothing was changed in Ansible? (the role took a lot of time) But I also want it to reinstall when I change targets
the role
targets
tasks: - name: Install newrelic ansible.builtin.import_role: name: "newrelic.newrelic_install" vars: targets: - infrastructure - logs tags: ["newrelic"]
I have this task. Is there a way to skip
the role
when nothing was changed in Ansible? (the role took a lot of time) But I also want it to reinstall when I changetargets