39 lines
678 B
YAML
Raw Normal View History

---
# Cross-platform package management.
- name: Repo Cache Refresh
package:
update_cache: yes
when: ansible_pkg_mgr in ["apt", "pacman"]
- name: Install Repo Software
package:
name:
- htop
- neofetch
2021-01-31 13:02:29 -06:00
- "{{ sshfs }}"
- locate
state: present
- name: Update Repo Software
package:
name:
- ansible
- git
- sudo
state: latest
- name: Remove Repo Software
package:
name:
- cowsay # Sorry ;)
state: absent
# TODO: Confirm if Ubuntu still uses snap for critical components like GNOME.
- name: Remove Repo Software
package:
name:
- snapd
state: absent
when: ansible_distribution != "Ubuntu"