blob: 1060b61cf435e1dfaa45f92614aaab76a3e821f0 (
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
|
- name: Pre-flight checks and package installation
hosts: pad
become: true
gather_facts: false
pre_tasks:
- name: Ensure ntpdate is installed for time sync
ansible.builtin.apt:
name: ntpdate
state: present
update_cache: yes
- name: Synchronize system clock
ansible.builtin.command: ntpdate pool.ntp.org
changed_when: true
- name: Ensure ACL package is installed
ansible.builtin.apt:
name: acl
state: present
- name: Load vars
hosts: pad
tags: always
tasks:
- include_vars:
file: vagrant-vars.yml
- name: Set up pad proxy
hosts: pad
tags: proxy
roles:
- pad-proxy
- name: Set up pad
hosts: pad
tags: pad
roles:
- pad
|