summaryrefslogtreecommitdiff
path: root/test/legacy
diff options
context:
space:
mode:
authorKevin Breit <kevin.breit@kevinbreit.net>2019-04-29 11:16:31 -0500
committeransibot <ansibot@users.noreply.github.com>2019-04-29 12:16:31 -0400
commit274f6e48180747cb727ce68821c140aa455be4ba (patch)
tree9c331d194b2ad1614a4c6fdfe549ba2d3cc8f10c /test/legacy
parent9b17346d1ef993f0b5e30ed79e2ce0f9abe284a1 (diff)
downloadansible-274f6e48180747cb727ce68821c140aa455be4ba.tar.gz
Removed legacy Digital Ocean tasks (#51786)
Diffstat (limited to 'test/legacy')
-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"