Browse Source

draft for installing ca_manager from pip

python3
Edoardo Putti 7 years ago
committed by Andrea Cimbalo
parent
commit
ce001b6bef
1 changed files with 4 additions and 10 deletions
  1. +4
    -10
      roles/ca/tasks/main.yaml

+ 4
- 10
roles/ca/tasks/main.yaml View File

@ -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


Loading…
Cancel
Save