509880073e
This is no longer present in Ansible 9. Removing these upsets ansible-lint, so those errors are ignored. The base roles job has bitrotted on centos-7 and bionic due to a bad voluptuous release used in an stestr test. That is fixed in this change as well. Change-Id: I67886d5ad82ab590979f82bd102d6f974b9d4421
32 lines
704 B
YAML
32 lines
704 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Success dhall-diff
|
|
include_role:
|
|
name: render-diff
|
|
|
|
- name: Ensure dhall-diff succeeded
|
|
assert:
|
|
that:
|
|
- render_diff.stdout | length == 0
|
|
|
|
- name: Introduce a difference
|
|
copy:
|
|
content: "44"
|
|
dest: "{{ zuul.project.src_dir }}/test.yaml"
|
|
|
|
- name: Commit the difference
|
|
command: git commit -a -m "test update"
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
- name: Failed dhall-diff
|
|
include_role:
|
|
name: render-diff
|
|
vars:
|
|
diff_ignore_errors: yes
|
|
|
|
- name: Ensure dhall-diff failed
|
|
assert:
|
|
that:
|
|
- render_diff.stdout | length > 0
|