Skip to content

Commit 286fa7d

Browse files
committed
all clients: fix linter
1 parent 3bb3520 commit 286fa7d

File tree

11 files changed

+17
-16
lines changed

11 files changed

+17
-16
lines changed

Diff for: roles/arbitrum_node/tasks/main.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
mode: "0750"
88

99
- name: Set permissions
10-
ansible.builtin.shell: "chown -R 1000:1000 {{ arbitrum_node_datadir }}"
10+
ansible.builtin.command: "chown -R 1000:1000 {{ arbitrum_node_datadir }}" # noqa deprecated-command-syntax
11+
changed_when: false
1112

1213
- name: Run arbitrum_node container
1314
community.docker.docker_container:

Diff for: roles/besu/tasks/setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ besu_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ besu_user }}:{{ besu_user }} {{ besu_datadir }}"
15+
ansible.builtin.command: "chown -R {{ besu_user }}:{{ besu_user }} {{ besu_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Run besu container
1818
community.docker.docker_container:

Diff for: roles/erigon/tasks/setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ erigon_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ erigon_user }}:{{ erigon_user }} {{ erigon_datadir }}"
15+
ansible.builtin.command: "chown -R {{ erigon_user }}:{{ erigon_user }} {{ erigon_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Init custom network
1818
when: erigon_init_custom_network

Diff for: roles/ethereumjs/tasks/setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ ethereumjs_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ ethereumjs_user }}:{{ ethereumjs_user }} {{ ethereumjs_datadir }}"
15+
ansible.builtin.command: "chown -R {{ ethereumjs_user }}:{{ ethereumjs_user }} {{ ethereumjs_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Run ethereumjs container
1818
community.docker.docker_container:

Diff for: roles/geth/tasks/setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ geth_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ geth_user }}:{{ geth_user }} {{ geth_datadir }}"
15+
ansible.builtin.command: "chown -R {{ geth_user }}:{{ geth_user }} {{ geth_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Init custom network
1818
when: geth_init_custom_network

Diff for: roles/lighthouse/tasks/setup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ lighthouse_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ lighthouse_user }}:{{ lighthouse_user }} {{ lighthouse_datadir }}"
15+
ansible.builtin.command: "chown -R {{ lighthouse_user }}:{{ lighthouse_user }} {{ lighthouse_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Run lighthouse container
1818
community.docker.docker_container:
@@ -42,7 +42,7 @@
4242
when: lighthouse_validator_enabled
4343

4444
- name: Set permissions for validator data dir
45-
ansible.builtin.shell: "chown -R {{ lighthouse_user }}:{{ lighthouse_user }} {{ lighthouse_validator_datadir }}"
45+
ansible.builtin.command: "chown -R {{ lighthouse_user }}:{{ lighthouse_user }} {{ lighthouse_validator_datadir }}" # noqa deprecated-command-syntax
4646
when: lighthouse_validator_enabled
4747

4848
- name: Run lighthouse validator container

Diff for: roles/lodestar/tasks/setup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ lodestar_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ lodestar_user }}:{{ lodestar_user }} {{ lodestar_datadir }}"
15+
ansible.builtin.command: "chown -R {{ lodestar_user }}:{{ lodestar_user }} {{ lodestar_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Run lodestar container
1818
community.docker.docker_container:
@@ -42,7 +42,7 @@
4242
when: lodestar_validator_enabled
4343

4444
- name: Set permissions for validator data dir
45-
ansible.builtin.shell: "chown -R {{ lodestar_user }}:{{ lodestar_user }} {{ lodestar_validator_datadir }}"
45+
ansible.builtin.command: "chown -R {{ lodestar_user }}:{{ lodestar_user }} {{ lodestar_validator_datadir }}" # noqa deprecated-command-syntax
4646
when: lodestar_validator_enabled
4747

4848
- name: Run lodestar validator container

Diff for: roles/nethermind/tasks/setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- "{{ nethermind_datadir }}/nethermind"
1616

1717
- name: Set permissions
18-
ansible.builtin.shell: "chown -R {{ nethermind_user }}:{{ nethermind_user }} {{ nethermind_datadir }}"
18+
ansible.builtin.command: "chown -R {{ nethermind_user }}:{{ nethermind_user }} {{ nethermind_datadir }}" # noqa deprecated-command-syntax
1919

2020
- name: Run nethermind container
2121
community.docker.docker_container:

Diff for: roles/nimbus/tasks/setup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ nimbus_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ nimbus_user }}:{{ nimbus_user }} {{ nimbus_datadir }}"
15+
ansible.builtin.command: "chown -R {{ nimbus_user }}:{{ nimbus_user }} {{ nimbus_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Create validator data dir
1818
ansible.builtin.file:
@@ -28,7 +28,7 @@
2828
when: nimbus_validator_enabled
2929

3030
- name: Set permissions for validator data dir
31-
ansible.builtin.shell: "chown -R {{ nimbus_user }}:{{ nimbus_user }} {{ nimbus_validator_datadir }}"
31+
ansible.builtin.command: "chown -R {{ nimbus_user }}:{{ nimbus_user }} {{ nimbus_validator_datadir }}" # noqa deprecated-command-syntax
3232
when: nimbus_validator_enabled
3333

3434
- name: Checkpoint sync nimbus node

Diff for: roles/prysm/tasks/setup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ prysm_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ prysm_user }}:{{ prysm_user }} {{ prysm_datadir }}"
15+
ansible.builtin.command: "chown -R {{ prysm_user }}:{{ prysm_user }} {{ prysm_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Run prysm container
1818
community.docker.docker_container:
@@ -39,7 +39,7 @@
3939
when: prysm_validator_enabled
4040

4141
- name: Set permissions for validator data dir
42-
ansible.builtin.shell: "chown -R {{ prysm_user }}:{{ prysm_user }} {{ prysm_validator_datadir }}"
42+
ansible.builtin.command: "chown -R {{ prysm_user }}:{{ prysm_user }} {{ prysm_validator_datadir }}" # noqa deprecated-command-syntax
4343
when: prysm_validator_enabled
4444

4545
- name: Run prysm validator container

Diff for: roles/teku/tasks/setup.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
group: "{{ teku_user }}"
1313

1414
- name: Set permissions
15-
ansible.builtin.shell: "chown -R {{ teku_user }}:{{ teku_user }} {{ teku_datadir }}"
15+
ansible.builtin.command: "chown -R {{ teku_user }}:{{ teku_user }} {{ teku_datadir }}" # noqa deprecated-command-syntax
1616

1717
- name: Create validator data dir
1818
ansible.builtin.file:
@@ -28,7 +28,7 @@
2828
when: teku_validator_enabled
2929

3030
- name: Set permissions for validator data dir
31-
ansible.builtin.shell: "chown -R {{ teku_user }}:{{ teku_user }} {{ teku_validator_datadir }}"
31+
ansible.builtin.command: "chown -R {{ teku_user }}:{{ teku_user }} {{ teku_validator_datadir }}" # noqa deprecated-command-syntax
3232
when: teku_validator_enabled
3333

3434
- name: Run teku container

0 commit comments

Comments
 (0)