
The gitea service needs an HA shared filesystem, which is provided by cephfs and managed by rook.io. It also needs a database service, which is provided by percona-xtradb-cluster. Change-Id: Ie019c2e24c3780cec2468a00987dba4ac34ed570
23 lines
702 B
YAML
23 lines
702 B
YAML
- hosts: "localhost:!disabled"
|
|
name: "System-config: Update the system-config repo on bridge"
|
|
connection: local
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Make sure k8s-on-openstack repo is up to date
|
|
git:
|
|
repo: https://github.com/infraly/k8s-on-openstack
|
|
dest: /opt/k8s-on-openstack
|
|
# HEAD as of 2018-12-20
|
|
version: 6d94a51f5fcd6679dc88244257f79346fb4bfd4a
|
|
force: yes
|
|
|
|
- name: Run kubernetes deploy playbook
|
|
command: ./run_k8s_ansible.sh
|
|
args:
|
|
chdir: /opt/system-config
|
|
|
|
- name: Install cinder storage class
|
|
k8s:
|
|
state: present
|
|
definition: "{{ lookup('file', 'k8s/storage-class.yaml') | from_yaml }}"
|