Skip to content

Commit 8be2695

Browse files
Update actions/checkout action to v3 (#52)
* Update actions/checkout action to v3 * Update ci pipeline * Update ansible lint rules * Fix ansible lint errors Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: tomdewildt <[email protected]>
1 parent 31aeb5a commit 8be2695

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.ansible-lint

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
skip_list:
2-
- 106
3-
- 204
4-
- 208
5-
- 303
2+
- command-instead-of-module
3+
- fqcn-builtins
4+
- risky-file-permissions
5+
- role-name
6+
- var-spacing

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Run lint
16-
uses: ansible/ansible-lint-action@master
16+
uses: ansible/ansible-lint-action@main
1717
with:
1818
targets: "playbook.yml"
1919
args: ""

roles/helm/local-path-provisioner/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
unarchive:
99
src: "{{ chart_archive }}"
1010
dest: /tmp
11-
remote_src: yes
11+
remote_src: true
1212
creates: "{{ chart_destination }}"
1313

1414
- name: "Installing local-path-provisioner chart"

roles/kubernetes/common/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@
7878
service:
7979
name: kubelet
8080
state: started
81-
daemon_reload: yes
81+
daemon_reload: true
8282
enabled: true

roles/kubernetes/helm/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
unarchive:
99
src: /tmp/helm.tar.gz
1010
dest: /tmp
11-
remote_src: yes
11+
remote_src: true
1212
creates: /tmp/linux-amd64
1313

1414
- name: "Moving helm binary to /usr/local/bin"
1515
command: creates=/usr/local/bin/helm mv /tmp/linux-amd64/helm /usr/local/bin/helm
16-
become: yes
16+
become: true
1717

1818
- name: "Adding stable repository"
1919
command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/

0 commit comments

Comments
 (0)