Install a git package and abstract to reuse

A couple of variables are created
This commit is contained in:
drymer 2018-06-10 21:29:54 +02:00
parent 094103d95b
commit 70b31eef7a
2 changed files with 14 additions and 0 deletions

View File

@ -129,3 +129,5 @@ habitual_packages:
- gocode
- resolvconf
- pass
installed_path: ~/Instalados/
shell_path: ~/Scripts/bin

View File

@ -10,3 +10,15 @@
notify:
- disable nm
- enable wicd
- name: Install kubetail
git:
repo: https://github.com/johanhaleby/kubetail
dest: "{{ installed_path }}"
version: master
- name: Put kubetail in my PATH
file:
src: "{{ installed_path }}/kubetail"
dest: "{{ shell_path }}"
state: link