summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2019-01-21 23:25:31 +0100
committerRobin Krahl <me@robin-krahl.de>2019-01-21 23:25:37 +0100
commit1fdc48f687552006d48a1fb7f7a67f31a6430a7f (patch)
treea1b6bc3597674ed8413e81e731683698ac78d68b
parenta1856b66bb30c03ecdcd45c4bab53092049bef59 (diff)
downloadansible-roles-1fdc48f687552006d48a1fb7f7a67f31a6430a7f.tar.gz
ansible-roles-1fdc48f687552006d48a1fb7f7a67f31a6430a7f.tar.bz2
Add basic stow configuration
-rw-r--r--common/tasks/packages.yaml1
-rw-r--r--config/tasks/main.yaml5
2 files changed, 6 insertions, 0 deletions
diff --git a/common/tasks/packages.yaml b/common/tasks/packages.yaml
index 88b1123..bdf6c64 100644
--- a/common/tasks/packages.yaml
+++ b/common/tasks/packages.yaml
@@ -8,6 +8,7 @@
- dash
- gnupg
- "{{ openssh_server }}"
+ - stow
- sudo
- name: Update all packages
apt:
diff --git a/config/tasks/main.yaml b/config/tasks/main.yaml
new file mode 100644
index 0000000..b875a38
--- /dev/null
+++ b/config/tasks/main.yaml
@@ -0,0 +1,5 @@
+- name: Checkout dotfiles
+ git:
+ dest: "/home/{{ user_name }}/.local/share/dotfiles"
+ repo: "https://git.ireas.org/dotfiles"
+ verify_commit: yes