mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Deprecate tests used as filters (#32361)
* Warn on tests used as filters * Update docs, add aliases for tests that fit more gramatically with test syntax * Fix rst formatting * Add successful filter, alias of success * Remove renamed_deprecation, it was overkill * Make directory alias for is_dir * Update tests to use proper jinja test syntax * Update additional documentation, living outside of YAML files, to reflect proper jinja test syntax * Add conversion script, porting guide updates, and changelog updates * Update newly added uses of tests as filters * No underscore variable * Convert recent tests as filter changes to win_stat * Fix some changes related to rebasing a few integration tests * Make tests_as_filters_warning explicitly accept the name of the test, instead of inferring the name * Add test for tests_as_filters_warning * Update tests as filters in newly added/modified tests * Address recent changes to several integration tests * Address recent changes in cs_vpc
This commit is contained in:
parent
fd4a6cf7ad
commit
4fe08441be
349 changed files with 4086 additions and 3844 deletions
|
@ -9,8 +9,8 @@
|
|||
- name: Verify create server
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- server|changed
|
||||
- server is successful
|
||||
- server is changed
|
||||
- server.state == 'running'
|
||||
|
||||
- name: Test create server indempotence
|
||||
|
@ -23,8 +23,8 @@
|
|||
- name: Verify create server
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- not server|changed
|
||||
- server is successful
|
||||
- server is not changed
|
||||
- server.state == 'running'
|
||||
|
||||
- name: Test create server stopped
|
||||
|
@ -38,8 +38,8 @@
|
|||
- name: Verify create server stopped
|
||||
assert:
|
||||
that:
|
||||
- server_stopped|success
|
||||
- server_stopped|changed
|
||||
- server_stopped is successful
|
||||
- server_stopped is changed
|
||||
- server_stopped.state == 'stopped'
|
||||
|
||||
- name: Test create server failure without required parameters
|
||||
|
@ -50,7 +50,7 @@
|
|||
- name: Verify create server failure without required parameters
|
||||
assert:
|
||||
that:
|
||||
- server_failed|failed
|
||||
- server_failed is failed
|
||||
- "'Missing required parameter' in server_failed.msg"
|
||||
|
||||
- name: Test server stopped
|
||||
|
@ -61,8 +61,8 @@
|
|||
- name: Verify server stopped
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- server|changed
|
||||
- server is successful
|
||||
- server is changed
|
||||
- server.state == 'stopped'
|
||||
|
||||
- name: Test server stopped indempotence
|
||||
|
@ -73,8 +73,8 @@
|
|||
- name: Verify server stopped indempotence
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- not server|changed
|
||||
- server is successful
|
||||
- server is not changed
|
||||
- server.state == 'stopped'
|
||||
|
||||
- name: Test server running
|
||||
|
@ -85,8 +85,8 @@
|
|||
- name: Verify server running
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- server|changed
|
||||
- server is successful
|
||||
- server is changed
|
||||
- server.state == 'running'
|
||||
|
||||
- name: Test server running indempotence
|
||||
|
@ -97,8 +97,8 @@
|
|||
- name: Verify server running indempotence
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- not server|changed
|
||||
- server is successful
|
||||
- server is not changed
|
||||
- server.state == 'running'
|
||||
|
||||
- name: Test server deletion by name
|
||||
|
@ -109,8 +109,8 @@
|
|||
- name: Verify server deletion
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- server|changed
|
||||
- server is successful
|
||||
- server is changed
|
||||
- server.state == 'absent'
|
||||
|
||||
- name: Test server deletion by uuid
|
||||
|
@ -121,8 +121,8 @@
|
|||
- name: Verify server deletion by uuid
|
||||
assert:
|
||||
that:
|
||||
- server_stopped|success
|
||||
- server_stopped|changed
|
||||
- server_stopped is successful
|
||||
- server_stopped is changed
|
||||
- server_stopped.state == 'absent'
|
||||
|
||||
- name: Test server deletion indempotence
|
||||
|
@ -133,6 +133,6 @@
|
|||
- name: Verify server deletion
|
||||
assert:
|
||||
that:
|
||||
- server|success
|
||||
- not server|changed
|
||||
- server is successful
|
||||
- server is not changed
|
||||
- server.state == 'absent'
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_expression/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/target_lb_vserver/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_rule/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/policy_url/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/cs_vserver_policies/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/gslb_site/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,137 +5,137 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_domainbinding.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_domainbinding.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_domainbinding.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_domainbinding.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_gslbservice_binding.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_gslbservice_binding.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_gslbservice_binding.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/update_gslbservice_binding.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/sourceiphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_aac/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_ag/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_web_interface/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xd_doc/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_citrix_xml_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_diameter/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ftp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_ecv/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,21 +5,21 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/setup.yaml"
|
||||
vars:
|
||||
|
@ -30,53 +30,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_http_inline/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_ldap/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_load/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_nntp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_radius_accounting/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_rtsp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_sip/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_snmp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_storefront/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_monitor_user/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_any/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_dns/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_http/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_iphash/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_ippattern/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mssql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_mysql/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_oracle/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_push/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_rtspnat/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,21 +5,21 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/setup.yaml"
|
||||
vars:
|
||||
|
@ -30,21 +30,21 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
|
@ -55,21 +55,21 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update_service.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update_service.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update_service.yaml"
|
||||
vars:
|
||||
|
@ -80,53 +80,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/lb_vserver_tcp/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,35 +5,35 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/update.yaml"
|
||||
vars:
|
||||
|
@ -44,39 +44,39 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,35 +5,35 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/update.yaml"
|
||||
vars:
|
||||
|
@ -44,39 +44,39 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_domain/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,35 +5,35 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/update.yaml"
|
||||
vars:
|
||||
|
@ -44,39 +44,39 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/server_ipv6/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/adns_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/http_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/ssl_service/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,81 +5,81 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,109 +5,109 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/update.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/default_only.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/servicegroup_monitors/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -5,53 +5,53 @@
|
|||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/setup.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/setup.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: result|changed
|
||||
that: result is changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/remove.yaml"
|
||||
vars:
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
||||
- include: "{{ role_path }}/tests/nitro/certkey/remove.yaml"
|
||||
vars:
|
||||
check_mode: no
|
||||
|
||||
- assert:
|
||||
that: not result|changed
|
||||
that: result is not changed
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
- name: "Validate: A record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '127.0.0.1'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'A'
|
||||
|
@ -37,8 +37,8 @@
|
|||
- name: "Validate: A record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: A record update"
|
||||
cloudflare_dns:
|
||||
|
@ -54,8 +54,8 @@
|
|||
- name: "Validate: A record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
- name: "Test: A record duplicate (create new record)"
|
||||
|
@ -72,8 +72,8 @@
|
|||
- name: "Validate: A record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '127.0.1.1'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'A'
|
||||
|
@ -94,8 +94,8 @@
|
|||
- name: "Validate: A record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == '127.0.0.1'
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.type == 'A'
|
||||
|
@ -117,8 +117,8 @@
|
|||
- name: "Validate: A record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '127.0.1.1'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'A'
|
||||
|
@ -140,8 +140,8 @@
|
|||
- name: "Validate: A record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: A record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -158,8 +158,8 @@
|
|||
- name: "Validate: A record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: A record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -176,5 +176,5 @@
|
|||
- name: "Validate: A record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
- name: "Validate: AAAA record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '::1'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'AAAA'
|
||||
|
@ -37,8 +37,8 @@
|
|||
- name: "Validate: AAAA record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: AAAA record update"
|
||||
cloudflare_dns:
|
||||
|
@ -54,8 +54,8 @@
|
|||
- name: "Validate: AAAA record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
- name: "Test: AAAA record duplicate (create new record)"
|
||||
|
@ -72,8 +72,8 @@
|
|||
- name: "Validate: AAAA record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '::2'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'AAAA'
|
||||
|
@ -94,8 +94,8 @@
|
|||
- name: "Validate: AAAA record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == '::1'
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.type == 'AAAA'
|
||||
|
@ -117,8 +117,8 @@
|
|||
- name: "Validate: AAAA record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '::2'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'AAAA'
|
||||
|
@ -140,8 +140,8 @@
|
|||
- name: "Validate: AAAA record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: AAAA record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -158,8 +158,8 @@
|
|||
- name: "Validate: AAAA record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: AAAA record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -176,5 +176,5 @@
|
|||
- name: "Validate: AAAA record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
- name: "Validate: CNAME record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == "srv1.{{ cloudflare_zone }}"
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'CNAME'
|
||||
|
@ -39,8 +39,8 @@
|
|||
- name: "Validate: CNAME record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: CNAME record update"
|
||||
cloudflare_dns:
|
||||
|
@ -56,8 +56,8 @@
|
|||
- name: "Validate: CNAME record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == "srv2.{{ cloudflare_zone }}"
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
|
@ -76,8 +76,8 @@
|
|||
- name: "Validate: CNAME record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == "srv3.{{ cloudflare_zone }}"
|
||||
- cloudflare_dns.result.record.ttl == 600
|
||||
- cloudflare_dns.result.record.type == 'CNAME'
|
||||
|
@ -99,8 +99,8 @@
|
|||
- name: "Validate: CNAME record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: CNAME record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -117,8 +117,8 @@
|
|||
- name: "Validate: CNAME record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: CNAME record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -135,5 +135,5 @@
|
|||
- name: "Validate: CNAME record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: "Validate: no args"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|failed
|
||||
- cloudflare_dns is failed
|
||||
- "cloudflare_dns.msg.find('missing required arguments: ') != -1"
|
||||
|
||||
- name: "Test: only credentials"
|
||||
|
@ -20,7 +20,7 @@
|
|||
- name: "Validate: only credentials"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|failed
|
||||
- cloudflare_dns is failed
|
||||
- "cloudflare_dns.msg.find('missing required arguments: ') != -1"
|
||||
|
||||
- name: "Test: credentials and zone"
|
||||
|
@ -34,7 +34,7 @@
|
|||
- name: "Validate: credentials and zone"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|failed
|
||||
- cloudflare_dns is failed
|
||||
- "cloudflare_dns.msg.find('but the following are missing: ') != -1"
|
||||
|
||||
- name: "Test: credentials, zone and type"
|
||||
|
@ -49,7 +49,7 @@
|
|||
- name: "Validate: credentials, zone and type"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|failed
|
||||
- cloudflare_dns is failed
|
||||
- "cloudflare_dns.msg.find('but the following are missing: ') != -1"
|
||||
|
||||
######## record tests #################
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
- name: "Validate: MX record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'mx1-{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.priority == 20
|
||||
|
@ -40,8 +40,8 @@
|
|||
- name: "Validate: MX record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: MX record update"
|
||||
cloudflare_dns:
|
||||
|
@ -58,8 +58,8 @@
|
|||
- name: "Validate: MX record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.priority == 10
|
||||
|
||||
|
@ -78,8 +78,8 @@
|
|||
- name: "Validate: MX record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'mx2-{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.priority == 30
|
||||
|
@ -102,8 +102,8 @@
|
|||
- name: "Validate: MX record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == 'mx1-{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.priority == 10
|
||||
|
@ -127,8 +127,8 @@
|
|||
- name: "Validate: MX record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'mx2-{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.priority == 30
|
||||
|
@ -152,8 +152,8 @@
|
|||
- name: "Validate: MX record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: MX record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -171,8 +171,8 @@
|
|||
- name: "Validate: MX record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: MX record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -190,5 +190,5 @@
|
|||
- name: "Validate: MX record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
- name: "Validate: NS record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'an.si.ble'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'NS'
|
||||
|
@ -39,8 +39,8 @@
|
|||
- name: "Validate: NS record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: NS record update"
|
||||
cloudflare_dns:
|
||||
|
@ -56,8 +56,8 @@
|
|||
- name: "Validate: NS record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
- name: "Test: NS record duplicate (create new record)"
|
||||
|
@ -74,8 +74,8 @@
|
|||
- name: "Validate: NS record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'ble.si.an'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'NS'
|
||||
|
@ -96,8 +96,8 @@
|
|||
- name: "Validate: NS record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == 'an.si.ble'
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.type == 'NS'
|
||||
|
@ -119,8 +119,8 @@
|
|||
- name: "Validate: NS record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'ble.si.an'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'NS'
|
||||
|
@ -142,8 +142,8 @@
|
|||
- name: "Validate: NS record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: NS record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -160,8 +160,8 @@
|
|||
- name: "Validate: NS record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: NS record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -178,5 +178,5 @@
|
|||
- name: "Validate: NS record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
- name: "Validate: SPF record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == "{{ txt_teststring }}"
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'SPF'
|
||||
|
@ -41,8 +41,8 @@
|
|||
- name: "Validate: SPF record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: SPF record update"
|
||||
cloudflare_dns:
|
||||
|
@ -58,8 +58,8 @@
|
|||
- name: "Validate: SPF record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
- name: "Test: SPF record duplicate (create new record)"
|
||||
|
@ -76,8 +76,8 @@
|
|||
- name: "Validate: SPF record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'v=spf1 teststring'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'SPF'
|
||||
|
@ -98,8 +98,8 @@
|
|||
- name: "Validate: SPF record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == "{{ txt_teststring }}"
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.type == 'SPF'
|
||||
|
@ -121,8 +121,8 @@
|
|||
- name: "Validate: SPF record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'v=spf1 teststring'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'SPF'
|
||||
|
@ -144,8 +144,8 @@
|
|||
- name: "Validate: SPF record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: SPF record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -162,8 +162,8 @@
|
|||
- name: "Validate: SPF record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: SPF record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -180,5 +180,5 @@
|
|||
- name: "Validate: SPF record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- name: "Validate: SRV record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '5\t3500\tsrv1.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.data.target == 'srv1.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
|
@ -54,8 +54,8 @@
|
|||
- name: "Validate: SRV record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
# changing the following attributes creates a new record:
|
||||
# weight
|
||||
|
@ -82,8 +82,8 @@
|
|||
- name: "Validate: SRV record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.data.target == 'srv1.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.data.port == 3500
|
||||
|
@ -112,8 +112,8 @@
|
|||
- name: "Validate: SRV record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '19\t9999\tsrv2.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.data.target == 'srv2.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
|
@ -146,8 +146,8 @@
|
|||
- name: "Validate: SRV record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == '5\t3500\tsrv1.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.data.target == 'srv1.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
|
@ -181,8 +181,8 @@
|
|||
- name: "Validate: SRV record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == '19\t9999\tsrv2.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.data.target == 'srv2.{{ cloudflare_dns_record }}.{{ cloudflare_zone }}'
|
||||
|
@ -216,8 +216,8 @@
|
|||
- name: "Validate: SRV record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: SRV record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -239,8 +239,8 @@
|
|||
- name: "Validate: SRV record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: SRV record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -262,5 +262,5 @@
|
|||
- name: "Validate: SRV record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
- name: "Validate: TXT record creation"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == "{{ txt_teststring }}"
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'TXT'
|
||||
|
@ -41,8 +41,8 @@
|
|||
- name: "Validate: TXT record idempotency"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: TXT record update"
|
||||
cloudflare_dns:
|
||||
|
@ -58,8 +58,8 @@
|
|||
- name: "Validate: TXT record update"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
|
||||
- name: "Test: TXT record duplicate (create new record)"
|
||||
|
@ -76,8 +76,8 @@
|
|||
- name: "Validate: TXT record duplicate (create new record)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'teststring'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'TXT'
|
||||
|
@ -98,8 +98,8 @@
|
|||
- name: "Validate: TXT record duplicate (old record present)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
- cloudflare_dns.result.record.content == "{{ txt_teststring }}"
|
||||
- cloudflare_dns.result.record.ttl == 300
|
||||
- cloudflare_dns.result.record.type == 'TXT'
|
||||
|
@ -121,8 +121,8 @@
|
|||
- name: "Validate: TXT record duplicate (make new record solo)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
- cloudflare_dns.result.record.content == 'teststring'
|
||||
- cloudflare_dns.result.record.ttl == 150
|
||||
- cloudflare_dns.result.record.type == 'TXT'
|
||||
|
@ -144,8 +144,8 @@
|
|||
- name: "Validate: TXT record duplicate (old record absent)"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
||||
- name: "Test: TXT record deletion"
|
||||
cloudflare_dns:
|
||||
|
@ -162,8 +162,8 @@
|
|||
- name: "Validate: TXT record deletion"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is changed
|
||||
|
||||
- name: "Test: TXT record deletion succeeded"
|
||||
cloudflare_dns:
|
||||
|
@ -180,5 +180,5 @@
|
|||
- name: "Validate: TXT record deletion succeeded"
|
||||
assert:
|
||||
that:
|
||||
- cloudflare_dns|success
|
||||
- not cloudflare_dns|changed
|
||||
- cloudflare_dns is successful
|
||||
- cloudflare_dns is not changed
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
- name: metadata from the kv store gets added to the facts for a host
|
||||
assert:
|
||||
that:
|
||||
- clearance | match('top_secret')
|
||||
- clearance is match('top_secret')
|
||||
when: inventory_hostname == '11.0.0.2'
|
||||
|
||||
- name: extra groups a host should be added to can be loaded from kv
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
- name: kv test
|
||||
assert:
|
||||
that:
|
||||
- "{{item | match('somevalue_one')}}"
|
||||
- "{{ item is match('somevalue_one')}}"
|
||||
with_consul_kv:
|
||||
- 'key/to/lookup_one token={{acl_token}}'
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
|||
- name: recursive kv lookup test
|
||||
assert:
|
||||
that:
|
||||
- "{{item| match('somevalue_(one|two)')}}"
|
||||
- "{{ item is match('somevalue_(one|two)')}}"
|
||||
with_consul_kv:
|
||||
- 'key/to recurse=true token={{acl_token}}'
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
- name: verify registering service without name fails
|
||||
assert:
|
||||
that:
|
||||
- noname_result | failed
|
||||
- noname_result is failed
|
||||
|
||||
- name: register very basic service without service_port
|
||||
consul:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
- name: verify setup
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result is successful
|
||||
|
||||
- name: test fail if missing name
|
||||
local_action:
|
||||
|
@ -18,7 +18,7 @@
|
|||
- name: verify results of fail if missing params
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "missing required arguments: name"'
|
||||
|
||||
- name: test create a domain
|
||||
|
@ -29,7 +29,7 @@
|
|||
- name: verify results of test create a domain
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_domain.name == "{{ exo_dns_domain_name }}"'
|
||||
|
||||
- name: test create a domain idempotence
|
||||
|
@ -40,7 +40,7 @@
|
|||
- name: verify results of test create a domain idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
- 'result.exo_dns_domain.name == "{{ exo_dns_domain_name }}"'
|
||||
|
||||
- name: test fail if missing required params
|
||||
|
@ -51,7 +51,7 @@
|
|||
- name: verify results of test fail if missing required params
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "missing required arguments: domain"'
|
||||
|
||||
- name: test fail if missing required params
|
||||
|
@ -64,7 +64,7 @@
|
|||
- name: verify results of test fail if missing required params
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "name is but the following are missing: content"'
|
||||
|
||||
- name: test fail if missing required params state=present
|
||||
|
@ -77,7 +77,7 @@
|
|||
- name: verify results of test fail if missing required params state=present
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "state is present but the following are missing: content"'
|
||||
|
||||
- name: test fail if missing required params state=absent
|
||||
|
@ -91,7 +91,7 @@
|
|||
- name: verify results of test fail if missing required params state=absent
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "name is but the following are missing: content"'
|
||||
|
||||
- name: test create a record
|
||||
|
@ -104,7 +104,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.4"'
|
||||
|
@ -119,7 +119,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.4"'
|
||||
|
@ -135,7 +135,7 @@
|
|||
- name: verify results of test update a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -152,7 +152,7 @@
|
|||
- name: verify results of test update a record idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -168,7 +168,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -184,7 +184,7 @@
|
|||
- name: verify results of test create a record idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
|
||||
- name: setup an existing MX record
|
||||
local_action:
|
||||
|
@ -198,7 +198,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == ""'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "mx2.{{ exo_dns_domain_name }}"'
|
||||
|
@ -216,7 +216,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == ""'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "mx1.{{ exo_dns_domain_name }}"'
|
||||
|
@ -235,7 +235,7 @@
|
|||
- name: verify results of test create a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == ""'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "mx1.{{ exo_dns_domain_name }}"'
|
||||
|
@ -254,7 +254,7 @@
|
|||
- name: verify results of test delete a MX record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == ""'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "mx1.{{ exo_dns_domain_name }}"'
|
||||
|
@ -272,7 +272,7 @@
|
|||
- name: verify results of test delete a MX record idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
|
||||
- name: test create first multiple a record
|
||||
local_action:
|
||||
|
@ -285,7 +285,7 @@
|
|||
- name: verify results of test create first multiple a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.4"'
|
||||
|
@ -301,7 +301,7 @@
|
|||
- name: verify results of test create another similar a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -319,7 +319,7 @@
|
|||
- name: verify results of test create another similar a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -336,7 +336,7 @@
|
|||
- name: verify results of test create first multiple a record idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.4"'
|
||||
|
@ -353,7 +353,7 @@
|
|||
- name: verify results of test delete similar a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.5"'
|
||||
|
@ -370,7 +370,7 @@
|
|||
- name: verify results of test delete first similar a record
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_record.name == "{{ exo_dns_record_name_web }}"'
|
||||
- 'result.exo_dns_record.domain == "{{ exo_dns_domain_name }}"'
|
||||
- 'result.exo_dns_record.content == "1.2.3.4"'
|
||||
|
@ -384,7 +384,7 @@
|
|||
- name: verify results of test delete a domain
|
||||
assert:
|
||||
that:
|
||||
- result|changed
|
||||
- result is changed
|
||||
- 'result.exo_dns_domain.name == "{{ exo_dns_domain_name }}"'
|
||||
|
||||
- name: test delete a domain idempotence
|
||||
|
@ -396,4 +396,4 @@
|
|||
- name: verify results of test delete a domain idempotence
|
||||
assert:
|
||||
that:
|
||||
- not result|changed
|
||||
- result is not changed
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 'result.failed'
|
||||
- '{{ result.msg | match("Disk at index 0 does not match:.*") }}'
|
||||
- '{{ result.msg is match("Disk at index 0 does not match:.*") }}'
|
||||
|
||||
# ============================================================
|
||||
- name: test disks given with name and mode
|
||||
|
@ -230,7 +230,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 'result.failed'
|
||||
- '{{ result.msg | match("Disk at index 0 is in the wrong mode:.*") }}'
|
||||
- '{{ result.msg is match("Disk at index 0 is in the wrong mode:.*") }}'
|
||||
|
||||
# ============================================================
|
||||
- name: test disks given, state absent (expected changed=true)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
- name: verify setup
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result is successful
|
||||
|
||||
- name: test fail on missing params
|
||||
local_action:
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: verify test fail on missing params
|
||||
assert:
|
||||
that:
|
||||
- result|failed
|
||||
- result is failed
|
||||
- 'result.msg == "one of the following params is required on state=present: config,enabled"'
|
||||
|
||||
- name: test create a job
|
||||
|
@ -40,8 +40,8 @@
|
|||
- name: verify test create a job
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- result is successful
|
||||
- result is changed
|
||||
- result.enabled
|
||||
|
||||
- name: test create a job idempotence
|
||||
|
@ -56,8 +56,8 @@
|
|||
- name: verify test create a job idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- not result|changed
|
||||
- result is successful
|
||||
- result is not changed
|
||||
- result.enabled
|
||||
|
||||
- name: test create a enabled job idempotence
|
||||
|
@ -72,8 +72,8 @@
|
|||
- name: verify test create a enabled job idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- not result|changed
|
||||
- result is successful
|
||||
- result is not changed
|
||||
- result.enabled
|
||||
|
||||
- name: test update a job
|
||||
|
@ -90,8 +90,8 @@
|
|||
- name: verify test create a enabled job idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- result is successful
|
||||
- result is changed
|
||||
- result.enabled
|
||||
|
||||
- name: test disable an existing job without config
|
||||
|
@ -106,8 +106,8 @@
|
|||
- name: verify test disable an existing job without config
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- result is successful
|
||||
- result is changed
|
||||
- not result.enabled
|
||||
|
||||
- name: test disable an existing job without config idempotence
|
||||
|
@ -122,8 +122,8 @@
|
|||
- name: verify test disable an existing job without config idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- not result|changed
|
||||
- result is successful
|
||||
- result is not changed
|
||||
- not result.enabled
|
||||
|
||||
- name: test reset to config job
|
||||
|
@ -138,8 +138,8 @@
|
|||
- name: verify test reset to config job
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- result is successful
|
||||
- result is changed
|
||||
|
||||
- name: test remove job
|
||||
local_action:
|
||||
|
@ -153,8 +153,8 @@
|
|||
- name: verify test remove job
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- result is successful
|
||||
- result is changed
|
||||
|
||||
- name: test remove job idempotence
|
||||
local_action:
|
||||
|
@ -168,5 +168,5 @@
|
|||
- name: verify test remove job idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- not result|changed
|
||||
- result is successful
|
||||
- result is not changed
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax with no args
|
||||
assert:
|
||||
that:
|
||||
- rax|failed
|
||||
- rax is failed
|
||||
- rax.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
- name: Validate results of rax with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax|failed
|
||||
- rax is failed
|
||||
- rax.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
- name: Validate rax creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax|failed
|
||||
- rax is failed
|
||||
- rax.msg == 'image is required for the "rax" module'
|
||||
# ============================================================
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
|||
- name: Validate rax with creds, region and image
|
||||
assert:
|
||||
that:
|
||||
- rax|failed
|
||||
- rax is failed
|
||||
- rax.msg == 'flavor is required for the "rax" module'
|
||||
# ============================================================
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
|||
- name: Validate rax with creds, region, image and flavor
|
||||
assert:
|
||||
that:
|
||||
- rax|failed
|
||||
- rax is failed
|
||||
- rax.msg == 'name is required for the "rax" module'
|
||||
# ============================================================
|
||||
|
||||
|
@ -101,8 +101,8 @@
|
|||
- name: Validate rax with creds, region, image, flavor and name
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-1"
|
||||
|
@ -125,7 +125,7 @@
|
|||
- name: "Validate delete integration 1"
|
||||
assert:
|
||||
that:
|
||||
- rax|changed
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success[0].name == "{{ resource_prefix }}-1"
|
||||
# ============================================================
|
||||
|
@ -148,8 +148,8 @@
|
|||
- name: Validate rax basic idepmpotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-2"
|
||||
|
@ -171,8 +171,8 @@
|
|||
- name: Validate rax basic idempotency 2
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- not rax|changed
|
||||
- rax is successful
|
||||
- rax is not changed
|
||||
- not rax.action
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-2"
|
||||
|
@ -194,8 +194,8 @@
|
|||
- name: "Validate delete integration 2"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success[0].name == "{{ resource_prefix }}-2"
|
||||
- rax.success[0].rax_status == "DELETED"
|
||||
|
@ -221,8 +221,8 @@
|
|||
- name: Validate rax basic idepmpotency with meta 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-3"
|
||||
|
@ -247,8 +247,8 @@
|
|||
- name: Validate rax basic idempotency with meta 2
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- not rax|changed
|
||||
- rax is successful
|
||||
- rax is not changed
|
||||
- not rax.action
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-3"
|
||||
|
@ -272,8 +272,8 @@
|
|||
- name: "Validate delete integration 3"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success[0].name == "{{ resource_prefix }}-3"
|
||||
- rax.success[0].rax_status == "DELETED"
|
||||
|
@ -298,8 +298,8 @@
|
|||
- name: Validate rax basic idepmpotency multi server 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -320,8 +320,8 @@
|
|||
- name: Validate rax basic idempotency multi server 2
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- not rax|changed
|
||||
- rax is successful
|
||||
- rax is not changed
|
||||
- not rax.action
|
||||
- rax.instances|length == 2
|
||||
- not rax.success
|
||||
|
@ -342,8 +342,8 @@
|
|||
- name: Validate rax basic idempotency multi server 3
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 3
|
||||
- rax.success|length == 1
|
||||
|
@ -365,8 +365,8 @@
|
|||
- name: "Validate delete integration 4"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 3
|
||||
- not rax.instances
|
||||
|
@ -392,8 +392,8 @@
|
|||
- name: Validate rax multi server group without exact_count 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -417,8 +417,8 @@
|
|||
- name: "Validate delete integration 5"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 2
|
||||
- not rax.instances
|
||||
|
@ -444,8 +444,8 @@
|
|||
- name: Validate rax multi server group without exact_count non-idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -468,8 +468,8 @@
|
|||
- name: Validate rax multi server group without exact_count non-idempotency 2
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 4
|
||||
- rax.instances|map(attribute='rax_name')|unique|length == 4
|
||||
|
@ -492,8 +492,8 @@
|
|||
- name: "Validate delete integration 6"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 4
|
||||
- not rax.instances
|
||||
|
@ -520,8 +520,8 @@
|
|||
- name: Validate rax multi server group with exact_count 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -545,8 +545,8 @@
|
|||
- name: Validate rax multi server group with exact_count 2
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- not rax|changed
|
||||
- rax is successful
|
||||
- rax is not changed
|
||||
- not rax.action
|
||||
- rax.instances|length == 2
|
||||
- rax.instances|map(attribute='rax_name')|unique|length == 2
|
||||
|
@ -569,8 +569,8 @@
|
|||
- name: Validate rax multi server group with exact_count 3
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 4
|
||||
- rax.success|length == 2
|
||||
|
@ -595,8 +595,8 @@
|
|||
- name: "Validate delete integration 7"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 4
|
||||
- not rax.instances
|
||||
|
@ -623,8 +623,8 @@
|
|||
- name: Validate rax multi server group without exact_count and disabled auto_increment 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -649,8 +649,8 @@
|
|||
- name: "Validate delete integration 8"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 2
|
||||
- not rax.instances
|
||||
|
@ -677,8 +677,8 @@
|
|||
- name: Validate rax multi server group with exact_count and no printf 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -702,8 +702,8 @@
|
|||
- name: "Validate delete integration 9"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 2
|
||||
- not rax.instances
|
||||
|
@ -731,8 +731,8 @@
|
|||
- name: Validate rax multi server group with exact_count and offset 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -757,8 +757,8 @@
|
|||
- name: "Validate delete integration 10"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 2
|
||||
- not rax.instances
|
||||
|
@ -786,8 +786,8 @@
|
|||
- name: Validate rax multi server group with exact_count and offset 1
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 2
|
||||
- rax.instances == rax.success
|
||||
|
@ -812,8 +812,8 @@
|
|||
- name: "Validate delete integration 11"
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'delete'
|
||||
- rax.success|length == 2
|
||||
- not rax.instances
|
||||
|
@ -837,8 +837,8 @@
|
|||
- name: Validate rax instance_ids absent 1 (create)
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-12"
|
||||
|
@ -862,8 +862,8 @@
|
|||
- name: Validate rax instance_ids absent 2 (delete)
|
||||
assert:
|
||||
that:
|
||||
- rax2|success
|
||||
- rax2|changed
|
||||
- rax2 is successful
|
||||
- rax2 is changed
|
||||
- rax2.action == 'delete'
|
||||
- rax2.success.0.rax_id == rax.success.0.rax_id
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_cbs with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|failed
|
||||
- rax_cbs is failed
|
||||
- 'rax_cbs.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_cbs with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|failed
|
||||
- rax_cbs is failed
|
||||
- rax_cbs.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_cbs with name and credentials
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|failed
|
||||
- rax_cbs is failed
|
||||
- rax_cbs.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -61,8 +61,8 @@
|
|||
- name: Validate rax_cbs creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-1"
|
||||
- rax_cbs.volume.attachments == []
|
||||
- rax_cbs.volume.size == 100
|
||||
|
@ -81,8 +81,8 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-1"
|
||||
# ============================================================
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
|||
- name: Validate rax_cbs creds, region, name and invalid size
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|failed
|
||||
- rax_cbs is failed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -122,8 +122,8 @@
|
|||
- name: Validate rax_cbs creds, region and valid size
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-2"
|
||||
- rax_cbs.volume.attachments == []
|
||||
- rax_cbs.volume.size == 150
|
||||
|
@ -142,8 +142,8 @@
|
|||
- name: Validate delete integration 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-2"
|
||||
# ============================================================
|
||||
|
||||
|
@ -163,7 +163,7 @@
|
|||
- name: Validate rax_cbs creds, region, name and invalid volume_type
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|failed
|
||||
- rax_cbs is failed
|
||||
- 'rax_cbs.msg == "value of volume_type must be one of: SSD,SATA, got: fail"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -184,8 +184,8 @@
|
|||
- name: Validate rax_cbs creds, region and valid volume_size
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-3"
|
||||
- rax_cbs.volume.attachments == []
|
||||
- rax_cbs.volume.size == 100
|
||||
|
@ -204,8 +204,8 @@
|
|||
- name: Validate delete integration 3
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-3"
|
||||
# ============================================================
|
||||
|
||||
|
@ -226,8 +226,8 @@
|
|||
- name: Validate rax_cbs creds, region and description
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-4"
|
||||
- rax_cbs.volume.description == '{{ resource_prefix }}-4 description'
|
||||
- rax_cbs.volume.attachments == []
|
||||
|
@ -247,8 +247,8 @@
|
|||
- name: Validate delete integration 4
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-4"
|
||||
# ============================================================
|
||||
|
||||
|
@ -270,8 +270,8 @@
|
|||
- name: Validate rax_cbs creds, region and meta
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-5"
|
||||
- rax_cbs.volume.attachments == []
|
||||
- rax_cbs.volume.size == 100
|
||||
|
@ -291,8 +291,8 @@
|
|||
- name: Validate delete integration 5
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-5"
|
||||
# ============================================================
|
||||
|
||||
|
@ -312,8 +312,8 @@
|
|||
- name: Validate rax_cbs with idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_1|success
|
||||
- rax_cbs_1|changed
|
||||
- rax_cbs_1 is successful
|
||||
- rax_cbs_1 is changed
|
||||
- rax_cbs_1.volume.display_name == "{{ resource_prefix }}-6"
|
||||
|
||||
- name: Test rax_cbs with idempotency 2
|
||||
|
@ -327,8 +327,8 @@
|
|||
- name: Validate rax_cbs with idempotency 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_2|success
|
||||
- not rax_cbs_2|changed
|
||||
- rax_cbs_2 is successful
|
||||
- rax_cbs_2 is not changed
|
||||
- rax_cbs_2.volume.display_name == "{{ resource_prefix }}-6"
|
||||
- rax_cbs_2.volume.id == rax_cbs_1.volume.id
|
||||
|
||||
|
@ -344,7 +344,7 @@
|
|||
- name: Validate delete integration 6
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.name == "{{ resource_prefix }}-6"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_cbs_attachments with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|failed
|
||||
- rax_cbs_attachments is failed
|
||||
- 'rax_cbs_attachments.msg == "missing required arguments: server,volume,device"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: Validate results of rax_cbs_attachments with server, volume and device
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|failed
|
||||
- rax_cbs_attachments is failed
|
||||
- rax_cbs_attachments.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
|||
- name: Validate results of rax_cbs_attachments with credentials, server, volume and device
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|failed
|
||||
- rax_cbs_attachments is failed
|
||||
- rax_cbs_attachments.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
|||
- name: Validate rax_cbs_attachments creds, region, invalid server, invalid volume and device
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|failed
|
||||
- rax_cbs_attachments is failed
|
||||
- rax_cbs_attachments.msg == 'No matching storage volumes were found'
|
||||
# ============================================================
|
||||
|
||||
|
@ -86,8 +86,8 @@
|
|||
- name: Validate volume build
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
- rax_cbs.volume.display_name == "{{ resource_prefix }}-rax_cbs_attachments"
|
||||
# ============================================================
|
||||
|
||||
|
@ -109,8 +109,8 @@
|
|||
- name: Validate CloudServer build
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-rax_cbs_attachments"
|
||||
|
@ -133,7 +133,7 @@
|
|||
- name: Validate rax_cbs_attachments creds, region, invalid server, volume and device
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|failed
|
||||
- rax_cbs_attachments is failed
|
||||
- rax_cbs_attachments.msg == 'No Server was matched by name, try using the Server ID instead'
|
||||
# ============================================================
|
||||
|
||||
|
@ -155,8 +155,8 @@
|
|||
- name: Validate rax_cbs_attachments creds, region, server, volume and device (valid)
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|success
|
||||
- rax_cbs_attachments|changed
|
||||
- rax_cbs_attachments is successful
|
||||
- rax_cbs_attachments is changed
|
||||
- rax_cbs_attachments.volume.attachments.0.device == '/dev/xvde'
|
||||
- rax_cbs_attachments.volume.attachments.0.server_id == "{{ rax.instances[0].id }}"
|
||||
|
||||
|
@ -175,8 +175,8 @@
|
|||
- name: Validate idempotent present test
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|success
|
||||
- not rax_cbs_attachments|changed
|
||||
- rax_cbs_attachments is successful
|
||||
- rax_cbs_attachments is not changed
|
||||
|
||||
- name: Unattach volume
|
||||
rax_cbs_attachments:
|
||||
|
@ -194,8 +194,8 @@
|
|||
- name: Validate unattach volume
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|success
|
||||
- rax_cbs_attachments|changed
|
||||
- rax_cbs_attachments is successful
|
||||
- rax_cbs_attachments is changed
|
||||
- rax_cbs_attachments.volume.attachments == []
|
||||
|
||||
- name: Idempotent absent test
|
||||
|
@ -214,8 +214,8 @@
|
|||
- name: Validate idempotent absent test
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs_attachments|success
|
||||
- not rax_cbs_attachments|changed
|
||||
- rax_cbs_attachments is successful
|
||||
- rax_cbs_attachments is not changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -233,8 +233,8 @@
|
|||
- name: Validate delete integration 6
|
||||
assert:
|
||||
that:
|
||||
- rax_cbs|success
|
||||
- rax_cbs|changed
|
||||
- rax_cbs is successful
|
||||
- rax_cbs is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -254,7 +254,7 @@
|
|||
- name: "Validate delete"
|
||||
assert:
|
||||
that:
|
||||
- rax|changed
|
||||
- rax|success
|
||||
- rax is changed
|
||||
- rax is successful
|
||||
- rax.action == 'delete'
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_cdb with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|failed
|
||||
- rax_cdb is failed
|
||||
- 'rax_cdb.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_cdb with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|failed
|
||||
- rax_cdb is failed
|
||||
- rax_cdb.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_cdb with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|failed
|
||||
- rax_cdb is failed
|
||||
- rax_cdb.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
- name: Validate rax_cdb creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|failed
|
||||
- rax_cdb is failed
|
||||
- 'rax_cdb.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -79,8 +79,8 @@
|
|||
- name: Validate rax_cdb with creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == '{{ resource_prefix }}-1'
|
||||
- rax_cdb.cdb.hostname
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
@ -99,8 +99,8 @@
|
|||
- name: "Validate delete integration 1"
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-1"
|
||||
|
||||
# ============================================================
|
||||
|
@ -121,8 +121,8 @@
|
|||
- name: Validate rax_cdb idempotent test 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-2"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -139,8 +139,8 @@
|
|||
- name: Validate rax_cdb idempotent test 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- not rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is not changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-2"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -158,7 +158,7 @@
|
|||
- name: "Validate delete integration 2"
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-2"
|
||||
# ============================================================
|
||||
|
||||
|
@ -178,8 +178,8 @@
|
|||
- name: Validate rax_cdb resize volume 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-3"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -197,8 +197,8 @@
|
|||
- name: Validate rax_cdb resize volume 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-3"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -216,7 +216,7 @@
|
|||
- name: "Validate delete integration 3"
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-3"
|
||||
# ============================================================
|
||||
|
||||
|
@ -236,8 +236,8 @@
|
|||
- name: Validate rax_cdb resize flavor 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-4"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -255,8 +255,8 @@
|
|||
- name: Validate rax_cdb resize flavor 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-4"
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
|
||||
|
@ -274,6 +274,6 @@
|
|||
- name: "Validate delete integration 4"
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-4"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_cdb_database with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|failed
|
||||
- rax_cdb_database is failed
|
||||
- 'rax_cdb_database.msg == "missing required arguments: name,cdb_id"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_cdb_database with name
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|failed
|
||||
- rax_cdb_database is failed
|
||||
- 'rax_cdb_database.msg == "missing required arguments: cdb_id"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
|||
- name: Validate results of rax_cdb_database with name and cdb_id
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|failed
|
||||
- rax_cdb_database is failed
|
||||
- rax_cdb_database.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
- name: Validate results of rax_cdb_database with name, cdb_id and creds
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|failed
|
||||
- rax_cdb_database is failed
|
||||
- rax_cdb_database.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
- name: Validate rax_cdb_database name, invalid cdb_id, creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|failed
|
||||
- rax_cdb_database is failed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -98,8 +98,8 @@
|
|||
- name: Validate build
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == '{{ resource_prefix }}-rax_cdb_database'
|
||||
- rax_cdb.cdb.status == 'ACTIVE'
|
||||
# ============================================================
|
||||
|
@ -119,8 +119,8 @@
|
|||
- name: Validate rax_cdb_database name, cdb_id, creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|success
|
||||
- rax_cdb_database|changed
|
||||
- rax_cdb_database is successful
|
||||
- rax_cdb_database is changed
|
||||
- rax_cdb_database.database.name == "{{ resource_prefix }}-1"
|
||||
|
||||
- name: Delete integration 1
|
||||
|
@ -136,8 +136,8 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|success
|
||||
- rax_cdb_database|changed
|
||||
- rax_cdb_database is successful
|
||||
- rax_cdb_database is changed
|
||||
- rax_cdb_database.database.name == "{{ resource_prefix }}-1"
|
||||
# ============================================================
|
||||
|
||||
|
@ -156,8 +156,8 @@
|
|||
- name: Validate rax_cdb_database idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|success
|
||||
- rax_cdb_database|changed
|
||||
- rax_cdb_database is successful
|
||||
- rax_cdb_database is changed
|
||||
- rax_cdb_database.database.name == "{{ resource_prefix }}-2"
|
||||
|
||||
- name: Test rax_cdb_database idempotency 2
|
||||
|
@ -172,8 +172,8 @@
|
|||
- name: Validate rax_cdb_database idempotency 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|success
|
||||
- not rax_cdb_database|changed
|
||||
- rax_cdb_database is successful
|
||||
- rax_cdb_database is not changed
|
||||
- rax_cdb_database.database.name == "{{ resource_prefix }}-2"
|
||||
|
||||
- name: Delete integration 2
|
||||
|
@ -189,8 +189,8 @@
|
|||
- name: Validate delete integration 2
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb_database|success
|
||||
- rax_cdb_database|changed
|
||||
- rax_cdb_database is successful
|
||||
- rax_cdb_database is changed
|
||||
- rax_cdb_database.database.name == "{{ resource_prefix }}-2"
|
||||
# ============================================================
|
||||
|
||||
|
@ -211,7 +211,7 @@
|
|||
- name: Validate Delete
|
||||
assert:
|
||||
that:
|
||||
- rax_cdb|success
|
||||
- rax_cdb|changed
|
||||
- rax_cdb is successful
|
||||
- rax_cdb is changed
|
||||
- rax_cdb.cdb.name == "{{ resource_prefix }}-rax_cdb_database"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_clb with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- 'rax_clb.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_clb with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- rax_clb.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_clb with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- rax_clb.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
- name: Validate rax_clb creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- 'rax_clb.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
- name: Validate rax_clb with creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 80
|
||||
- rax_clb.balancer.protocol == 'HTTP'
|
||||
- rax_clb.balancer.timeout == 30
|
||||
|
@ -102,7 +102,7 @@
|
|||
- name: "Validate delete integration 1"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-1"
|
||||
|
||||
# ============================================================
|
||||
|
@ -124,7 +124,7 @@
|
|||
- name: Validate rax_clb with creds, region, name and protocol
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 80
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 30
|
||||
|
@ -146,7 +146,7 @@
|
|||
- name: "Validate delete integration 2"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-2"
|
||||
# ============================================================
|
||||
|
||||
|
@ -168,7 +168,7 @@
|
|||
- name: Validate rax_clb with creds, region, name, protocol and port
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 8080
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 30
|
||||
|
@ -190,7 +190,7 @@
|
|||
- name: "Validate delete integration 3"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-3"
|
||||
# ============================================================
|
||||
|
||||
|
@ -213,7 +213,7 @@
|
|||
- name: Validate rax_clb with creds, region, name, protocol and type
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 8080
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 30
|
||||
|
@ -235,7 +235,7 @@
|
|||
- name: "Validate delete integration 4"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-4"
|
||||
# ============================================================
|
||||
|
||||
|
@ -260,7 +260,7 @@
|
|||
- name: Validate rax_clb with invalid timeout
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- rax_clb.msg == '"timeout" must be greater than or equal to 30'
|
||||
# ============================================================
|
||||
|
||||
|
@ -284,7 +284,7 @@
|
|||
- name: Validate rax_clb with creds, region, name, protocol, type and timeout
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 8080
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 60
|
||||
|
@ -306,7 +306,7 @@
|
|||
- name: "Validate delete integration 5"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-5"
|
||||
# ============================================================
|
||||
|
||||
|
@ -331,7 +331,7 @@
|
|||
- name: Validate rax_clb with creds, region, name, protocol, type, timeout and algorithm
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 8080
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 60
|
||||
|
@ -354,7 +354,7 @@
|
|||
- name: "Validate delete integration 6"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-6"
|
||||
# ============================================================
|
||||
|
||||
|
@ -377,7 +377,7 @@
|
|||
- name: Validate rax_clb with invalid timeout
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- 'rax_clb.msg == "value of type must be one of: PUBLIC,SERVICENET, got: BAD"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -400,7 +400,7 @@
|
|||
- name: Validate rax_clb with invalid timeout
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- 'rax_clb.msg == "value of protocol must be one of: DNS_TCP,DNS_UDP,FTP,HTTP,HTTPS,IMAPS,IMAPv4,LDAP,LDAPS,MYSQL,POP3,POP3S,SMTP,TCP,TCP_CLIENT_FIRST,UDP,UDP_STREAM,SFTP, got: BAD"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -423,7 +423,7 @@
|
|||
- name: Validate rax_clb with invalid timeout
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|failed
|
||||
- rax_clb is failed
|
||||
- 'rax_clb.msg == "value of algorithm must be one of: RANDOM,LEAST_CONNECTIONS,ROUND_ROBIN,WEIGHTED_LEAST_CONNECTIONS,WEIGHTED_ROUND_ROBIN, got: BAD"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -450,7 +450,7 @@
|
|||
- name: Validate rax_clb with creds, region, name, protocol, type, timeout, algorithm and metadata
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
- rax_clb.balancer.port == 8080
|
||||
- rax_clb.balancer.protocol == 'TCP'
|
||||
- rax_clb.balancer.timeout == 60
|
||||
|
@ -474,7 +474,7 @@
|
|||
- name: "Validate delete integration 7"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.name == "{{ resource_prefix }}-7"
|
||||
# ============================================================
|
||||
|
||||
|
@ -494,7 +494,7 @@
|
|||
- name: Validate rax_clb with shared VIP HTTP
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_http|success
|
||||
- rax_clb_http is successful
|
||||
- rax_clb_http.balancer.protocol == 'HTTP'
|
||||
- rax_clb_http.balancer.virtual_ips.0.type == 'PUBLIC'
|
||||
- rax_clb_http.balancer.status == 'ACTIVE'
|
||||
|
@ -515,7 +515,7 @@
|
|||
- name: Validate Test rax_clb with shared VIP
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_https|success
|
||||
- rax_clb_https is successful
|
||||
- rax_clb_https.balancer.protocol == 'HTTPS'
|
||||
- rax_clb_https.balancer.status == 'ACTIVE'
|
||||
- rax_clb_http.balancer.virtual_ips == rax_clb_https.balancer.virtual_ips
|
||||
|
@ -545,8 +545,8 @@
|
|||
- name: "Validate delete integration 8"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_http|changed
|
||||
- rax_clb_https|changed
|
||||
- rax_clb_http is changed
|
||||
- rax_clb_https is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -565,7 +565,7 @@
|
|||
- name: Validate rax_clb with updated protocol 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_p1|success
|
||||
- rax_clb_p1 is successful
|
||||
- rax_clb_p1.balancer.protocol == 'HTTP'
|
||||
- rax_clb_p1.balancer.virtual_ips.0.type == 'PUBLIC'
|
||||
- rax_clb_p1.balancer.status == 'ACTIVE'
|
||||
|
@ -585,8 +585,8 @@
|
|||
assert:
|
||||
that:
|
||||
- rax_clb_p1.balancer.id == rax_clb_p2.balancer.id
|
||||
- rax_clb_p2|success
|
||||
- rax_clb_p2|changed
|
||||
- rax_clb_p2 is successful
|
||||
- rax_clb_p2 is changed
|
||||
- rax_clb_p2.balancer.protocol == 'TCP'
|
||||
- rax_clb_p2.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -604,7 +604,7 @@
|
|||
- name: "Validate delete integration 9"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -623,7 +623,7 @@
|
|||
- name: Validate rax_clb with updated algorithm 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_a1|success
|
||||
- rax_clb_a1 is successful
|
||||
- rax_clb_a1.balancer.algorithm == 'LEAST_CONNECTIONS'
|
||||
- rax_clb_a1.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -642,8 +642,8 @@
|
|||
assert:
|
||||
that:
|
||||
- rax_clb_a1.balancer.id == rax_clb_a2.balancer.id
|
||||
- rax_clb_a2|success
|
||||
- rax_clb_a2|changed
|
||||
- rax_clb_a2 is successful
|
||||
- rax_clb_a2 is changed
|
||||
- rax_clb_a2.balancer.algorithm == 'RANDOM'
|
||||
- rax_clb_a2.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -661,7 +661,7 @@
|
|||
- name: "Validate delete integration 10"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb_a1.balancer.id == rax_clb.balancer.id
|
||||
# ============================================================
|
||||
|
||||
|
@ -681,7 +681,7 @@
|
|||
- name: Validate rax_clb with updated port 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_1|success
|
||||
- rax_clb_1 is successful
|
||||
- rax_clb_1.balancer.port == 80
|
||||
- rax_clb_1.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -700,8 +700,8 @@
|
|||
assert:
|
||||
that:
|
||||
- rax_clb_1.balancer.id == rax_clb_2.balancer.id
|
||||
- rax_clb_2|success
|
||||
- rax_clb_2|changed
|
||||
- rax_clb_2 is successful
|
||||
- rax_clb_2 is changed
|
||||
- rax_clb_2.balancer.port == 8080
|
||||
- rax_clb_2.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -719,7 +719,7 @@
|
|||
- name: "Validate delete integration 11"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb_1.balancer.id == rax_clb.balancer.id
|
||||
# ============================================================
|
||||
|
||||
|
@ -739,7 +739,7 @@
|
|||
- name: Validate rax_clb with updated timeout 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_1|success
|
||||
- rax_clb_1 is successful
|
||||
- rax_clb_1.balancer.timeout == 30
|
||||
- rax_clb_1.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -758,8 +758,8 @@
|
|||
assert:
|
||||
that:
|
||||
- rax_clb_1.balancer.id == rax_clb_2.balancer.id
|
||||
- rax_clb_2|success
|
||||
- rax_clb_2|changed
|
||||
- rax_clb_2 is successful
|
||||
- rax_clb_2 is changed
|
||||
- rax_clb_2.balancer.timeout == 60
|
||||
- rax_clb_2.balancer.status == 'ACTIVE'
|
||||
|
||||
|
@ -777,7 +777,7 @@
|
|||
- name: "Validate delete integration 12"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb_1.balancer.id == rax_clb.balancer.id
|
||||
# ============================================================
|
||||
|
||||
|
@ -797,7 +797,7 @@
|
|||
- name: Validate rax_clb with invalid updated type 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_1|success
|
||||
- rax_clb_1 is successful
|
||||
- rax_clb_1.balancer.status == 'ACTIVE'
|
||||
|
||||
- name: Test rax_clb with invalid updated type 2
|
||||
|
@ -815,7 +815,7 @@
|
|||
- name: Validate rax_clb with updated timeout 2
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_2|failed
|
||||
- rax_clb_2 is failed
|
||||
- rax_clb_2.msg == 'Load balancer Virtual IP type cannot be changed'
|
||||
|
||||
- name: Delete integration 13
|
||||
|
@ -832,7 +832,7 @@
|
|||
- name: "Validate delete integration 13"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb_1.balancer.id == rax_clb.balancer.id
|
||||
# ============================================================
|
||||
|
||||
|
@ -852,7 +852,7 @@
|
|||
- name: Validate rax_clb with updated meta 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_1|success
|
||||
- rax_clb_1 is successful
|
||||
- rax_clb_1.balancer.status == 'ACTIVE'
|
||||
- rax_clb_1.balancer.metadata is not defined
|
||||
|
||||
|
@ -872,8 +872,8 @@
|
|||
assert:
|
||||
that:
|
||||
- rax_clb_1.balancer.id == rax_clb_2.balancer.id
|
||||
- rax_clb_2|success
|
||||
- rax_clb_2|changed
|
||||
- rax_clb_2 is successful
|
||||
- rax_clb_2 is changed
|
||||
- rax_clb_2.balancer.metadata.0.key == 'foo'
|
||||
- rax_clb_2.balancer.metadata.0.value == 'bar'
|
||||
- rax_clb_2.balancer.status == 'ACTIVE'
|
||||
|
@ -892,6 +892,6 @@
|
|||
- name: "Validate delete integration 14"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb_1.balancer.id == rax_clb.balancer.id
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_clb_nodes with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- 'rax_clb_nodes.msg == "missing required arguments: load_balancer_id"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_clb_nodes with load_balancer_id
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_clb_nodes with credentials and load_balancer_id
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region and load_balancer_id
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == 'Load balancer not found'
|
||||
# ============================================================
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
- name: Validate rax_clb creation
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
|
||||
- name: Set variable for CLB ID
|
||||
set_fact:
|
||||
|
@ -102,7 +102,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region and valid load_balancer_id
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == 'You must include an address and a port when creating a node.'
|
||||
# ============================================================
|
||||
|
||||
|
@ -122,7 +122,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region, load_balancer_id and address
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == 'You must include an address and a port when creating a node.'
|
||||
# ============================================================
|
||||
|
||||
|
@ -143,7 +143,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region, load_balancer_id, invalid address and port
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == "Invalid node address. The address '10.10.10.10' is currently not accepted for this request."
|
||||
# ============================================================
|
||||
|
||||
|
@ -165,7 +165,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region, load_balancer_id, address and port
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|success
|
||||
- rax_clb_nodes is successful
|
||||
- rax_clb_nodes.node.address == '172.16.0.1'
|
||||
- rax_clb_nodes.node.condition == 'ENABLED'
|
||||
- rax_clb_nodes.node.port == 80
|
||||
|
@ -188,7 +188,7 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|success
|
||||
- rax_clb_nodes is successful
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -211,7 +211,7 @@
|
|||
- name: Validate rax_clb_nodes creds, region, load_balancer_id, address, port and type
|
||||
assert:
|
||||
that:
|
||||
- rax_clb_nodes|failed
|
||||
- rax_clb_nodes is failed
|
||||
- rax_clb_nodes.msg == 'you must enable health monitoring to use secondary nodes'
|
||||
# ============================================================
|
||||
|
||||
|
@ -232,6 +232,6 @@
|
|||
- name: "Validate delete integration 3"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.id == rax_clb_id|int
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_facts with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|failed
|
||||
- rax_facts is failed
|
||||
- 'rax_facts.msg == "one of the following is required: address,id,name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: Validate results of rax_facts with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|failed
|
||||
- rax_facts is failed
|
||||
- rax_facts.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -44,9 +44,9 @@
|
|||
- name: Validate rax_facts creds, region and address
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts == {}
|
||||
- not rax_facts|changed
|
||||
- rax_facts is not changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -64,9 +64,9 @@
|
|||
- name: Validate rax_facts creds, region and id
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts == {}
|
||||
- not rax_facts|changed
|
||||
- rax_facts is not changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -84,9 +84,9 @@
|
|||
- name: Validate rax_facts creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts == {}
|
||||
- not rax_facts|changed
|
||||
- rax_facts is not changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
- name: Validate rax_facts creds, region, address, id and name
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|failed
|
||||
- rax_facts is failed
|
||||
- "rax_facts.msg == 'parameters are mutually exclusive: [\\'address\\', \\'id\\', \\'name\\']'"
|
||||
# ============================================================
|
||||
|
||||
|
@ -128,8 +128,8 @@
|
|||
- name: Validate build
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-rax_facts"
|
||||
|
@ -150,7 +150,7 @@
|
|||
- name: Validate rax_facts creds, region, and valid public IPv4 address
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts.rax_flavor == rax.success.0.rax_flavor
|
||||
- rax_facts.ansible_facts.rax_image == rax.success.0.rax_image
|
||||
- rax_facts.ansible_facts.rax_addresses == rax.success.0.rax_addresses
|
||||
|
@ -174,7 +174,7 @@
|
|||
- name: Validate rax_facts creds, region, and valid public IPv6 address
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts.rax_flavor == rax.success.0.rax_flavor
|
||||
- rax_facts.ansible_facts.rax_image == rax.success.0.rax_image
|
||||
- rax_facts.ansible_facts.rax_addresses == rax.success.0.rax_addresses
|
||||
|
@ -198,7 +198,7 @@
|
|||
- name: Validate rax_facts creds, region, and valid private IPv4 address
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts.rax_flavor == rax.success.0.rax_flavor
|
||||
- rax_facts.ansible_facts.rax_image == rax.success.0.rax_image
|
||||
- rax_facts.ansible_facts.rax_addresses == rax.success.0.rax_addresses
|
||||
|
@ -222,7 +222,7 @@
|
|||
- name: Validate rax_facts creds, region, and valid ID
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts.rax_flavor == rax.success.0.rax_flavor
|
||||
- rax_facts.ansible_facts.rax_image == rax.success.0.rax_image
|
||||
- rax_facts.ansible_facts.rax_addresses == rax.success.0.rax_addresses
|
||||
|
@ -246,7 +246,7 @@
|
|||
- name: Validate rax_facts creds, region, and valid name
|
||||
assert:
|
||||
that:
|
||||
- rax_facts|success
|
||||
- rax_facts is successful
|
||||
- rax_facts.ansible_facts.rax_flavor == rax.success.0.rax_flavor
|
||||
- rax_facts.ansible_facts.rax_image == rax.success.0.rax_image
|
||||
- rax_facts.ansible_facts.rax_addresses == rax.success.0.rax_addresses
|
||||
|
@ -274,8 +274,8 @@
|
|||
- name: "Validate delete"
|
||||
assert:
|
||||
that:
|
||||
- rax|changed
|
||||
- rax|success
|
||||
- rax is changed
|
||||
- rax is successful
|
||||
- rax.action == 'delete'
|
||||
- rax.success[0].name == "{{ resource_prefix }}-rax_facts"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_identity with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_identity|failed
|
||||
- rax_identity is failed
|
||||
- rax_identity.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
- name: Validate results of rax_identity with name and credentials
|
||||
assert:
|
||||
that:
|
||||
- rax_identity|failed
|
||||
- rax_identity is failed
|
||||
- rax_identity.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,8 +41,8 @@
|
|||
- name: Validate results of rax_identity with name and credentials
|
||||
assert:
|
||||
that:
|
||||
- rax_identity|success
|
||||
- not rax_identity|changed
|
||||
- rax_identity is successful
|
||||
- rax_identity is not changed
|
||||
- rax_identity.identity.region == "{{ rackspace_region }}"
|
||||
- rax_identity.identity.username == "{{ rackspace_username }}"
|
||||
- rax_identity.identity.authenticated
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_keypair with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|failed
|
||||
- rax_keypair is failed
|
||||
- 'rax_keypair.msg == "missing required arguments: name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_keypair with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|failed
|
||||
- rax_keypair is failed
|
||||
- rax_keypair.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_keypair with name and credentials
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|failed
|
||||
- rax_keypair is failed
|
||||
- rax_keypair.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -73,8 +73,8 @@
|
|||
- name: Validate rax_keypair creds, region, name and public_key string
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-1"
|
||||
- rax_keypair.keypair.public_key == "{{ rackspace_keypair_pub }}"
|
||||
|
||||
|
@ -91,8 +91,8 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-1"
|
||||
# ============================================================
|
||||
|
||||
|
@ -111,8 +111,8 @@
|
|||
- name: Validate rax_keypair creds, region, name and public_key path
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-2"
|
||||
- rax_keypair.keypair.public_key == "{{ rackspace_keypair_pub }}"
|
||||
|
||||
|
@ -129,8 +129,8 @@
|
|||
- name: Validate delete integration 2
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-2"
|
||||
# ============================================================
|
||||
|
||||
|
@ -149,8 +149,8 @@
|
|||
- name: Validate rax_keypair with idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-3"
|
||||
- rax_keypair.keypair.public_key == "{{ rackspace_keypair_pub }}"
|
||||
|
||||
|
@ -166,8 +166,8 @@
|
|||
- name: Validate rax_keypair with idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- not rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is not changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-3"
|
||||
- rax_keypair.keypair.public_key == "{{ rackspace_keypair_pub }}"
|
||||
|
||||
|
@ -184,8 +184,8 @@
|
|||
- name: Validate delete integration 3
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-3"
|
||||
# ============================================================
|
||||
|
||||
|
@ -203,8 +203,8 @@
|
|||
- name: Validate rax_keypair creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-4"
|
||||
- rax_keypair.keypair.private_key is defined
|
||||
- rax_keypair.keypair.public_key is defined
|
||||
|
@ -220,8 +220,8 @@
|
|||
- name: Validate rax_keypair creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- not rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is not changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-4"
|
||||
- rax_keypair.keypair.private_key is not defined
|
||||
- rax_keypair.keypair.public_key is defined
|
||||
|
@ -239,7 +239,7 @@
|
|||
- name: Validate delete integration 4
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-4"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_meta with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- 'rax_meta.msg == "one of the following is required: address,id,name"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: Validate results of rax_meta with only creds
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- rax_meta.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
|||
- name: Validate rax_meta creds, region and address
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- rax_meta.msg == 'Failed to find a server matching provided search parameters'
|
||||
# ============================================================
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
|||
- name: Validate rax_meta creds, region and id
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- rax_meta.msg == 'Failed to find a server matching provided search parameters'
|
||||
# ============================================================
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
|||
- name: Validate rax_meta creds, region and name
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- rax_meta.msg == 'Failed to find a server matching provided search parameters'
|
||||
# ============================================================
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
|||
- name: Validate rax_meta creds, region, address, id and name
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|failed
|
||||
- rax_meta is failed
|
||||
- "rax_meta.msg == 'parameters are mutually exclusive: [\\'address\\', \\'id\\', \\'name\\']'"
|
||||
# ============================================================
|
||||
|
||||
|
@ -125,8 +125,8 @@
|
|||
- name: Validate build
|
||||
assert:
|
||||
that:
|
||||
- rax|success
|
||||
- rax|changed
|
||||
- rax is successful
|
||||
- rax is changed
|
||||
- rax.action == 'create'
|
||||
- rax.instances|length == 1
|
||||
- rax.instances[0].name == "{{ resource_prefix }}-rax_meta"
|
||||
|
@ -147,7 +147,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid public IPv4 address
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -165,7 +165,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid public IPv6 address
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -184,7 +184,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid private IPv4 address
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -203,7 +203,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid ID
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -222,7 +222,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid name
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -243,8 +243,8 @@
|
|||
- name: Validate rax_meta creds, region, and valid ID set foo=bar
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta|changed
|
||||
- rax_meta is successful
|
||||
- rax_meta is changed
|
||||
- "rax_meta.meta == {'foo': 'bar'}"
|
||||
# ============================================================
|
||||
|
||||
|
@ -265,7 +265,7 @@
|
|||
- name: Validate rax_meta creds, region, and valid ID set bar=baz
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta is successful
|
||||
- "rax_meta.meta == {'bar': 'baz'}"
|
||||
# ============================================================
|
||||
|
||||
|
@ -286,8 +286,8 @@
|
|||
- name: Validate rax_meta creds, region, and valid ID set bar=baz
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- not rax_meta|changed
|
||||
- rax_meta is successful
|
||||
- rax_meta is not changed
|
||||
- "rax_meta.meta == {'bar': 'baz'}"
|
||||
# ============================================================
|
||||
|
||||
|
@ -306,8 +306,8 @@
|
|||
- name: Validate rax_meta creds, region, and valid ID delete meta
|
||||
assert:
|
||||
that:
|
||||
- rax_meta|success
|
||||
- rax_meta|changed
|
||||
- rax_meta is successful
|
||||
- rax_meta is changed
|
||||
- rax_meta.meta == {}
|
||||
# ============================================================
|
||||
|
||||
|
@ -329,8 +329,8 @@
|
|||
- name: "Validate delete"
|
||||
assert:
|
||||
that:
|
||||
- rax|changed
|
||||
- rax|success
|
||||
- rax is changed
|
||||
- rax is successful
|
||||
- rax.action == 'delete'
|
||||
- rax.success[0].name == "{{ resource_prefix }}-rax_meta"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_network with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_network|failed
|
||||
- rax_network is failed
|
||||
- 'rax_network.msg == "missing required arguments: label"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
- name: Validate results of rax_network with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_network|failed
|
||||
- rax_network is failed
|
||||
- rax_network.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
- name: Validate results of rax_network with creds
|
||||
assert:
|
||||
that:
|
||||
- rax_network|failed
|
||||
- rax_network is failed
|
||||
- rax_network.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
- name: Validate results of rax_network with creds and region
|
||||
assert:
|
||||
that:
|
||||
- rax_network|failed
|
||||
- rax_network is failed
|
||||
- 'rax_network.msg == "missing required arguments: cidr"'
|
||||
# ============================================================
|
||||
|
||||
|
@ -79,8 +79,8 @@
|
|||
- name: Validate results of rax_network with creds, region and cidr
|
||||
assert:
|
||||
that:
|
||||
- rax_network|success
|
||||
- rax_network|changed
|
||||
- rax_network is successful
|
||||
- rax_network is changed
|
||||
- rax_network.networks.0.cidr == "172.17.141.0/24"
|
||||
- rax_network.networks.0.label == "{{ resource_prefix }}-1"
|
||||
|
||||
|
@ -96,8 +96,8 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_network|changed
|
||||
- rax_network|success
|
||||
- rax_network is changed
|
||||
- rax_network is successful
|
||||
- rax_network.networks.0.label == "{{ resource_prefix }}-1"
|
||||
- rax_network.networks.0.cidr == "172.17.141.0/24"
|
||||
# ============================================================
|
||||
|
@ -117,8 +117,8 @@
|
|||
- name: Validate rax_network idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- rax_network|success
|
||||
- rax_network|changed
|
||||
- rax_network is successful
|
||||
- rax_network is changed
|
||||
- rax_network.networks.0.cidr == "172.17.142.0/24"
|
||||
- rax_network.networks.0.label == "{{ resource_prefix }}-2"
|
||||
|
||||
|
@ -134,8 +134,8 @@
|
|||
- name: Validate rax_network idempotency 2
|
||||
assert:
|
||||
that:
|
||||
- rax_network|success
|
||||
- not rax_network|changed
|
||||
- rax_network is successful
|
||||
- rax_network is not changed
|
||||
- rax_network.networks.0.cidr == "172.17.142.0/24"
|
||||
- rax_network.networks.0.label == "{{ resource_prefix }}-2"
|
||||
|
||||
|
@ -151,8 +151,8 @@
|
|||
- name: Validate delete integration 2
|
||||
assert:
|
||||
that:
|
||||
- rax_network|changed
|
||||
- rax_network|success
|
||||
- rax_network is changed
|
||||
- rax_network is successful
|
||||
- rax_network.networks.0.label == "{{ resource_prefix }}-2"
|
||||
- rax_network.networks.0.cidr == "172.17.142.0/24"
|
||||
# ============================================================
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- name: Validate results of rax_scaling_group with no args
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|failed
|
||||
- rax_scaling_group is failed
|
||||
- "rax_scaling_group.msg == 'missing required arguments: image,min_entities,flavor,max_entities,name,server_name'"
|
||||
# ============================================================
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
- name: Validate results of rax_scaling_group with image,min_entities,flavor,max_entities,name,server_name
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|failed
|
||||
- rax_scaling_group is failed
|
||||
- rax_scaling_group.msg == 'No credentials supplied!'
|
||||
# ============================================================
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
|||
- name: Validate results of rax_scaling_group with creds and required args
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|failed
|
||||
- rax_scaling_group is failed
|
||||
- rax_scaling_group.msg.startswith('None is not a valid region')
|
||||
# ============================================================
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
|||
- name: Validate results of rax_scaling_group with creds, region and required args
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-1"
|
||||
- rax_scaling_group.autoscale_group.min_entities == 1
|
||||
- rax_scaling_group.autoscale_group.max_entities == 1
|
||||
|
@ -101,7 +101,7 @@
|
|||
- name: Validate idempotency 1
|
||||
assert:
|
||||
that:
|
||||
- not rax_scaling_group|changed
|
||||
- rax_scaling_group is not changed
|
||||
|
||||
- name: Remove servers 1
|
||||
rax_scaling_group:
|
||||
|
@ -119,7 +119,7 @@
|
|||
- name: Validate remove servers 1
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.min_entities == 0
|
||||
- rax_scaling_group.autoscale_group.max_entities == 0
|
||||
- rax_scaling_group.autoscale_group.state.desiredCapacity == 0
|
||||
|
@ -141,7 +141,7 @@
|
|||
- name: Validate delete integration 1
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -163,7 +163,7 @@
|
|||
- name: Validate results of rax_scaling_group server_name change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-2"
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.name == "{{ resource_prefix }}-2"
|
||||
|
||||
|
@ -183,7 +183,7 @@
|
|||
- name: Validate results of rax_scaling_group server_name change 2
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-2"
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.name == "{{ resource_prefix }}-2a"
|
||||
|
||||
|
@ -203,7 +203,7 @@
|
|||
- name: Validate remove servers 2
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.min_entities == 0
|
||||
- rax_scaling_group.autoscale_group.max_entities == 0
|
||||
- rax_scaling_group.autoscale_group.state.desiredCapacity == 0
|
||||
|
@ -225,7 +225,7 @@
|
|||
- name: Validate delete integration 2
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -251,7 +251,7 @@
|
|||
- name: Validate results of rax_scaling_group with load balancers
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|failed
|
||||
- rax_scaling_group is failed
|
||||
- rax_scaling_group.msg.startswith('Load balancer ID is not an integer')
|
||||
# ============================================================
|
||||
|
||||
|
@ -271,7 +271,7 @@
|
|||
- name: Validate rax_clb creation
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|success
|
||||
- rax_clb is successful
|
||||
|
||||
- name: Set variable for CLB ID
|
||||
set_fact:
|
||||
|
@ -300,7 +300,7 @@
|
|||
- name: Validate results of rax_scaling_group with load balancers
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-3"
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.loadBalancers[0].loadBalancerId == rax_clb_id|int
|
||||
|
||||
|
@ -353,7 +353,7 @@
|
|||
- name: Validate results of rax_scaling_group files change 1
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-4"
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.personality|length == 1
|
||||
|
||||
|
@ -373,7 +373,7 @@
|
|||
- name: Validate results of rax_scaling_group files change 2
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-4"
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.personality is not defined
|
||||
|
||||
|
@ -424,8 +424,8 @@
|
|||
- name: Validate default create
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.name == "{{ resource_prefix }}-5"
|
||||
- rax_scaling_group.autoscale_group.min_entities == 1
|
||||
- rax_scaling_group.autoscale_group.max_entities == 1
|
||||
|
@ -457,8 +457,8 @@
|
|||
- name: Validate cooldown change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.cooldown == 500
|
||||
# ============================================================
|
||||
|
||||
|
@ -482,8 +482,8 @@
|
|||
- name: Validate max_entities change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.max_entities == 2
|
||||
# ============================================================
|
||||
|
||||
|
@ -507,8 +507,8 @@
|
|||
- name: Validate min_entities change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.min_entities == 2
|
||||
# ============================================================
|
||||
|
||||
|
@ -532,8 +532,8 @@
|
|||
- name: Validate server_name change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.name == "{{ resource_prefix }}-5-1"
|
||||
# ============================================================
|
||||
|
||||
|
@ -557,8 +557,8 @@
|
|||
- name: Validate image change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.imageRef == "{{ rackspace_alt_image_id }}"
|
||||
# ============================================================
|
||||
|
||||
|
@ -582,8 +582,8 @@
|
|||
- name: Validate flavor change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.flavorRef == "{{ rackspace_alt_flavor }}"
|
||||
# ============================================================
|
||||
|
||||
|
@ -608,8 +608,8 @@
|
|||
- name: Validate flavor change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- not rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is not changed
|
||||
- "rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'AUTO'"
|
||||
|
||||
- name: Change disk_config 2
|
||||
|
@ -630,8 +630,8 @@
|
|||
- name: Validate flavor change 2
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- "rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'MANUAL'"
|
||||
# ============================================================
|
||||
|
||||
|
@ -658,8 +658,8 @@
|
|||
- name: Validate networks change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.networks.0.uuid == "00000000-0000-0000-0000-000000000000"
|
||||
# ============================================================
|
||||
|
||||
|
@ -690,8 +690,8 @@
|
|||
- name: Validate networks change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.loadBalancers.0.loadBalancerId == rax_clb_id|int
|
||||
# ============================================================
|
||||
|
||||
|
@ -710,8 +710,8 @@
|
|||
- name: Validate rax_keypair creation
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
- rax_keypair.keypair.name == "{{ resource_prefix }}-keypair"
|
||||
- rax_keypair.keypair.public_key == "{{ rackspace_keypair_pub }}"
|
||||
# ============================================================
|
||||
|
@ -744,8 +744,8 @@
|
|||
- name: Validate key_name change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.key_name == "{{ resource_prefix }}-keypair"
|
||||
# ============================================================
|
||||
|
||||
|
@ -778,8 +778,8 @@
|
|||
- name: Validate config_drive change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.config_drive
|
||||
# ============================================================
|
||||
|
||||
|
@ -813,8 +813,8 @@
|
|||
- name: Validate config_drive change
|
||||
assert:
|
||||
that:
|
||||
- rax_scaling_group|success
|
||||
- rax_scaling_group|changed
|
||||
- rax_scaling_group is successful
|
||||
- rax_scaling_group is changed
|
||||
- rax_scaling_group.autoscale_group.launchConfiguration.args.server.user_data == '{{ "foo"|b64encode }}'
|
||||
# ============================================================
|
||||
|
||||
|
@ -834,8 +834,8 @@
|
|||
- name: Validate rax_keypair creation
|
||||
assert:
|
||||
that:
|
||||
- rax_keypair|success
|
||||
- rax_keypair|changed
|
||||
- rax_keypair is successful
|
||||
- rax_keypair is changed
|
||||
# ============================================================
|
||||
|
||||
|
||||
|
@ -855,6 +855,6 @@
|
|||
- name: "Validate delete integration 3"
|
||||
assert:
|
||||
that:
|
||||
- rax_clb|changed
|
||||
- rax_clb is changed
|
||||
- rax_clb.balancer.id == rax_clb_id|int
|
||||
# ============================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue