Ansible playbook for configuring a fresh install of Raspbian
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
|
|
|
|
# Uninstall Raspbian bloat
|
|
|
|
- name: remove raspbian bloat
|
|
|
|
apt:
|
|
|
|
name="{{ packages }}"
|
|
|
|
state=absent
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- wolfram-engine
|
|
|
|
- libreoffice*
|
|
|
|
- scratch
|
|
|
|
- minecraft-pi
|
|
|
|
- python-minecraftpi
|
|
|
|
- python3-minecraftpi
|
|
|
|
- sonic-pi
|
|
|
|
- dillo
|
|
|
|
- gpicview
|
|
|
|
- penguinspuzzle
|
|
|
|
tags:
|
|
|
|
- sw
|
|
|
|
|
|
|
|
# Install required software
|
|
|
|
- name: install basic software environment
|
|
|
|
apt:
|
|
|
|
name="{{ packages }}"
|
|
|
|
state=present
|
|
|
|
update_cache=yes
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- vim
|
|
|
|
- git
|
|
|
|
- python-pip
|
|
|
|
- ufw
|
|
|
|
tags:
|
|
|
|
- sw
|
|
|
|
|
|
|
|
- name: install additional software
|
|
|
|
apt:
|
|
|
|
name="{{ myconfig.extra_software }}"
|
|
|
|
state=present
|
|
|
|
update_cache=yes
|
|
|
|
when: "'extra_software' in myconfig"
|
|
|
|
tags:
|
|
|
|
- sw
|