Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop deleting test user #2547

Merged
merged 3 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions roles/sample-auth-data/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

- name: add auth test data to database
include_tasks: auth_sample_data.yml
when: installation_mode is not match('upgrade') or sample_role_purpose is match('test')
when: installation_mode is match('new') or sample_role_purpose is match('test')

- name: include ldif driven changes
import_tasks: modify_ldap_tree.yml
when: installation_mode is not match('upgrade') or sample_role_purpose is match('test')
when: installation_mode is match('new') or sample_role_purpose is match('test')

- name: include owner sample data
import_tasks: sample_owner_data.yml
when: installation_mode is not match('upgrade') or sample_role_purpose is match('test')
when: installation_mode is match('new') or sample_role_purpose is match('test')

- name: restart middleware server in case any changes to ldap_connections were made
systemd:
Expand Down
8 changes: 0 additions & 8 deletions roles/test/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
---
- name: delete test user and dir
user:
name: test
state: absent
remove: true
become: true
listen: "test importer handler"

- name: delete test user cred config file
file:
path: "{{ fworch_secrets_dir }}/TestUserCreds.json"
Expand Down
Loading