Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions roles/ca/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- name: create sign user
user:
name: sign
shell: /srv/ca/manager.py
shell: /usr/local/bin/ca-shell

- name: create request user
user:
name: request
shell: /srv/ca/request_server.py
shell: /usr/local/bin/ca-server

- name: install ca packages
apt:
Expand All @@ -16,20 +16,15 @@
cache_valid_time: 3600
install_recommends: '{{ install_recommends | default("no") }}'
with_items:
- git
- python3
- python3-pip
- python3-setuptools

- name: install peewee with pip
- name: install from release
pip:
name: peewee
name: https://github.com/LILiK-117bis/ca_manager/tarball/v0.2
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
Expand Down