Skip to content

Commit

Permalink
Assert on localhost, makes the play stop if the assertion fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 18, 2021
1 parent 6f860af commit 03e9866
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# tasks file for openssh

- name: include assert.yml
include_tasks: assert.yml
import_tasks: assert.yml
run_once: yes
delegate_to: localhost

- name: install openssh
package:
Expand Down

0 comments on commit 03e9866

Please sign in to comment.