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

@ -0,0 +1,3 @@
---
- include: pb.yml

View File

@ -0,0 +1,7 @@
# install pb
---
- name: install pb
make:
chdir: /usr/src/pb
target: install
become: yes

View File

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