Remove get_md5 parameter from stat module.
The get_md5 parameter was removed with ansible 9. https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_9.html#id44 If it is being used the following error appears: "Unsupported parameters for (stat) module: get_md5..." Unrelated, but also blocking testing/merging of this change, the Ansible version specs for older python versions is loosened to allow installing older versions of Ansible on test nodes (like focal) that have older pythons that are unsupported by newer Ansible. Change-Id: I99dd4f16fde659d84eb3dfa191557b3d9508b0fb
This commit is contained in:
parent
bd1d95ccdd
commit
d8ec17cab0
@ -4,7 +4,6 @@
|
||||
path: "{{ zuul_work_dir }}/releasenotes/source/locale"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: translations
|
||||
|
||||
- name: Prepare release note translations
|
||||
|
@ -9,7 +9,6 @@
|
||||
path: "{{ constraints_file }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: stat_results
|
||||
when: constraints_file is defined
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
stat:
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
path: "{{ zuul_work_dir }}/requirements.txt"
|
||||
register: requirements_file
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
path: "{{ zuul_work_dir }}/yarn.lock"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: yarn_lock_exists
|
||||
|
||||
- name: Set js_build_tool fact
|
||||
|
@ -3,7 +3,6 @@
|
||||
path: "{{ tox_constraints_file }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: stat_results
|
||||
when: tox_constraints_file is defined
|
||||
|
||||
@ -26,7 +25,6 @@
|
||||
path: "{{ zuul_work_dir }}/yarn.lock"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: yarn_lock_exists
|
||||
|
||||
- name: Set js_build_tool fact
|
||||
|
@ -22,7 +22,6 @@
|
||||
path: "{{ zuul_work_dir }}/yarn.lock"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: yarn_lock
|
||||
|
||||
- name: Check for shrinkwrap
|
||||
@ -30,7 +29,6 @@
|
||||
path: "{{ zuul_work_dir }}/npm-shrinkwrap.json"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
when: not yarn_lock.stat.exists
|
||||
register: shrinkwrap
|
||||
|
||||
@ -59,7 +57,6 @@
|
||||
path: "{{ zuul_work_dir }}/reports"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: reports_stat
|
||||
|
||||
- name: Collect npm reports
|
||||
@ -77,7 +74,6 @@
|
||||
path: "{{ zuul_work_dir }}/karma.subunit"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: karma_stat
|
||||
|
||||
- name: Collect karma subunit files
|
||||
@ -96,7 +92,6 @@
|
||||
path: "{{ zuul_work_dir }}/npm-shrinkwrap.json"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: shrinkwrap_final
|
||||
|
||||
- name: Collect shrinkwrap file
|
||||
@ -116,7 +111,6 @@
|
||||
path: "{{ zuul_work_dir }}/{{ javascript_content_dir }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: javascript_output
|
||||
|
||||
- name: Collect javascript output
|
||||
|
@ -7,7 +7,6 @@
|
||||
path: "{{ zuul_work_dir }}/{{ sphinx_build_dir }}/pdf/{{ zj_sphinx_pdf }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
with_items: "{{ sphinx_pdf_files }}"
|
||||
loop_control:
|
||||
loop_var: zj_sphinx_pdf
|
||||
|
@ -3,7 +3,6 @@
|
||||
path: "{{ constraints_file | default('missing') }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: stat_results
|
||||
when: constraints_file is defined
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
path: "{{ zuul_work_dir }}/yarn.lock"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: yarn_lock_exists
|
||||
|
||||
- name: Set js_build_tool fact
|
||||
|
@ -3,7 +3,6 @@
|
||||
path: "{{ nox_constraints_file }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: stat_results
|
||||
when: nox_constraints_file is defined
|
||||
|
||||
|
@ -68,7 +68,6 @@
|
||||
path: "{{ zuul_work_virtualenv }}/bin/whereto"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: whereto
|
||||
|
||||
- name: Check for htaccess
|
||||
@ -76,7 +75,6 @@
|
||||
path: "{{ zuul_work_dir }}/{{ sphinx_source_dir }}/_extra/.htaccess"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: htaccess
|
||||
|
||||
- name: Run whereto
|
||||
|
@ -3,7 +3,6 @@
|
||||
path: "{{ tox_constraints_file }}"
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
get_md5: false
|
||||
register: stat_results
|
||||
when: tox_constraints_file is defined
|
||||
|
||||
|
@ -7,7 +7,12 @@
|
||||
# by 4 weeks to give people time to update before any roles start
|
||||
# depending on new features.
|
||||
|
||||
ansible>=8,<9
|
||||
# Some older versions of Ansible don't support older versions of
|
||||
# python we have on older test nodes, so do the best we can in those
|
||||
# cases.
|
||||
|
||||
ansible>=6,<9;python_version<'3.9'
|
||||
ansible>=8,<9;python_version>='3.9'
|
||||
stestr>=1.0.0,<3.0.0;python_version<'3.5' # Apache-2.0
|
||||
stestr>=1.0.0;python_version>='3.5' # Apache-2.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user