Install via ansible with the following
command, which will prompt for sudo password (pacman package installation) due
to the -K
or --ask-become-pass
flag:
pipenv install
pipenv run ansible-playbook -K main.yml
Ansible allows you to run specific parts of a playbook by using `--tags ",,...". I have the following tags:
repos
: Just do the git clones of my repos.virtualenvs
: Just create my virtualenvs.music
: Just the music packages/installs.
- Hard-coded to ArchLinux and my own needs.
- Need to out-of-band sort out ssh keys for grabbing github repos.
Since I'm doing this to both:
- Bring up new dev environments more quickly.
- Learn ansible.
This section will have a brain-dump of stuff that is important to me at the time of learning. Expect this to contain trivial or garbage knowledge if you know a better way.
- Get ansible variables:
ansible -m setup 127.0.0.1
. - Git submodules cloning:
git submodule update --init --recursive
.