-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathmain.yml
More file actions
33 lines (25 loc) · 815 Bytes
/
Copy pathmain.yml
File metadata and controls
33 lines (25 loc) · 815 Bytes
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
---
- name: Configure time pi.
hosts: all
become: true
vars_files: ['config.yml']
handlers:
- name: Include various service handlers.
ansible.builtin.import_tasks: handlers/main.yml
pre_tasks:
- name: Update apt cache.
ansible.builtin.apt:
update_cache: true
cache_valid_time: 1800
tasks:
- name: Configure Raspberry Pi settings.
ansible.builtin.include_tasks: tasks/pi-config.yml
- name: Configure i226 Ethernet interface.
ansible.builtin.include_tasks: tasks/i226.yml
when: i226_force_1gbps
- name: Configure GPS.
ansible.builtin.include_tasks: tasks/gps.yml
- name: Configure chrony.
ansible.builtin.include_tasks: tasks/chrony.yml
- name: Configure PTP.
ansible.builtin.include_tasks: tasks/ptp.yml