You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/cloud
Troy C c2d34efd21 import novaclient.exceptions for cs.images.find
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image)  being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.

Example:
  tasks:
    - name: Server build request
      local_action:
        module: rax
        region: DFW
        image: Ubuntu 12.04 LTS (Precise Pangolin)

Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
11 years ago
..
cloudformation Addresses #5023 Fix import comments 11 years ago
digital_ocean Addresses #5023 Fix import comments 11 years ago
docker Merge pull request #5133 from joshuaconner/add_docker_max_version_to_docs 11 years ago
ec2 Merge pull request #4502 from dxsarmit/ansible 11 years ago
ec2_ami Addresses #5276 update documentation for ec2_ami no_reboot parameter 11 years ago
ec2_eip Fix for connect method parameter order 11 years ago
ec2_elb Make sure initial_state is initialized 11 years ago
ec2_facts Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
ec2_group Add version_added to all modules missing version_added information, the docs formatter will now 11 years ago
ec2_tag Fix checking for existence of EC2 tags 11 years ago
ec2_vol Merge pull request #4770 from dragon3/devel 11 years ago
ec2_vpc Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval 11 years ago
elasticache Use shared ec2 module snippet in elasticache module 11 years ago
gc_storage Addresses #5023 Fix import comments 11 years ago
gce Addresses #5023 Fix import comments 11 years ago
gce_lb Addresses #5023 Fix import comments 11 years ago
gce_net Addresses #5023 Fix import comments 11 years ago
gce_pd Addresses #5023 Fix import comments 11 years ago
glance_image Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
keystone_user Addresses #5023 Fix import comments 11 years ago
linode Addresses #5023 Fix import comments 11 years ago
nova_compute Merge pull request #5028 from retr0h/correct-nova-api-auth-check 11 years ago
nova_keypair Merge pull request #5028 from retr0h/correct-nova-api-auth-check 11 years ago
ovirt Use ovirtsdk if it installed, but fall out gracefully if it is not 11 years ago
quantum_floating_ip Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_floating_ip_associate Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_network Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_router Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_router_gateway Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_router_interface Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
quantum_subnet Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
rax import novaclient.exceptions for cs.images.find 11 years ago
rax_clb rax_required_together is a function 11 years ago
rax_clb_nodes Add ansible.module_utils.rax 11 years ago
rax_facts Merge pull request #4996 from sivel/rax-module-utils 11 years ago
rax_network Add ansible.module_utils.rax 11 years ago
rds Set version_added for new_instance_name in cloud/rds module 11 years ago
route53 Fix AWS credential params for s3 and other modules 11 years ago
s3 Fix AWS credential params for s3 and other modules 11 years ago
virt Addresses #5023 Fix import comments 11 years ago