generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
26 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,100 +9,100 @@ | |
|
||
# Test User minimum requirements | ||
- name: "Test User 1: Test minimum requirements User Creation" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_1 | ||
password: test_password_1 | ||
|
||
# Test User minimum requirements disabled | ||
- name: "Test User 2: Test disabled User Creation" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_2 | ||
password: test_password_2 | ||
full_name: "Test User 2: Test disabled User Creation" | ||
disabled: True | ||
|
||
# Test User with Full Name | ||
- name: "Test User 3: Test User Creation with Full Name" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_3 | ||
password: test_password_3 | ||
full_name: "Test User 3: Test User Creation with Full Name" | ||
|
||
# Test User with E-Mail | ||
- name: "Test User 4: Test User Creation with E-Mail" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_4 | ||
password: test_password_4 | ||
email: [email protected] | ||
full_name: "Test User 4: Test User Creation with E-Mail" | ||
|
||
# Test User with Comment | ||
- name: "Test User 5: Test User Creation with Comment" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_5 | ||
password: test_password_5 | ||
comment: Test User 5 Comment | ||
full_name: "Test User 5: Test User Creation with Comment" | ||
|
||
# Test User with Preferred landing page | ||
- name: "Test User 6: Test User Creation with Preferred landing page" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_6 | ||
password: test_password_6 | ||
landing_page: /ui/ipsec/sessions | ||
full_name: "Test User 6: Test User Creation with Preferred landing page" | ||
|
||
# Test User with nologin shell | ||
- name: "Test User 7: Test User Creation with nologin shell" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_7 | ||
password: test_password_7 | ||
shell: /sbin/nologin | ||
full_name: "Test User 7: Test User Creation with nologin shell" | ||
|
||
# Test User with csh shell | ||
- name: "Test User 8: Test User Creation with csh shell" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_8 | ||
password: test_password_8 | ||
shell: /bin/csh | ||
full_name: "Test User 8: Test User Creation with csh shell" | ||
|
||
# Test User with sh shell | ||
- name: "Test User 9: Test User Creation with sh shell" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_9 | ||
password: test_password_9 | ||
shell: /bin/sh | ||
full_name: "Test User 9: Test User Creation with sh shell" | ||
|
||
# Test User with tcsh shell | ||
- name: "Test User 10: Test User Creation with tcsh shell" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_10 | ||
password: test_password_10 | ||
shell: /bin/tcsh | ||
full_name: "Test User 10: Test User Creation with tcsh shell" | ||
|
||
# Test User with Expiration date | ||
- name: "Test User 11: Test User Creation with Expiration date" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_11 | ||
password: test_password_11 | ||
expires: 02/27/2024 | ||
full_name: "Test User 11: Test User Creation with Expiration date" | ||
|
||
# Test User with group as string | ||
- name: "Test User 12: Test User Creation with group as string" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_12 | ||
password: test_password_12 | ||
full_name: "Test User 12: Test User Creation with group as string" | ||
groups: admins | ||
|
||
# Test User with group as list | ||
- name: "Test User 13: Test User Creation with group as list" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_13 | ||
password: test_password_13 | ||
full_name: "Test User 13: Test User Creation with group as list" | ||
|
@@ -111,7 +111,7 @@ | |
|
||
# Test User with not existing group as list | ||
- name: "Test User 14: Test User Creation with not existing group as list" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_14 | ||
password: test_password_14 | ||
full_name: "Test User 14: Test User Creation with not existing group as list" | ||
|
@@ -129,39 +129,39 @@ | |
|
||
# Test User with empty otp_seed | ||
- name: "Test User 15: Test User Creation with empty otp_seed" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_15 | ||
password: test_password_15 | ||
otp_seed: "" | ||
full_name: "Test User 15: Test User Creation with empty otp_seed" | ||
|
||
# Test User with otp_seed | ||
- name: "Test User 16: Test User Creation with otp_seed" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_16 | ||
password: test_password_16 | ||
otp_seed: test_seed | ||
full_name: "Test User 16: Test User Creation with otp_seed" | ||
|
||
# Test User with empty authorizedkeys | ||
- name: "Test User 17: Test User Creation with empty authorizedkeys" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_17 | ||
password: test_password_17 | ||
authorizedkeys: "" | ||
full_name: "Test User 17: Test User Creation with empty authorizedkeys" | ||
|
||
# Test User with authorizedkeys | ||
- name: "Test User 18: Test User Creation with authorizedkeys" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_18 | ||
password: test_password_18 | ||
authorizedkeys: test_authorized_key | ||
full_name: "Test User 18: Test User Creation with authorizedkeys" | ||
|
||
# Test User with api_keys | ||
- name: "Test User 19: Test User Creation with api_keys" | ||
puzzle.opnsense.users: | ||
puzzle.opnsense.system_access_users: | ||
username: test_user_19 | ||
password: test_password_19 | ||
apikeys: "" | ||
|
2 changes: 1 addition & 1 deletion
2
molecule/users/molecule.yml → molecule/system_access_users/molecule.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.