summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/legacy/roles/test_digital_ocean/tasks/floating_ip.yml38
-rw-r--r--test/legacy/roles/test_digital_ocean/tasks/main.yml4
-rw-r--r--test/legacy/roles/test_digital_ocean/tasks/sshkey.yml25
3 files changed, 0 insertions, 67 deletions
diff --git a/test/legacy/roles/test_digital_ocean/tasks/floating_ip.yml b/test/legacy/roles/test_digital_ocean/tasks/floating_ip.yml
deleted file mode 100644
index 2f456b2573..0000000000
--- a/test/legacy/roles/test_digital_ocean/tasks/floating_ip.yml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-
-- name: "Make sure that the Floating IP is absent"
- digital_ocean_floating_ip:
- state: absent
- ip: "8.8.8.8"
- oauth_token: "{{ digitalocean_oauth_token }}"
- register: result
-
-- name: Verify that the Floating IP didn't change
- assert:
- that:
- - "not result.changed"
-
-- name: "Create a Floating IP"
- digital_ocean_floating_ip:
- state: present
- region: "lon1"
- oauth_token: "{{ digitalocean_oauth_token }}"
- register: result
-
-- name: Verify that a Floating IP was created
- assert:
- that:
- - "result.changed"
-
-- name: "Destroy Floating IP"
- digital_ocean_floating_ip:
- state: absent
- ip: "{{ result.data.floating_ip.ip }}"
- region: "lon1"
- oauth_token: "{{ digitalocean_oauth_token }}"
- register: result
-
-- name: Verify that a Floating IP was deleted
- assert:
- that:
- - " result.changed"
diff --git a/test/legacy/roles/test_digital_ocean/tasks/main.yml b/test/legacy/roles/test_digital_ocean/tasks/main.yml
deleted file mode 100644
index 009ca43be5..0000000000
--- a/test/legacy/roles/test_digital_ocean/tasks/main.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: SSH Key module tests
- include: tasks/sshkey.yml
-- name: Floating IPs module tests
- include: tasks/floating_ip.yml
diff --git a/test/legacy/roles/test_digital_ocean/tasks/sshkey.yml b/test/legacy/roles/test_digital_ocean/tasks/sshkey.yml
deleted file mode 100644
index a6a964e70d..0000000000
--- a/test/legacy/roles/test_digital_ocean/tasks/sshkey.yml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-
-- name: Create ssh key
- digital_ocean_sshkey:
- name: test-key1
- ssh_pub_key: "{{ dummy_ssh_pub_key }}"
- oauth_token: "{{ digitalocean_oauth_token }}"
- register: result
-
-- name: Verify that SSH key was created
- assert:
- that:
- - "result.changed"
-
-- name: "Delete ssh key"
- digital_ocean_sshkey:
- state: "absent"
- fingerprint: "{{ result.data.ssh_key.fingerprint }}"
- oauth_token: "{{ digitalocean_oauth_token }}"
- register: result
-
-- name: Verify that SSH key was deleted
- assert:
- that:
- - "result.changed"