Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BulatSaif committed Aug 8, 2023
1 parent 2d6594f commit db5371b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
channel: latest/stable
- name: Setup Python modules
run: pip3 install yamllint ansible ansible-lint molecule molecule-plugins[docker] molecule-lxd docker
run: pip3 install PyYAML==5.3.1 yamllint ansible ansible-lint molecule molecule-plugins[docker] molecule-lxd docker
- name: Run molecule
run: molecule test --all
working-directory: "${{ github.repository }}/${{ inputs.role-path }}"
7 changes: 3 additions & 4 deletions roles/node/tasks/400-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@
changed_when: false
- name: Binary | Setup supported flags
ansible.builtin.set_fact:
_node_legacy_rpc_flags_supported: "{{ '--ws-port' in _node_new_help }}"
_node_separate_binary_supported: "{{ '--workers-path' in _node_new_help }}"

_node_legacy_rpc_flags_supported: "{{ '--ws-port' in _node_new_help.stdout }}"
_node_separate_binary_supported: "{{ '--workers-path' in _node_new_help.stdout }}"
- name: Binary | Check new rpc flags
ansible.builtin.fail:
msg: "ERROR: RPC flag --ws-port {{ 'IS' if _node_legacy_rpc_flags_supported else 'NOT' }} supported. 'node_legacy_rpc_flags' should be set to {{ _node_legacy_rpc_flags_supported }}"
Expand Down Expand Up @@ -174,7 +173,7 @@
- name: Binary | Copy new auxiliary binaries
ansible.builtin.copy:
src: "{{ _node_temp_dir.path }}/{{ item }}"
dest: {{ _node_binary_path }}/{{ item }}"
dest: "{{ _node_binary_path }}/{{ item }}"
remote_src: yes
mode: 0755
owner: "{{ node_user }}"
Expand Down

0 comments on commit db5371b

Please sign in to comment.