TP-IaC-Kubernetes/roles/purelb/tasks/main.yaml

14 lines
381 B
YAML

- name: copy PureLB config
become: yes
template:
src: purelb-config.yaml.j2
dest: /etc/purelb-config.yaml
- name: install PureLB
command: kubectl apply -f https://gitlab.com/api/v4/projects/purelb%2Fpurelb/packages/generic/manifest/0.0.1/purelb-complete.yaml
retries: 2
delay: 5
- name: install PureLB config
command: kubectl apply -f /etc/purelb-config.yaml