summaryrefslogtreecommitdiffstats
path: root/vagrant-playbook.yml
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-09-22 14:28:30 -0400
committerSacha Chua <sacha@sachachua.com>2025-09-22 14:28:30 -0400
commit5c81e73d546fbc804477f4c4a5145400e2daac3e (patch)
tree0fbc2edf0b4952f15f0151e1f9a9f40df3bc1d64 /vagrant-playbook.yml
parent8f272a96965fb15be36ce3666e1f7533353759b0 (diff)
downloademacsconf-ansible-5c81e73d546fbc804477f4c4a5145400e2daac3e.tar.xz
emacsconf-ansible-5c81e73d546fbc804477f4c4a5145400e2daac3e.zip
Switch to systemli.etherpad role: currently installs etherpad 2.5.0
Diffstat (limited to '')
-rw-r--r--vagrant-playbook.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/vagrant-playbook.yml b/vagrant-playbook.yml
new file mode 100644
index 0000000..27f5e34
--- /dev/null
+++ b/vagrant-playbook.yml
@@ -0,0 +1,41 @@
+- name: Pre-flight checks and package installation
+ hosts: pad
+ become: true
+ gather_facts: false # Optional, but can speed up this initial step
+ 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
+# - name: Load local vars
+# hosts: localhost
+# tags: always
+# tasks:
+# - include_vars:
+# file: vagrant-vars.yml
+# - name: Run common tasks
+# import_playbook: common-playbook.yml