aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--provision.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/provision.yaml b/provision.yaml
index 89c4080..8a65eec 100644
--- a/provision.yaml
+++ b/provision.yaml
@@ -1,11 +1,13 @@
---
- hosts: all
+ any_errors_fatal: true
gather_facts: no
pre_tasks:
- name: Install Python 2 for Ansible fact gathering
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
- hosts: all
+ any_errors_fatal: true
tasks:
- name: Update Ubuntu server
apt: