Skip to content

Commit

Permalink
fix(ansible): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timothystewart6 committed Aug 28, 2022
1 parent 4b95971 commit f603a04
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions roles/k3s/post/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@
- name: Apply metallb-system namespace
command: >-
k3s kubectl apply -f /tmp/k3s/metallb-namespace.yaml
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

- name: Test metallb-system namespace
command: >-
k3s kubectl -n metallb-system
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

- name: Apply metallb crds and service
command: >-
k3s kubectl apply -f /tmp/k3s/metallb.yaml
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

Expand Down Expand Up @@ -109,28 +109,28 @@
- name: Test metallb-system webhook-service endpoint
command: >-
k3s kubectl -n metallb-system get endpoints webhook-service
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

- name: Apply metallb CRs
command: >-
k3s kubectl apply -f /tmp/k3s/metallb-crs.yaml
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

- name: Test metallb-system IPAddressPool
command: >-
k3s kubectl -n metallb-system get IPAddressPool
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

- name: Test metallb-system L2Advertisement
command: >-
k3s kubectl -n metallb-system get L2Advertisement
changed_when: true
changed_when: false
with_items: "{{ groups['master'] }}"
run_once: true

Expand Down

0 comments on commit f603a04

Please sign in to comment.