浏览代码

Add pbp role

Colin Powell 4 年之前
父节点
当前提交
f847424b22
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      ansible/roles/pbp/tasks/main.yml

+ 11 - 0
ansible/roles/pbp/tasks/main.yml

@@ -0,0 +1,11 @@
+---
+- name: PBP source deployed
+  git:
+    repo: 'https://git.unbl.ink/secstate/pbp_com.git'
+    dest: /root/pbp_com
+    update: yes
+
+- name: PBP requirements up to date
+  pip:
+    requirements: /root/pbp_com/requirements.txt
+    executable: pip