Add integration coverage to replace hash_vault and consul_session (#71775)
* Add integration coverage to replace hash_vault and consul_session ci_complete ci_coverage * Remove errant list element
This commit is contained in:
parent
65cdb86c8a
commit
195c8b496e
2 changed files with 12 additions and 2 deletions
|
@ -138,11 +138,19 @@
|
|||
state: present
|
||||
register: create_group_gid_non_unique
|
||||
|
||||
- name: validate gid required with non_unique
|
||||
group:
|
||||
name: foo
|
||||
non_unique: true
|
||||
register: missing_gid
|
||||
ignore_errors: true
|
||||
|
||||
- name: assert create group with a non unique gid
|
||||
assert:
|
||||
that:
|
||||
that:
|
||||
- create_group_gid_non_unique is changed
|
||||
- create_group_gid_non_unique.gid | int == gid.stdout_lines[0] | int
|
||||
- missing_gid is failed
|
||||
when: ansible_facts.distribution not in ['MacOSX', 'Alpine']
|
||||
|
||||
##
|
||||
|
|
|
@ -27,7 +27,9 @@
|
|||
|
||||
- name: Convert a non-dict (failure expected)
|
||||
set_fact:
|
||||
bad_fact: "{{ lookup('dict', 1) }}"
|
||||
bad_fact: "{{ bbbbad }}"
|
||||
vars:
|
||||
bbbbad: "{{ lookup('dict', 1) }}"
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
|
||||
|
|
Loading…
Reference in a new issue