diff --git a/dotfiles.yml b/dotfiles.yml index f72a5f4..fc70638 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -14,5 +14,5 @@ - python - readline #- ssh - #- tmux + - tmux - vim diff --git a/dotfiles/.config/tmux/tmux.conf b/roles/tmux/files/tmux.conf similarity index 100% rename from dotfiles/.config/tmux/tmux.conf rename to roles/tmux/files/tmux.conf diff --git a/roles/tmux/tasks/main.yml b/roles/tmux/tasks/main.yml new file mode 100644 index 0000000..92e3311 --- /dev/null +++ b/roles/tmux/tasks/main.yml @@ -0,0 +1,13 @@ +--- +- name: Create the tmux config directory + file: + path: ~/.config/tmux + state: directory + +- name: Deploy tmux config + file: + src: "{{ role_path }}/files/tmux.conf" + dest: ~/.config/tmux/tmux.conf + state: link + force: yes +