diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-26 19:14:40 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-26 19:14:40 +0100 |
| commit | d09f67a9c4f2145bb2f7dfcd93eb0bbdcffd14bf (patch) | |
| tree | af12091688bda5571ec26414d56516fbb6eadb6a /bootstrap.yml | |
| parent | 8f685d383330836caa95ab974279a318764d23a4 (diff) | |
Replace the package_cache role with pre-task since it wasn't reused
It was expected to have the package_cache role reused or added as
dependency for other roles, but it turned out it's not used that way,
therefore removing it to a more simpler approach
Diffstat (limited to 'bootstrap.yml')
| -rw-r--r-- | bootstrap.yml | 9 |
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 |
