Ansible seed playbook for installing an XFCE desktop environment and a baseline of software and dotfiles.
The script is intended to be run on an Ubuntu/Xubuntu system (tested on
bionic
) and has been tried out on Ansible 2.9.
-
Install
git
and clone this repo:sudo apt-get update sudo apt-get install -y git git clone https://github.com/petergardfjall/seed cd seed/
-
Install
ansible
:sudo apt install python3-pip -y pip3 install --user ansible
-
Run either of (you may append additional ansible command-line flags):
export PATH=$PATH:~/.local/bin /seed.sh --desktop /seed.sh --laptop
All tasks are tagged according to category (like Desktop
) and role (for
example media
) and tool (for example vlc
). By specifying tags, one can
choose to run tasks for a certain category, role or tool:
./seed.sh --laptop --tags go,gopls
To see available tags run:
ansible-playbook --list-tags seed.yaml`