From ce001b6bef76b88b9ec728a3faf345d30e3b88bf Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sun, 27 Aug 2017 15:09:51 +0200 Subject: [PATCH] draft for installing ca_manager from pip --- roles/ca/tasks/main.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/roles/ca/tasks/main.yaml b/roles/ca/tasks/main.yaml index 825858c..c9c8b8a 100644 --- a/roles/ca/tasks/main.yaml +++ b/roles/ca/tasks/main.yaml @@ -1,12 +1,12 @@ - name: create sign user user: name: sign - shell: /srv/ca/manager.py + shell: /usr/bin/ca-shell - name: create request user user: name: request - shell: /srv/ca/request_server.py + shell: /usr/bin/ca-server - name: install ca packages apt: @@ -16,20 +16,14 @@ cache_valid_time: 3600 install_recommends: '{{ install_recommends | default("no") }}' with_items: - - git - python3 - python3-pip -- name: install peewee with pip +- name: install from release pip: - name: peewee + name: https://github.com/LILiK-117bis/ca_manager/tarball/v0.1 executable: pip3 -- name: clone ca repository - git: - repo: https://github.com/LILiK-117bis/ca_manager.git - dest: /srv/ca - - name: create /var/lib/ca_manager file: path: /var/lib/ca_manager