aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.yml
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-14 00:18:24 +0800
committerAaron LI <aly@aaronly.me>2018-02-14 00:20:47 +0800
commit7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9 (patch)
treeba9e2c9005f630814681b3a10bfc9a00a2e3bac4 /bootstrap.yml
downloadansible-dfly-vps-7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9.tar.bz2
Init ansible playbook for DFly VPS bootstrap
Diffstat (limited to 'bootstrap.yml')
-rw-r--r--bootstrap.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/bootstrap.yml b/bootstrap.yml
new file mode 100644
index 0000000..d01d38e
--- /dev/null
+++ b/bootstrap.yml
@@ -0,0 +1,16 @@
+---
+# To override the bootstrapping host:
+# $ ansible-playbook bootstrap.yml --extra-vars "host=<host>"
+#
+- name: Bootstrap hosts for Ansible deployment :-)
+ hosts: "{{ host | default('all') }}"
+ user: root
+ gather_facts: false
+
+ vars:
+ deploy_user: ansible
+
+ roles:
+ - bootstrap
+
+# vim: set ft=yaml sw=2: #