Align naming scheme for "daily drivers" installs
Daily driver installs from pacman, yay, and snap should all share a similar naming convention. This will be "<package manager>_daily_drivers" from now on.
This commit is contained in:
33
ansible/snap_daily_drivers/tasks/main.yml
Normal file
33
ansible/snap_daily_drivers/tasks/main.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
# Snap Installs
|
||||
- name: Ensure snap installed
|
||||
community.general.pacman:
|
||||
name: snapd
|
||||
state: present
|
||||
become: yes
|
||||
- name: Ensure snapd service running
|
||||
ansible.builtin.systemd:
|
||||
name: snapd.socket
|
||||
state: started
|
||||
enabled: yes
|
||||
become: yes
|
||||
- name: Link /var/lib/snapd/snap /snap
|
||||
ansible.builtin.file:
|
||||
src: /var/lib/snapd/snap
|
||||
dest: /snap
|
||||
owner: root
|
||||
group: root
|
||||
state: link
|
||||
become: yes
|
||||
- name: Install snap-store
|
||||
community.general.snap:
|
||||
name: snap-store
|
||||
state: present
|
||||
become: yes
|
||||
retries: 6
|
||||
delay: 10
|
||||
- name: Install spotify
|
||||
community.general.snap:
|
||||
name: spotify
|
||||
state: present
|
||||
become: yes
|
||||
Reference in New Issue
Block a user