Skip to content

Commit

Permalink
Merge pull request #494 from TerryHowe/fix-audit-test
Browse files Browse the repository at this point in the history
fix: audit test broken with vault change
  • Loading branch information
TerryHowe authored Nov 22, 2024
2 parents ca52824 + 86b3423 commit aacd050
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions functional/test_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@
- assert: { that: "audit_module is not changed" }
- assert: { that: "audit_module.rc == 0" }

- name: Delete audit only one audit allowed
hashivault_audit:
device_type: file
state: absent
register: audit_module
- assert: { that: "audit_module is changed" }
- assert: { that: "audit_module.rc == 0" }


- name: Create audit path
hashivault_audit:
device_type: file
Expand All @@ -54,14 +63,6 @@
- assert: { that: "audit_module is not changed" }
- assert: { that: "audit_module.rc == 0" }

- name: Delete audit
hashivault_audit:
device_type: file
state: absent
register: audit_module
- assert: { that: "audit_module is changed" }
- assert: { that: "audit_module.rc == 0" }

- name: Delete audit path
hashivault_audit:
device_type: file
Expand Down

0 comments on commit aacd050

Please sign in to comment.