summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/debugger/test_run_once_playbook.yml
blob: ede3a5370745ad1deea5e9738a04c14a11680cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- hosts: testhost, testhost2
  gather_facts: false
  debugger: on_failed
  tasks:
    - name: Task 1
      assert:
        that: 'false'
      run_once: yes

    - name: Task 2
      debug:
        msg: "Task 2 executed"