From fe1cb340f12310fd7cdd189da425b900f9d372c6 Mon Sep 17 00:00:00 2001 From: jdreichmann Date: Sun, 19 May 2019 18:48:58 +0200 Subject: [PATCH] tmux: Begin basic role which installs tmux and templates the config --- roles/tmux/tasks/.main.yml.swp | Bin 0 -> 12288 bytes roles/tmux/tasks/main.yml | 12 ++++++++++++ .../tmux/templates/{tmux.conf => tmux.conf.j2} | 0 3 files changed, 12 insertions(+) create mode 100644 roles/tmux/tasks/.main.yml.swp create mode 100644 roles/tmux/tasks/main.yml rename roles/tmux/templates/{tmux.conf => tmux.conf.j2} (100%) diff --git a/roles/tmux/tasks/.main.yml.swp b/roles/tmux/tasks/.main.yml.swp new file mode 100644 index 0000000000000000000000000000000000000000..da76f1107b38d8521da59505cd8193e41d20976a GIT binary patch literal 12288 zcmeI&y-ve05C?F#5*uHF7cd~PC27lox~@<)Wl;smi2{OyOT$KDvsWutOW=Lg{dv zXLDVUfB*y*6If#ht!Bg5?(OdI?X9!L+Mo&o5P$##AOHafKmY;|SV{p`*4Q;oUazKK zt@hfly*grp00bZa0SG_<0uX=z1Rwwb2tZ&71w_Kw>pEk{8#Fxq|Nr^?|4!#OiYJOk ziU*2&iaUx4g`wzCbSS2^OZeL{G6Wz10SG_<0uX=z1Rwwb2teRp0-RPNt!wj16#6^t zVO;2x`Ls20n}4Ok%NAvw%*#wT*=7OPBA0D`T4lJeQv>er#B-%x!7qwj^0dejY1pix t^Od|b(n{^7saX&IC3GxBJQRa(y*t{DjGWHEm8GuM(KUTZ&;3CVun#aEa%uno literal 0 HcmV?d00001 diff --git a/roles/tmux/tasks/main.yml b/roles/tmux/tasks/main.yml new file mode 100644 index 0000000..0091816 --- /dev/null +++ b/roles/tmux/tasks/main.yml @@ -0,0 +1,12 @@ +--- + +- name: Ensure tmux is installed + package: + name: tmux + state: present + +- name: Template config file into home folder + template: + src: tmux.conf.j2 + dest: ~/.tmux.conf + diff --git a/roles/tmux/templates/tmux.conf b/roles/tmux/templates/tmux.conf.j2 similarity index 100% rename from roles/tmux/templates/tmux.conf rename to roles/tmux/templates/tmux.conf.j2