Initial commit
This commit is contained in:
20
roles/mesh11sd/tasks/prepare.yml
Normal file
20
roles/mesh11sd/tasks/prepare.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
# Remove non-mesh wpad packages
|
||||
- name: Remove non-mesh wpad packages
|
||||
opkg:
|
||||
name: "{{ item }}"
|
||||
state: "absent"
|
||||
loop: "{{ non_mesh_pkgs }}"
|
||||
|
||||
# Update opkg cache
|
||||
- name: Update opkg cache
|
||||
ansible.builtin.command:
|
||||
cmd: "opkg update"
|
||||
changed_when: false
|
||||
|
||||
# Install mesh packages
|
||||
- name: Install mesh packages
|
||||
opkg:
|
||||
name: "{{ item }}"
|
||||
state: "present"
|
||||
loop: "{{ mesh11sd_pkgs }}"
|
||||
Reference in New Issue
Block a user