devenv/local.yml

73 lines
1.6 KiB
YAML

# To run, use:
# sudo apt-get install -y ansible git
# git clone https://juju.nz/src/michaelh/devenv.git .devenv
# ansible-playbook -i 'localhost ansible_connection=local,' -K .devenv/local.yml
#
- hosts: localhost
vars:
me: michaelh
home: /home/{{ me }}
juju: juju@juju.nz
tasks:
- name: Install the basics
apt: name=jed,git,psmisc,unzip,git
become: yes
- name: Install the dev bits
apt:
name:
- build-essential
- clang-format
- cmake
- elpa-use-package
- emacs
- entr
- exuberant-ctags
- ispell
- man
- manpages-dev
- ninja-build
- pkg-config
- rustup
- screen
- ssh
- yaml-mode
- rsync
become: yes
- name: Install python3 and modules
apt: name=python3,python3-serial,python3-pip,virtualenv
become: yes
- name: Install crosstool-NG basics
apt:
name:
- autoconf
- automake
- bc
- bison
- flex
- g++
- gawk
- gcc
- gperf
- libexpat-dev
- libtool
- libtool-bin
- ncurses-dev
- sed
- srecord
- texinfo
- unrar-free
become: yes
- name: Install common packages
apt:
name:
- dkms
- iftop
- libudev-dev
- libusb-1.0-0-dev
- pulseview
- sigrok-firmware-fx2lafw
- silversearcher-ag
become: yes
- name: Set up permissions
user: name={{ me }} append=yes groups=dialout,sudo
become: yes