on master help sign in
Adds ansible install instructions for ansible to readme
commitd781156327e8eeb03a3815e76bf75e340eccdf19 authorAlexander Eimer <alexander.eimer@gmail.com> dateWed 12 Sep 2018, 22:50 (8 years ago) parent732750c
1 file changed+28
README.md+28
README.md+28
@@ -117,6 +117,34 @@ cd /usr/ports/textproc/bat
117117make install
118118```
119119
120+### Via Ansible
121+
122+You can install `bat` with [Ansible](https://www.ansible.com/):
123+
124+```bash
125+# Install role on local machine
126+ansible-galaxy install aeimer.install_bat
127+```
128+
129+```yaml
130+---
131+# Playbook to install bat
132+- host: all
133+ roles:
134+ - aeimer.install_bat
135+```
136+
137+- [Ansible Galaxy](https://galaxy.ansible.com/aeimer/install_bat)
138+- [Github](https://github.com/aeimer/ansible-install-bat)
139+
140+This should work with the following distributions:
141+- Debian/Ubuntu
142+- ARM (eg. Raspberry PI)
143+- Arch Linux
144+- Void Linux
145+- FreeBSD
146+- MacOS
147+
120148### On macOS
121149
122150You can install `bat` with [Homebrew](http://braumeister.org/formula/bat):