Split misc role into actual steps
This commit is contained in:
parent
5a647e07bf
commit
85f0dd8870
8 changed files with 88 additions and 70 deletions
22
roles/tmux/tasks/main.yaml
Normal file
22
roles/tmux/tasks/main.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: install required packages
|
||||
package:
|
||||
name:
|
||||
- tmux
|
||||
state: latest
|
||||
|
||||
- name: install tmux plugin manager
|
||||
become_user: "{{ account.name }}"
|
||||
git:
|
||||
repo: https://github.com/tmux-plugins/tpm.git
|
||||
dest: "{{ account.home }}/.tmux/plugins/tpm"
|
||||
accept_hostkey: yes
|
||||
update: no
|
||||
|
||||
- name: install tmux config
|
||||
become_user: "{{ account.name }}"
|
||||
shell:
|
||||
chdir: "{{ dotfiles }}/tmux"
|
||||
cmd: ./install.sh
|
||||
creates: "{{ account.home }}/.tmux.conf"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue