Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinth committed Jul 2, 2024
1 parent 2c491c2 commit 435c3df
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion playbooks/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- include: ../roles/update-apt.yaml
when: ansible_distribution == "Debian" or ansible_distribution == "Linux Mint" or ansible_distribution == "Ubuntu"
- include: ../roles/update-osx.yaml
when: ansible_distribution == "MacOSX"
when: ansible_distribution == "MacOSX"
2 changes: 1 addition & 1 deletion roles/configure_vim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
- editor
- vi
- vim
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' or ansible_distribution == 'Linux Mint'
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' or ansible_distribution == 'Linux Mint'
1 change: 0 additions & 1 deletion roles/configure_zsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@
line: "plugins=({{zsh_plugins + ' fzf zsh-autosuggestions zsh-syntax-highlighting ' + zsh_plugins_osx}})"
loop: "{{ users }}"
when: inventory_hostname in groups['osx']

2 changes: 1 addition & 1 deletion roles/install_fonts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@
value: "'{{ default_terminal_font }}'"
state: present
loop: "{{ users }}"
when: ansible_system == 'Linux'
when: ansible_system == 'Linux'
2 changes: 1 addition & 1 deletion roles/install_homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
- name: Add exception for dubious ownership in /opt/homebrew | cmd
ansible.builtin.command:
cmd: "git config --global --ad safe.directory /opt/homebrew"
become: true
become: true
2 changes: 1 addition & 1 deletion roles/install_xcode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- name: Run the installation script | script
ansible.builtin.script: ./files/install_xcode_clt_on_osx.sh
args:
creates: /Library/Developer/CommandLineTools
creates: /Library/Developer/CommandLineTools
3 changes: 3 additions & 0 deletions roles/proxmox-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- name: Deploy Proxmox server (R230)
hosts: r230-proxmox
tasks:
2 changes: 1 addition & 1 deletion roles/required_pkgs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
- include: ./required_pkgs_apt.yaml
when: ansible_distribution == "Debian" or ansible_distribution == "Ubuntu" or ansible_distribution == "Linux Mint"
- include: ./required_pkgs_osx.yaml
when: ansible_distribution == "MacOSX"
when: ansible_distribution == "MacOSX"
2 changes: 1 addition & 1 deletion roles/required_pkgs_osx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@
- name: Install Reeder 5 on MacOS | mas
community.general.mas:
id: 1529445840
state: present
state: present
3 changes: 1 addition & 2 deletions roles/update-apt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
state: latest
name: "*"
force_apt_get: true
state: latest
autoremove: true
update_cache: true
register: output
- name: Show output
debug: msg="{{ output.stdout_lines }}"
when: output.changed
when: output.changed
2 changes: 1 addition & 1 deletion roles/update-osx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
community.general.homebrew:
update_homebrew: true
upgrade_all: true
greedy: true
greedy: true

0 comments on commit 435c3df

Please sign in to comment.