enable system-specific software installation

master
Glenn K. Lockwood 6 years ago
parent 943e8e5228
commit 59764fee10
  1. 13
      roles/common/tasks/software.yml
  2. 2
      roles/common/vars/main.yml

@ -1,6 +1,6 @@
--- ---
### Uninstall Raspbian bloat # Uninstall Raspbian bloat
- name: remove raspbian bloat - name: remove raspbian bloat
apt: apt:
name="{{ packages }}" name="{{ packages }}"
@ -20,7 +20,7 @@
tags: tags:
- sw - sw
### Install required software # Install required software
- name: install basic software environment - name: install basic software environment
apt: apt:
name="{{ packages }}" name="{{ packages }}"
@ -34,3 +34,12 @@
- ufw - ufw
tags: tags:
- sw - sw
- name: install additional software
apt:
name="{{ myconfig.extra_software }}"
state=present
update_cache=yes
when: "'extra_software' in myconfig"
tags:
- sw

@ -37,6 +37,8 @@ macaddrs:
enable_serial_hw: True enable_serial_hw: True
enable_onewire: False enable_onewire: False
enable_rgpio: False enable_rgpio: False
extra_software:
- w3m
### Users that must be present on the system ### Users that must be present on the system
create_users: create_users:

Loading…
Cancel
Save