27 lines
518 B
YAML
27 lines
518 B
YAML
- name: create /etc/gitea
|
|
become: yes
|
|
file:
|
|
path: /etc/gitea
|
|
state: directory
|
|
|
|
- name: copy 010-deployment
|
|
become: yes
|
|
template:
|
|
src: 010-deployment.yaml
|
|
dest: /etc/gitea/010-deployment.yaml
|
|
|
|
- name: copy 020-volumes
|
|
become: yes
|
|
template:
|
|
src: 020-volumes.yaml
|
|
dest: /etc/gitea/020-volumes.yaml
|
|
|
|
- name: copy 030-network
|
|
become: yes
|
|
template:
|
|
src: 030-network.yaml.j2
|
|
dest: /etc/gitea/030-network.yaml
|
|
|
|
- name: Apply gitea config
|
|
command: kubectl apply -f /etc/gitea/
|