Skip to content

Commit

Permalink
feat(tmux): added tmux plugin installation and upgrade stepes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNabokikh committed Apr 25, 2023
1 parent 39e86f7 commit b3610c9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
20 changes: 5 additions & 15 deletions default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ downloads: ~/.ansible-downloads/

configure_dotfiles: true
configure_gpg: false
configure_osx: true
configure_osx: false
configure_terminal: true
configure_vundle: true
install_oh_my_zsh: false
configure_tmux: false
install_oh_my_zsh: true
install_vim_plug: false

create_directories: true
directories:
Expand All @@ -27,18 +28,9 @@ dockitems_persist:
- name: Firefox
path: /Applications/Firefox.app/
pos: 1
- name: Slack
path: /Applications/Slack.app/
pos: 2
- name: Notion
path: /Applications/Notion.app/
pos: 3
- name: Terminal
path: /System/Applications/Utilities/Terminal.app
pos: 4
- name: Visual Studio Code
path: /Applications/Visual Studio Code.app/
pos: 5
pos: 2

configure_sudoers: true
sudoers_custom_config: |
Expand Down Expand Up @@ -87,8 +79,6 @@ homebrew_cask_apps:

mas_installed_apps:
- {id: 937984704, name: Amphetamine}
- {id: 984968384, name: Redacted}
- {id: 1529448980, name: Reeder 5.}
mas_email: ""
mas_password: ""

Expand Down
4 changes: 2 additions & 2 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
- name: Include tmux task configuration.
ansible.builtin.import_tasks:
file: tasks/tmux.yml
when: configure_terminal
tags: ["terminal"]
when: configure_tmux
tags: ["tmux"]

- name: Include terminal task configuration.
ansible.builtin.import_tasks:
Expand Down
6 changes: 6 additions & 0 deletions tasks/tmux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
version: master
clone: true
update: true

- name: Install plugins.
ansible.builtin.command: ~/.tmux/plugins/tpm/bin/install_plugins

- name: Update plugins.
ansible.builtin.command: ~/.tmux/plugins/tpm/bin/update_plugins all

0 comments on commit b3610c9

Please sign in to comment.