mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
(cherry picked from commit dde0b55f1a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -3,3 +3,4 @@ dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_openssl
|
||||
- setup_remote_tmp_dir
|
||||
- setup_remote_constraints
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
- name: Install requests<2.20 (CentOS/RHEL 6)
|
||||
pip:
|
||||
name: requests<2.20
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
register: result
|
||||
until: result is success
|
||||
when: ansible_distribution_file_variety|default() == 'RedHat' and ansible_distribution_major_version is version('6', '<=')
|
||||
@@ -23,12 +24,14 @@
|
||||
- name: Install python-nomad
|
||||
pip:
|
||||
name: python-nomad
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
register: result
|
||||
until: result is success
|
||||
|
||||
- name: Install jmespath
|
||||
pip:
|
||||
name: jmespath
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
register: result
|
||||
until: result is success
|
||||
|
||||
|
||||
Reference in New Issue
Block a user