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
pull/71787/head
Matt Martz 4 years ago committed by GitHub
parent 65cdb86c8a
commit 195c8b496e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save