File tree Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 52
52
- import_role :
53
53
name : proxy
54
54
55
+ - hosts : chrony
56
+ gather_facts : false
57
+ tags : chrony
58
+ become : yes
59
+ tasks :
60
+ - import_role :
61
+ name : chrony
62
+
55
63
- hosts : cluster
56
64
gather_facts : false
57
65
become : yes
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ it also requires an image build with the role name added to the
40
40
| bootstrap.yml | (wait for ansible-init) | Not relevant during boot | n/a |
41
41
| bootstrap.yml | resolv_conf | Fully supported | No |
42
42
| bootstrap.yml | etc_hosts | Fully supported | No |
43
+ | bootstrap.yml | chrony | Fully supported | No |
43
44
| bootstrap.yml | proxy | None at present | No |
44
45
| bootstrap.yml | (/etc permissions) | None required - use image build | No |
45
46
| bootstrap.yml | (ssh /home fix) | None required - use image build | No |
Original file line number Diff line number Diff line change 14
14
enable_manila : " {{ os_metadata.meta.manila | default(false) | bool }}"
15
15
enable_basic_users : " {{ os_metadata.meta.basic_users | default(false) | bool }}"
16
16
enable_eessi : " {{ os_metadata.meta.eessi | default(false) | bool }}"
17
+ enable_chrony : " {{ os_metadata.meta.chrony | default(false) | bool }}"
17
18
18
19
# TODO: "= role defaults" - could be moved to a vars_file: on play with similar precedence effects
19
20
resolv_conf_nameservers : []
97
98
98
99
# TODO: should /mnt/cluster now be UNMOUNTED to avoid future hang-ups?
99
100
101
+ - name : Run chrony role
102
+ ansible.builtin.include_role :
103
+ name : mrlesmithjr.chrony
104
+
100
105
- name : Configure resolve.conf
101
106
block :
102
107
- name : Set nameservers in /etc/resolv.conf
Original file line number Diff line number Diff line change 36
36
dest : tasks/tuned.yml
37
37
- src : ../../stackhpc.nfs/tasks/nfs-clients.yml
38
38
dest : tasks/nfs-clients.yml
39
+ - src : ../../mrlesmithjr.chrony
40
+ dest : roles/
39
41
40
42
- name : Add filter_plugins to ansible.cfg
41
43
lineinfile :
Original file line number Diff line number Diff line change
1
+ # Configuration
2
+
3
+ This page provides configuration snippets for various services.
4
+
5
+ ## Chrony
6
+
7
+ Use variables from the [ mrlesmithjr.chrony] ( https://github.com/mrlesmithjr/ansible-chrony ) role.
8
+
9
+ For example in: ` environments/<environment>/inventory/group_vars/all/chrony ` :
10
+
11
+ ```
12
+ ---
13
+ chrony_ntp_servers:
14
+ - server: ntp-0.example.org
15
+ options:
16
+ - option: iburst
17
+ - option: minpoll
18
+ val: 8
19
+ - server: ntp-1.example.org
20
+ options:
21
+ - option: iburst
22
+ - option: minpoll
23
+ val: 8
24
+
25
+ ```
Original file line number Diff line number Diff line change 22
22
- src : https://github.com/stackhpc/ansible-role-os-manila-mount.git
23
23
name : stackhpc.os-manila-mount
24
24
version : v25.1.1
25
+ - src : mrlesmithjr.chrony
26
+ version : v0.1.4
25
27
26
28
collections :
27
29
- name : containers.podman
You can’t perform that action at this time.
0 commit comments