Skip to content

Commit

Permalink
Disable debugging in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jun 27, 2023
1 parent 1e72323 commit 5e82528
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions tests/integration/targets/iam_instance_profile/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@
- assert:
that:
- profile_info.iam_instance_profiles | length == 1
- '"{{ test_role }}" in profile_names'
- '"{{ test_role }}-2" in profile_names'
- '"{{ test_profile_complex }}" in profile_names'

- '"arn" in complex_profile'
Expand Down Expand Up @@ -480,14 +478,15 @@
# ===================================================================
# Cleanup

- name: "iam_instance_profile_info after Role deletion"
iam_instance_profile_info:
ignore_errors: true
# - name: "iam_instance_profile_info after Role deletion"
# iam_instance_profile_info:
# ignore_errors: true

- name: "Delete Instance Profiles"
iam_instance_profile:
state: absent
name: "{{ item }}"
ignore_errors: true
loop:
- "{{ test_profile }}"
- "{{ test_profile_complex }}"
Expand All @@ -505,7 +504,7 @@
- "{{ test_role }}"
- "{{ test_role }}-2"

- name: "iam_role_info after Role deletion"
iam_role_info:
path: "{{ test_path }}"
ignore_errors: true
# - name: "iam_role_info after Role deletion"
# iam_role_info:
# path: "{{ test_path }}"
# ignore_errors: true

0 comments on commit 5e82528

Please sign in to comment.