|
|
|
@ -105,7 +105,6 @@ tasks:
|
|
|
|
- volumes
|
|
|
|
- volumes
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
import boto.ec2
|
|
|
|
import boto.ec2
|
|
|
|
@ -118,7 +117,7 @@ def main():
|
|
|
|
argument_spec = ec2_argument_spec()
|
|
|
|
argument_spec = ec2_argument_spec()
|
|
|
|
argument_spec.update(dict(
|
|
|
|
argument_spec.update(dict(
|
|
|
|
resource = dict(required=True),
|
|
|
|
resource = dict(required=True),
|
|
|
|
tags = dict(),
|
|
|
|
tags = dict(type='dict'),
|
|
|
|
state = dict(default='present', choices=['present', 'absent', 'list']),
|
|
|
|
state = dict(default='present', choices=['present', 'absent', 'list']),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ -180,4 +179,5 @@ def main():
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
from ansible.module_utils.ec2 import *
|
|
|
|
from ansible.module_utils.ec2 import *
|
|
|
|
|
|
|
|
|
|
|
|
main()
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
main()
|
|
|
|
|