aboutsummaryrefslogtreecommitdiff
path: root/playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yml')
-rw-r--r--playbook.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/playbook.yml b/playbook.yml
new file mode 100644
index 0000000..2db2c68
--- /dev/null
+++ b/playbook.yml
@@ -0,0 +1,16 @@
+---
+- hosts: arb
+ vars_files:
+ - vars.yml
+ gather_facts: false
+ sudo: yes
+
+ tasks:
+ - group: name=fiken
+ - user: name=fiken comment="Topi Fiken" group=fiken home=/opt/fiken shell=/bin/bash
+ - file: dest=/opt/fiken/bin state=directory owner=fiken
+ - file: dest=/opt/fiken/opt state=directory owner=fiken
+ - git: repo=git://github.com/trygvis/appmgr
+ dest=/opt/fiken/opt/appmgr
+ accept_hostkey=true
+ - copy: src=files/bin/ dest=/opt/fiken/bin force=yes