diff options
Diffstat (limited to 'test/integration/targets/tower_user/tasks/main.yml')
-rw-r--r-- | test/integration/targets/tower_user/tasks/main.yml | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/test/integration/targets/tower_user/tasks/main.yml b/test/integration/targets/tower_user/tasks/main.yml deleted file mode 100644 index 41264b63b4..0000000000 --- a/test/integration/targets/tower_user/tasks/main.yml +++ /dev/null @@ -1,93 +0,0 @@ -- name: Create a User - tower_user: - first_name: Joe - last_name: User - username: joe - password: "{{ 65535 | random | to_uuid }}" - email: joe@example.org - state: present - register: result - -- assert: - that: - - "result is changed" - -- name: Delete a User - tower_user: - username: joe - email: joe@example.org - state: absent - register: result - -- assert: - that: - - "result is changed" - -- name: Create an Auditor - tower_user: - first_name: Joe - last_name: Auditor - username: joe - password: "{{ 65535 | random | to_uuid }}" - email: joe@example.org - state: present - auditor: true - register: result - -- assert: - that: - - "result is changed" - -- name: Delete an Auditor - tower_user: - username: joe - email: joe@example.org - state: absent - register: result - -- assert: - that: - - "result is changed" - -- name: Create a Superuser - tower_user: - first_name: Joe - last_name: Super - username: joe - password: "{{ 65535 | random | to_uuid }}" - email: joe@example.org - state: present - superuser: true - register: result - -- assert: - that: - - "result is changed" - -- name: Delete a Superuser - tower_user: - username: joe - email: joe@example.org - state: absent - register: result - -- assert: - that: - - "result is changed" - -- name: Test tower SSL parameter - tower_user: - first_name: Joe - last_name: User - username: joe - password: "{{ 65535 | random | to_uuid }}" - email: joe@example.org - state: present - validate_certs: true - tower_host: http://foo.invalid - ignore_errors: true - register: result - -- assert: - that: - - "'not verify ssl with non-https protocol' in (result.module_stdout + result.module_stderr)" |