move install pb to a handler

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

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
---
- include: pb.yml
+7
View File
@@ -0,0 +1,7 @@
# install pb
---
- name: install pb
make:
chdir: /usr/src/pb
target: install
become: yes
+3 -7
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