summaryrefslogtreecommitdiffstats
path: root/bootstrap.yml
blob: 4ebca82a13f6b21b7c779c9561c32e8755954b3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: "Machine bootstrap"
  gather_facts: true
  tags: ["required_for_boot"]
  hosts:
    - archlinux.local
    - ubuntu.local
    - rpi5.local
  roles:
    - 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