Skip to content

Commit

Permalink
Rename homebrew task
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Nov 21, 2023
1 parent d4cc715 commit 4983f8f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 19 deletions.
7 changes: 0 additions & 7 deletions roles/editors/tasks/neovim.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
---
- name: Install iterm2
when: ansible_distribution == 'MacOSX'
community.general.homebrew_cask:
name:
- iterm2
state: present

- name: Install neovim on Linux
when: ansible_distribution != 'MacOSX'
ansible.builtin.package:
Expand Down
9 changes: 4 additions & 5 deletions roles/editors/tasks/vscode.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
- name: Install vscode
when: ansible_distribution == 'MacOSX'
community.general.homebrew_cask:
name:
- visual-studio
state: present
ansible.builtin.include_tasks:
file: shared/homebrew_cask_install.yml
loop:
- {package: "visual-studio", folder: "/Applications/Visual Studio Code.app/"}
2 changes: 1 addition & 1 deletion roles/languages/tasks/sql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Install DBeaver
ansible.builtin.include_tasks:
file: shared/install_apps.yml
file: shared/homebrew_cask_install.yml
loop:
- {package: "dbeaver-community", folder: "/Applications/DBeaver.app/"}
2 changes: 1 addition & 1 deletion roles/macos/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

- name: Install apps
ansible.builtin.include_tasks:
file: shared/install_apps.yml
file: shared/homebrew_cask_install.yml
loop:
- {package: "dropbox", folder: "/Applications/Dropbox.app"}
- {package: "firefox", folder: "/Applications/Firefox.app"}
Expand Down
9 changes: 4 additions & 5 deletions roles/terminal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
become: "{{ become_root }}"

- name: Install iterm2
when: ansible_distribution == 'MacOSX'
community.general.homebrew_cask:
name:
- iterm2
state: present
ansible.builtin.include_tasks:
file: shared/homebrew_cask_install.yml
loop:
- {package: "iterm2", folder: "/Applications/iTerm.app"}

- name: Install tmux
ansible.builtin.package:
Expand Down
File renamed without changes.

0 comments on commit 4983f8f

Please sign in to comment.