diff options
author | Kevin Breit <kevin.breit@kevinbreit.net> | 2019-04-29 18:16:31 +0200 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2019-04-29 18:16:31 +0200 |
commit | 274f6e48180747cb727ce68821c140aa455be4ba (patch) | |
tree | 9c331d194b2ad1614a4c6fdfe549ba2d3cc8f10c /test/legacy | |
parent | PostgreSQL modules: move params mapping from main to connect_to_db() function... (diff) | |
download | ansible-274f6e48180747cb727ce68821c140aa455be4ba.tar.xz ansible-274f6e48180747cb727ce68821c140aa455be4ba.zip |
Removed legacy Digital Ocean tasks (#51786)
Diffstat (limited to 'test/legacy')
-rw-r--r-- | test/legacy/roles/test_digital_ocean/tasks/floating_ip.yml | 38 | ||||
-rw-r--r-- | test/legacy/roles/test_digital_ocean/tasks/main.yml | 4 | ||||
-rw-r--r-- | test/legacy/roles/test_digital_ocean/tasks/sshkey.yml | 25 |
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" |