summaryrefslogtreecommitdiffstats
path: root/bootstrap.yml
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.yml')
-rw-r--r--bootstrap.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/bootstrap.yml b/bootstrap.yml
index a7f55e13..056ac99d 100644
--- a/bootstrap.yml
+++ b/bootstrap.yml
@@ -7,9 +7,16 @@
- ubuntu.local
- rpi5.local
roles:
- - role: "package_cache"
- role: "hostname"
- role: "network"
- role: "user"
- role: "ssh"
- role: "password_policy"
+ pre_tasks:
+ - name: "Update package cache"
+ become: true
+ ansible.builtin.package:
+ update_cache: true
+ async: 60
+ poll: 5
+ failed_when: false