|
@ -1,12 +1,12 @@ |
|
|
- name: create sign user |
|
|
- name: create sign user |
|
|
user: |
|
|
user: |
|
|
name: sign |
|
|
name: sign |
|
|
shell: /srv/ca/manager.py |
|
|
|
|
|
|
|
|
shell: /usr/bin/ca-shell |
|
|
|
|
|
|
|
|
- name: create request user |
|
|
- name: create request user |
|
|
user: |
|
|
user: |
|
|
name: request |
|
|
name: request |
|
|
shell: /srv/ca/request_server.py |
|
|
|
|
|
|
|
|
shell: /usr/bin/ca-server |
|
|
|
|
|
|
|
|
- name: install ca packages |
|
|
- name: install ca packages |
|
|
apt: |
|
|
apt: |
|
@ -16,20 +16,14 @@ |
|
|
cache_valid_time: 3600 |
|
|
cache_valid_time: 3600 |
|
|
install_recommends: '{{ install_recommends | default("no") }}' |
|
|
install_recommends: '{{ install_recommends | default("no") }}' |
|
|
with_items: |
|
|
with_items: |
|
|
- git |
|
|
|
|
|
- python3 |
|
|
- python3 |
|
|
- python3-pip |
|
|
- python3-pip |
|
|
|
|
|
|
|
|
- name: install peewee with pip |
|
|
|
|
|
|
|
|
- name: install from release |
|
|
pip: |
|
|
pip: |
|
|
name: peewee |
|
|
|
|
|
|
|
|
name: https://github.com/LILiK-117bis/ca_manager/tarball/v0.1 |
|
|
executable: pip3 |
|
|
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 |
|
|
- name: create /var/lib/ca_manager |
|
|
file: |
|
|
file: |
|
|
path: /var/lib/ca_manager |
|
|
path: /var/lib/ca_manager |
|
|