Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Ansible/roles/add_package/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

- name: "Install package(s) - Arch"
community.general.pacman:
update_cache: true
name: "{{ package_arch }}"
state: present
when: ansible_facts['distribution'] == "Archlinux" and (package_arch is defined and package_arch | length > 0)
Expand Down
2 changes: 1 addition & 1 deletion Ansible/roles/update_servers/tasks/alpine.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Update repos"
- name: "Update local repo DB"
community.general.apk:
update_cache: true

Expand Down
5 changes: 1 addition & 4 deletions Ansible/roles/update_servers/tasks/arch.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
---
- name: "Update repos"
community.general.pacman:
update_cache: true

- name: "Get packages to update"
ansible.builtin.shell:
cmd: checkupdates
Expand All @@ -17,6 +13,7 @@

- name: "Update servers"
community.general.pacman:
update_cache: true
upgrade: true

- name: "Get orphan packages"
Expand Down
2 changes: 1 addition & 1 deletion Ansible/roles/update_servers/tasks/debian.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Update repos"
- name: "Update local repo DB"
ansible.builtin.apt:
update_cache: true

Expand Down