diff options
Diffstat (limited to 'vagrant-playbook.yml')
| -rw-r--r-- | vagrant-playbook.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vagrant-playbook.yml b/vagrant-playbook.yml new file mode 100644 index 0000000..1060b61 --- /dev/null +++ b/vagrant-playbook.yml @@ -0,0 +1,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 |
