|
|
@ -59,7 +59,7 @@ EXAMPLES = '''
|
|
|
|
|
|
|
|
|
|
|
|
# Create a droplet and a corresponding domain record
|
|
|
|
# Create a droplet and a corresponding domain record
|
|
|
|
|
|
|
|
|
|
|
|
- digital_cean_droplet: >
|
|
|
|
- digital_ocean: >
|
|
|
|
state=present
|
|
|
|
state=present
|
|
|
|
name=test_droplet
|
|
|
|
name=test_droplet
|
|
|
|
size_id=1
|
|
|
|
size_id=1
|
|
|
@ -69,8 +69,8 @@ EXAMPLES = '''
|
|
|
|
|
|
|
|
|
|
|
|
- digital_ocean_domain: >
|
|
|
|
- digital_ocean_domain: >
|
|
|
|
state=present
|
|
|
|
state=present
|
|
|
|
name={{ test_droplet.name }}.my.domain
|
|
|
|
name={{ test_droplet.droplet.name }}.my.domain
|
|
|
|
ip={{ test_droplet.ip_address }}
|
|
|
|
ip={{ test_droplet.droplet.ip_address }}
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import sys
|
|
|
|