diff options
Diffstat (limited to 'test/integration/targets/nios_mx_record/tasks')
-rw-r--r-- | test/integration/targets/nios_mx_record/tasks/main.yml | 1 | ||||
-rw-r--r-- | test/integration/targets/nios_mx_record/tasks/nios_mx_record_idempotence.yml | 84 |
2 files changed, 0 insertions, 85 deletions
diff --git a/test/integration/targets/nios_mx_record/tasks/main.yml b/test/integration/targets/nios_mx_record/tasks/main.yml deleted file mode 100644 index fe687173b9..0000000000 --- a/test/integration/targets/nios_mx_record/tasks/main.yml +++ /dev/null @@ -1 +0,0 @@ -- include: nios_mx_record_idempotence.yml diff --git a/test/integration/targets/nios_mx_record/tasks/nios_mx_record_idempotence.yml b/test/integration/targets/nios_mx_record/tasks/nios_mx_record_idempotence.yml deleted file mode 100644 index 65b1e8f44e..0000000000 --- a/test/integration/targets/nios_mx_record/tasks/nios_mx_record_idempotence.yml +++ /dev/null @@ -1,84 +0,0 @@ -- name: cleanup the parent object - nios_zone: - name: ansible.com - state: absent - provider: "{{ nios_provider }}" - -- name: create the parent object - nios_zone: - name: ansible.com - state: present - provider: "{{ nios_provider }}" - -- name: cleanup mx record - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - state: absent - provider: "{{ nios_provider }}" - -- name: create an mx record - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - state: present - provider: "{{ nios_provider }}" - register: mx_record_create1 - -- name: recreate an mx record - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - state: present - provider: "{{ nios_provider }}" - register: mx_record_create2 - -- name: add a comment to an existing mx record - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - comment: this is a test comment - state: present - provider: "{{ nios_provider }}" - register: mx_record_update1 - -- name: add a comment to an existing mx record - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - comment: this is a test comment - state: present - provider: "{{ nios_provider }}" - register: mx_record_update2 - -- name: remove a mx record from the system - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - state: absent - provider: "{{ nios_provider }}" - register: mx_record_delete1 - -- name: remove a mx record from the system - nios_mx_record: - name: ansible.com - mx: mailhost.ansible.com - preference: 0 - state: absent - provider: "{{ nios_provider }}" - register: mx_record_delete2 - -- assert: - that: - - "mx_record_create1.changed" - - "not mx_record_create2.changed" - - "mx_record_update1.changed" - - "not mx_record_update2.changed" - - "mx_record_delete1.changed" - - "not mx_record_delete2.changed" |