mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-22 20:10:18 +00:00
move install pb to a handler
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- include: pb.yml
|
||||||
|
|||||||
7
roles/shell/handlers/pb.yml
Normal file
7
roles/shell/handlers/pb.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# install pb
|
||||||
|
---
|
||||||
|
- name: install pb
|
||||||
|
make:
|
||||||
|
chdir: /usr/src/pb
|
||||||
|
target: install
|
||||||
|
become: yes
|
||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user