In some test frameworks, we can start a test suite by providing a list of empty tests. Then we can implement the tests one by one.
Similarly, I want to start a playbook by only providing the set of tasks I want to execute, without implementing them:
- hosts: localhost
tasks: - name: Step 1
- name: Step 2
- name: Step 3
But this is invalid syntax in Ansible.
Any workarounds available to do this?