move install pb to a handler

This commit is contained in:
fosslinux
2019-07-15 08:16:30 +00:00
parent 0fc2389ec5
commit e8fd519bff
3 changed files with 13 additions and 7 deletions

View File

@@ -2,12 +2,8 @@
---
- name: clone pb
git:
repo: 'https://tildegit.org/tomasino/pb'
repo: https://tildegit.org/tomasino/pb
dest: /usr/src/pb
force: yes
- name: install pb
make:
chdir: /usr/src/pb
target: install
become: yes
notify:
- install pb