2021-01-31 17:21:39 -06:00
|
|
|
---
|
2021-02-01 05:15:45 -06:00
|
|
|
# Cross-platform package management.
|
2021-01-31 17:21:39 -06:00
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Cache Refresh (Apt and Pacman)
|
2021-02-01 06:36:00 -06:00
|
|
|
package:
|
|
|
|
update_cache: yes
|
|
|
|
when: ansible_pkg_mgr in ["apt", "pacman"]
|
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Cache Refresh (FreeBSD)
|
2021-02-01 06:52:28 -06:00
|
|
|
shell: pkg update
|
|
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Install Software
|
2020-12-21 04:50:02 -06:00
|
|
|
package:
|
|
|
|
name:
|
2021-02-01 07:04:41 -06:00
|
|
|
- bash
|
2021-02-03 12:38:42 -06:00
|
|
|
- sudo
|
2020-12-21 04:50:02 -06:00
|
|
|
- htop
|
2021-02-03 12:44:06 -06:00
|
|
|
- nmap
|
2020-12-21 04:50:02 -06:00
|
|
|
- neofetch
|
2021-01-31 13:02:29 -06:00
|
|
|
- "{{ sshfs }}"
|
2021-02-02 20:22:36 -06:00
|
|
|
- "{{ locate }}"
|
2021-01-31 18:02:37 -06:00
|
|
|
state: present
|
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Update Software (Disabled)
|
2021-02-01 06:40:23 -06:00
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- ansible
|
|
|
|
- git
|
|
|
|
state: latest
|
2021-02-06 15:38:16 -06:00
|
|
|
when: 1 == 0
|
2021-02-01 06:40:23 -06:00
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Remove Software
|
2021-01-31 18:02:37 -06:00
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- cowsay # Sorry ;)
|
2021-02-06 15:33:26 -06:00
|
|
|
- chromium
|
|
|
|
- chromium-browser
|
2021-02-01 05:15:45 -06:00
|
|
|
state: absent
|
|
|
|
|
2021-02-01 06:40:23 -06:00
|
|
|
# TODO: Confirm if Ubuntu still uses snap for critical components like GNOME.
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: General | Software | Packages | Remove Software (Besides Ubuntu)
|
2021-02-01 05:15:45 -06:00
|
|
|
package:
|
|
|
|
name:
|
2021-02-01 05:03:27 -06:00
|
|
|
- snapd
|
2021-01-31 18:06:02 -06:00
|
|
|
state: absent
|
2021-02-01 05:15:45 -06:00
|
|
|
when: ansible_distribution != "Ubuntu"
|