summaryrefslogtreecommitdiff
path: root/roles/tmux/tasks
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-28 16:08:42 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-28 16:14:56 +0200
commit68515bbb478f326a252ca688fcc97f3fdc8c4f97 (patch)
tree05954f1bf339c6ad973ed07736e0d328d5fbe3db /roles/tmux/tasks
downloadansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.tar.gz
ansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.tar.bz2
ansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.zip
Initial commit, finally got around to cleanup and make it into a
gitrepo.
Diffstat (limited to 'roles/tmux/tasks')
-rw-r--r--roles/tmux/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/tmux/tasks/main.yml b/roles/tmux/tasks/main.yml
new file mode 100644
index 0000000..76e918e
--- /dev/null
+++ b/roles/tmux/tasks/main.yml
@@ -0,0 +1,15 @@
+---
+
+- name: Install tmux and htop
+ become: yes
+ pacman: name={{ item }} state=present update_cache=yes
+ with_items:
+ - tmux
+ - htop
+
+- name: Copy tmux config
+ become: yes
+ become_user: "{{ normal_user }}"
+ copy: src=tmux.conf dest=/home/{{ normal_user }}/.tmux.conf
+
+