blob: b3efc29681580ef7b2f1757ece8a7e6d4307bdf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
---
- name: "Distro bootstrap configure"
gather_facts: true
# Password policy is technically not required for boot,
# But it's quite nice to configure it for boot and therefore
# enforce the required policies/configurations wanted for the first passwrod change
tags: ["required_for_boot"]
hosts: all
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: 300
poll: 5
failed_when: false
- name: "Dev machines configure"
gather_facts: true
hosts:
- archlinux.local
- ubuntu.local
roles:
- role: "locales"
- role: "timezone"
- role: "wireguard"
- role: "homebrew"
- role: "python"
- name: "Raspberry Pi configure"
gather_facts: true
hosts:
- rpi5.local
become: true
roles:
- role: "locales"
- role: "timezone"
- role: "wireguard"
|