blob: 3153cc2bd1c57a07c8ab37c944a129eff26f08af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
- name: prepare storage volume
vars:
storage_volume: "{{ ontime_storage }}"
include_role:
name: "storage/{{ ontime_storage.type }}/volume"
- set_fact:
ontime_basepath: "{{ storage_volume_mountpoint }}"
- name: create data/secrets directories
file:
path: "{{ ontime_basepath }}/db"
state: directory
mode: 0750
owner: app
group: app
- name: install pod manifest
vars:
kubernetes_standalone_pod:
name: ontime
spec: "{{ lookup('template', 'pod-spec.yml.j2') }}"
include_role:
name: kubernetes/standalone/pod
|