Skip to content

Commit

Permalink
fix: cython issue for flatcar
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Aug 8, 2023
1 parent 1df6471 commit feb5820
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion ansible/roles/providers/tasks/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,27 @@
when:
- ansible_os_family == "Debian"

- name: install cython for flatcar
pip:
name: "cython<3.0.0"
executable: pip3
extra_args: "wheel"
when:
- ansible_distribution == "Flatcar"

- name: install pyyaml
pip:
name: "pyyaml==5.4.1"
executable: pip3
extra_args: "--no-build-isolation"
when:
- ansible_distribution == "Flatcar"

- name: install aws clients
pip:
name: "awscli"
executable: pip3
extra_args: "{{ '--no-index --find-links=' + pip_packages_remote_filesystem_repo_path if offline_mode_enabled }}"
extra_args: "{{ '--no-cache-dir --no-index --find-links=' + pip_packages_remote_filesystem_repo_path if offline_mode_enabled }}"
when:
- ansible_distribution != "Amazon"
- ansible_os_family != "Suse"
Expand Down

0 comments on commit feb5820

Please sign in to comment.