- direnv
- git
- i3
- pipenv
- haskell stack
- git-subrepo
- firefox-developer-edition (forked from @conorsch)
- Fedora 29
Ubuntu might work (as roles often consider it) but it is not currently tested. Please open a ticket if interested, or submit a Pull Request.
This is a monorepo with multiple Ansible roles which isn't currently natively supported by Ansible. While this support will come with Mazer, Mazer is currently experimental and breaking too often to be used even in less critical setups. Instead we rely on a common undocumented feature of stable Ansible until it is replaced by Mazer.
Because pipenv
might not yet be installed (as it is a role we provide), we just assume Python 3 is:
python3 -m venv ~/.virtualenvs/n-batalha-roles . ~/.virtualenvs/n-batalha-roles/bin/activate pip install -r requirements.txt echo "\ - src: [email protected]:n-batalha/ansible-roles.git scm: git name: ansible-roles version: master\ " >> requirements.yml # we ignore errors because of the temporary monorepo setup discussed above ansible-galaxy install --roles-path ~/.ansible/roles/ --ignore-errors --force -r requirements.yml
Now you can refer to the roles in your playbook like this:
- hosts: localhost roles: - role: ansible-roles/roles/git vars: email: "[email protected]" user_name_long: Your Name Here git_settings: - name: core.editor value: nano - name: user.name value: "{{ user_name_long }}" - name: user.email value: "{{ email }}" - name: alias.ch value: checkout - role: ansible-roles/roles/direnv
To update, simply rerun the install command above.
Please see CONTRIBUTING.