ansible-ruby 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ansible/ruby/dsl_builders/block.rb +10 -6
- data/lib/ansible/ruby/dsl_builders/play.rb +1 -1
- data/lib/ansible/ruby/dsl_builders/result.rb +10 -9
- data/lib/ansible/ruby/dsl_builders/task.rb +23 -12
- data/lib/ansible/ruby/dsl_builders/tasks.rb +14 -6
- data/lib/ansible/ruby/models/base.rb +12 -0
- data/lib/ansible/ruby/models/task.rb +20 -4
- data/lib/ansible/ruby/modules/all.rb +16 -8
- data/lib/ansible/ruby/modules/custom/cloud/core/amazon/ec2_asg.rb +17 -0
- data/lib/ansible/ruby/modules/custom/cloud/core/docker/docker_container.rb +41 -0
- data/lib/ansible/ruby/modules/custom/commands/command.rb +1 -2
- data/lib/ansible/ruby/modules/custom/commands/raw.rb +1 -1
- data/lib/ansible/ruby/modules/custom/commands/script.rb +1 -1
- data/lib/ansible/ruby/modules/custom/commands/shell.rb +1 -1
- data/lib/ansible/ruby/modules/custom/files/copy.rb +15 -0
- data/lib/ansible/ruby/modules/custom/files/fetch.rb +15 -0
- data/lib/ansible/ruby/modules/custom/files/file.rb +15 -0
- data/lib/ansible/ruby/modules/custom/files/template.rb +15 -0
- data/lib/ansible/ruby/modules/custom/network/basics/get_url.rb +26 -0
- data/lib/ansible/ruby/modules/custom/utilities/logic/set_fact.rb +23 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb +4 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_search.rb +5 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_asg.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb_lb.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_key.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_tag.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_vol.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_vpc.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_vpc_net.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache_subnet_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/iam.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/iam_cert.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/iam_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/rds_param_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/rds_subnet_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/route53.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/amazon/s3.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_networkinterface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_networkinterface_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageblob.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualmachine.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualmachineimage_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker_container.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker_image.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker_image_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker_login.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/docker/docker_service.rb +5 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/google/gc_storage.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/google/gce.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/google/gce_lb.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/google/gce_pd.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/glance_image.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/keystone_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_compute.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/nova_keypair.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_auth.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_client_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_floating_ip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_ironic.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_ironic_node.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_keypair.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_network.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_networks_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_object.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_port.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_router.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_actions.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_volume.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnets_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/os_volume.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_floating_ip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_floating_ip_associate.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_network.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_router.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_router_gateway.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_router_interface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/openstack/quantum_subnet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cdb.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cdb_database.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cdb_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_clb.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_clb_nodes.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_dns.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_dns_record.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files_objects.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_identity.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_keypair.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_meta.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_network.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_queue.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/cloud/vmware/vsphere_guest.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/commands/command.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/commands/raw.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/commands/script.rb +4 -0
- data/lib/ansible/ruby/modules/generated/core/commands/shell.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/database/mysql/mysql_db.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/database/mysql/mysql_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/database/mysql/mysql_variables.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_privs.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_user.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/files/acl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/assemble.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/copy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/fetch.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/file.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/find.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/ini_file.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/files/lineinfile.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/files/replace.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/files/stat.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/synchronize.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/template.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/files/unarchive.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/files/xattr.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/inventory/add_host.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/inventory/group_by.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/basics/get_url.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/network/basics/slurp.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/basics/uri.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bond.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_bridge.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_img_install.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_interface_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_license.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/eos/eos_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/eos/eos_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/eos/eos_eapi.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/ios/ios_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/ios/ios_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/ios/ios_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_netconf.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/junos/junos_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_feature.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_interface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_nxapi.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ping.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_switchport.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vlan.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vrf.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vrf_interface.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/nxos/nxos_vrrp.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/openswitch/ops_command.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/openswitch/ops_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/openswitch/ops_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/network/openswitch/ops_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/language/gem.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/language/pip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/apt.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/apt_key.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/apt_rpm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/package.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/rhn_channel.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/rhn_register.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/rpm_key.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/packaging/os/yum.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/source_control/git.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/source_control/hg.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/source_control/subversion.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/authorized_key.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/cron.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/system/group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/hostname.rb +4 -0
- data/lib/ansible/ruby/modules/generated/core/system/mount.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/ping.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/system/seboolean.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/selinux.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/service.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/setup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/sysctl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/system/user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/helper/accelerate.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/helper/fireball.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/assert.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/async_status.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/debug.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/fail.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/pause.rb +3 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/set_fact.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/utilities/logic/wait_for.rb +5 -0
- data/lib/ansible/ruby/modules/generated/core/web_infrastructure/apache2_module.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/web_infrastructure/htpasswd.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/web_infrastructure/supervisorctl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_copy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_feature.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_file.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_get_url.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_lineinfile.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_msi.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_ping.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_reboot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_service.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_stat.rb +1 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_template.rb +2 -0
- data/lib/ansible/ruby/modules/generated/core/windows/win_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/cloudtrail.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_elb_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_remote_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_snapshot_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vol_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_dhcp_options.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_igw.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_net_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_win_password.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_cluster.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_service.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_service_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/route53_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/route53_health_check.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/route53_zone.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_lifecycle.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_logging.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/sns_topic.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/sqs_queue.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/azure/azure_rm_deployment.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_aa_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_alert_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_blueprint_package.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_loadbalancer.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_modify_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_server_snapshot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_account.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_affinitygroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_cluster.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_configuration.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_domain.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_instance.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_instance_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_instancegroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_ip_address.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_iso.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule_member.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_network.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_pod.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_project.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_resourcelimit.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_staticnat.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_zone.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_zone_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/google/gce_img.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/lxc/lxc_container.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/ovirt.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/virt.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/virt_net.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/misc/virt_pool.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_ironic_inspect.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_keystone_domain.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_keystone_domain_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_keystone_role.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_port_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_project.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_project_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_nic.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume_attachments.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_clb_ssl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_mon_alarm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_mon_check.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_mon_entity.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_mon_notification.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/rackspace/rax_mon_notification_plan.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vca_fw.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vca_nat.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vca_vapp.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_cluster.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_datacenter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dns_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_host.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvswitch.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_host.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_maintenancemode.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_migrate_vmk.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_portgroup.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_target_canonical_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vm_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vm_shell.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vm_vss_dvs_migrate.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vmkernel.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vmkernel_ip_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vsan_cluster.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/vmware/vsphere_copy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/webfaction/webfaction_app.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/webfaction/webfaction_db.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/webfaction/webfaction_domain.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/webfaction/webfaction_mailbox.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/webfaction/webfaction_site.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/cloud/xenserver_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/consul.rb +4 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/consul_acl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/consul_session.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/clustering/znode.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/commands/expect.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/database/influxdb/influxdb_database.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/influxdb/influxdb_retention_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/misc/mongodb_parameter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/misc/mongodb_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/misc/riak.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/mysql/mysql_replication.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_ext.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb +4 -0
- data/lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_configuration.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_role.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_schema.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/files/patch.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_binding.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_exchange.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_parameter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_plugin.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_policy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_vhost.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/airbrake_deployment.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/bigpanda.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/boundary_meter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/librato_annotation.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/logentries.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/monit.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/nagios.rb +5 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/newrelic_deployment.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/pagerduty.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/pagerduty_alert.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/pingdom.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/rollbar_deployment.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/sensu_check.rb +4 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/uptimerobot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_group.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_screen.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/a10/a10_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/a10/a10_virtual_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/citrix/netscaler.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/dnsimple.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/dnsmadeeasy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_gtm_wide_ip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_monitor_http.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_monitor_tcp.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_node.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_pool.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_pool_member.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/f5/bigip_virtual_server.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/haproxy.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/ipify_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/lldp.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/nmcli.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/openvswitch_db.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/campfire.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/flowdock.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/grove.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/hall.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/irc.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/jabber.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/mail.rb +4 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/osx_say.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/pushover.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/sendgrid.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/slack.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/sns.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/twilio.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/notification/typetalk.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/dpkg_selections.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/elasticsearch_plugin.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/bower.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/composer.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/cpanm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/maven_artifact.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/language/pear.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/apk.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/dnf.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew_cask.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew_tap.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/macports.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/openbsd_pkg.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/opkg.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pkg5.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pkg5_publisher.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pkgng.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/portinstall.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/slackpkg.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/svr4pkg.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/swdepot.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/urpmi.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/yum_repository.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/zypper.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/packaging/os/zypper_repository.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/bzr.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/github_hooks.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/gitlab_group.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/source_control/gitlab_user.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/system/alternatives.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/system/at.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/system/capabilities.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/cronvar.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/crypttab.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/debconf.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/facter.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/filesystem.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/firewalld.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/getent.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/iptables.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/kernel_blacklist.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/known_hosts.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/locale_gen.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/lvg.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/lvol.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/make.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/modprobe.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/ohai.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/puppet.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/selinux_permissive.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/seport.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/svc.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/ufw.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/system/zfs.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/web_infrastructure/deploy_helper.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/web_infrastructure/ejabberd_user.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/web_infrastructure/jboss.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/web_infrastructure/jira.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/web_infrastructure/taiga_issue.rb +3 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_acl_inheritance.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_dotnet_ngen.rb +4 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_environment.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_file_version.rb +2 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_iis_virtualdirectory.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_iis_webapplication.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_iis_webapppool.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_iis_webbinding.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_iis_website.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_nssm.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_owner.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_package.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_regedit.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_regmerge.rb +6 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_scheduled_task.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_share.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_timezone.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_unzip.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_updates.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_uri.rb +1 -0
- data/lib/ansible/ruby/modules/generated/extras/windows/win_webpicmd.rb +3 -0
- data/lib/ansible/ruby/modules/missing_file_stuff.rb +28 -0
- data/lib/ansible/ruby/version.rb +1 -1
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 774c6ea1e1224e83f2f96c31ef3e09e1b45653e0
|
4
|
+
data.tar.gz: fc7955e393670388954e3ee9906418a0a2002bb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15abf355078fd9b9e808c07c95dd17d20cff26f11e5b9567c43f5c870b14734f190624556affc9fdf304e1b9e13a60ef1699dd8373e050861595f031054247fc
|
7
|
+
data.tar.gz: e012f982a9e6dd5727acb4675f37ad1ac1b3fc3b7878dcd6eeb3b23b47dd373f7a95b0d9c2a6ad6847a1e2deac71750ed30125889f71ce929d97fbf9606abfe3
|
@@ -7,21 +7,25 @@ module Ansible
|
|
7
7
|
class Block < Unit
|
8
8
|
def initialize
|
9
9
|
super
|
10
|
-
@
|
11
|
-
|
10
|
+
@task_builders = []
|
11
|
+
temp_counter = 0
|
12
|
+
@temp_counter_incrementer = lambda do
|
13
|
+
temp_counter += 1
|
14
|
+
end
|
12
15
|
end
|
13
16
|
|
14
17
|
def task(name, &block)
|
15
|
-
|
16
|
-
task_builder = Task.new name, Models::Task, @temp_counter
|
18
|
+
task_builder = Task.new name, Models::Task, @temp_counter_incrementer
|
17
19
|
task_builder.instance_eval(&block)
|
18
|
-
@
|
20
|
+
@task_builders << task_builder
|
21
|
+
task_builder._register
|
19
22
|
end
|
20
23
|
|
21
24
|
# allow for other attributes besides the module in any order
|
22
25
|
def _result
|
26
|
+
tasks = @task_builders.map(&:_result)
|
23
27
|
args = {
|
24
|
-
tasks:
|
28
|
+
tasks: tasks
|
25
29
|
}.merge @task_args
|
26
30
|
block = Models::Block.new args
|
27
31
|
block.validate!
|
@@ -2,19 +2,15 @@ module Ansible
|
|
2
2
|
module Ruby
|
3
3
|
module DslBuilders
|
4
4
|
class Result
|
5
|
-
def initialize(
|
6
|
-
@
|
7
|
-
# Until the variable is utilized, we don't know if 'register' should be set, the supplied lambda
|
8
|
-
# allows us to set register on the task
|
9
|
-
@register_set = register_set
|
5
|
+
def initialize(name_fetcher)
|
6
|
+
@name_fetcher = name_fetcher
|
10
7
|
end
|
11
8
|
|
12
9
|
# we need to respond to everything, don't want super
|
13
10
|
# rubocop:disable Style/MethodMissing
|
14
11
|
def method_missing(id, *args)
|
15
|
-
register_needed
|
16
12
|
flat_args = args.map(&:inspect).map(&:to_s).join ', '
|
17
|
-
"#{
|
13
|
+
"#{name}.#{id}#{flat_args.empty? ? '' : "(#{flat_args})"}"
|
18
14
|
end
|
19
15
|
# rubocop:enable Style/MethodMissing
|
20
16
|
|
@@ -22,10 +18,15 @@ module Ansible
|
|
22
18
|
true
|
23
19
|
end
|
24
20
|
|
21
|
+
def to_s
|
22
|
+
name
|
23
|
+
end
|
24
|
+
|
25
25
|
private
|
26
26
|
|
27
|
-
def
|
28
|
-
|
27
|
+
def name
|
28
|
+
# Don't want to assign a name until we actually use a variable
|
29
|
+
@name ||= @name_fetcher.call
|
29
30
|
end
|
30
31
|
end
|
31
32
|
end
|
@@ -8,19 +8,29 @@ module Ansible
|
|
8
8
|
module Ruby
|
9
9
|
module DslBuilders
|
10
10
|
class Task < Unit
|
11
|
-
def initialize(name, context,
|
11
|
+
def initialize(name, context, temp_counter_inc)
|
12
12
|
super()
|
13
13
|
@name = name
|
14
14
|
@context = context
|
15
15
|
@module = nil
|
16
16
|
@inclusion = nil
|
17
|
-
|
17
|
+
# Until the variable is utilized, we don't know if 'register' should be set, the supplied lambda
|
18
|
+
name_fetcher = lambda do
|
19
|
+
name = "result_#{temp_counter_inc.call}"
|
20
|
+
@task_args[:register] = name
|
21
|
+
name
|
22
|
+
end
|
23
|
+
@register = Result.new name_fetcher
|
18
24
|
end
|
19
25
|
|
20
26
|
def no_log(value)
|
21
27
|
@task_args[:no_log] = value
|
22
28
|
end
|
23
29
|
|
30
|
+
def connection(value)
|
31
|
+
@task_args[:connection] = value
|
32
|
+
end
|
33
|
+
|
24
34
|
def changed_when(clause)
|
25
35
|
@task_args[:changed_when] = clause
|
26
36
|
end
|
@@ -58,12 +68,16 @@ module Ansible
|
|
58
68
|
!@module || super
|
59
69
|
end
|
60
70
|
|
71
|
+
def _register
|
72
|
+
@register
|
73
|
+
end
|
74
|
+
|
61
75
|
# allow for other attributes besides the module in any order
|
62
76
|
def _result
|
63
77
|
args = {
|
64
|
-
module: @module,
|
65
78
|
name: @name
|
66
79
|
}.merge @task_args
|
80
|
+
args[:module] = @module if @module
|
67
81
|
args[:inclusion] = @inclusion if @inclusion
|
68
82
|
task = @context.new args
|
69
83
|
# Quick feedback if the type is wrong, etc.
|
@@ -78,7 +92,10 @@ module Ansible
|
|
78
92
|
private
|
79
93
|
|
80
94
|
def _process_method(id, *args, &block)
|
81
|
-
|
95
|
+
if id == :ansible_include
|
96
|
+
@inclusion = _ansible_include(*args, &block)
|
97
|
+
return
|
98
|
+
end
|
82
99
|
mcb = ModuleCall.new
|
83
100
|
# only 1 module allowed per task, give a good error message
|
84
101
|
if @module && mcb.respond_to?(id)
|
@@ -89,15 +106,9 @@ module Ansible
|
|
89
106
|
@module = mcb._result
|
90
107
|
end
|
91
108
|
|
92
|
-
def _check_context
|
93
|
-
raise "Can't call inclusion inside a handler(yet), only in plays/handlers" if @context == Models::Handler
|
94
|
-
raise "Can't call inclusion inside a task, only in plays/handlers"
|
95
|
-
end
|
96
|
-
|
97
109
|
def method_missing_return(_id, _result, *_args)
|
98
|
-
#
|
99
|
-
|
100
|
-
Result.new(@temp_counter, ->(name) { @task_args[:register] = name })
|
110
|
+
# Allow module call to return the register vsriable
|
111
|
+
@register
|
101
112
|
end
|
102
113
|
end
|
103
114
|
end
|
@@ -9,9 +9,12 @@ module Ansible
|
|
9
9
|
class Tasks < Base
|
10
10
|
def initialize(context)
|
11
11
|
@context = context
|
12
|
-
@
|
12
|
+
@task_builders = []
|
13
13
|
@includes = []
|
14
|
-
|
14
|
+
temp_counter = 0
|
15
|
+
@temp_counter_incrementer = lambda do
|
16
|
+
temp_counter += 1
|
17
|
+
end
|
15
18
|
end
|
16
19
|
|
17
20
|
def ansible_include(filename, &block)
|
@@ -20,7 +23,8 @@ module Ansible
|
|
20
23
|
|
21
24
|
# allow multiple tasks, etc.
|
22
25
|
def _result
|
23
|
-
|
26
|
+
tasks = @task_builders.map(&:_result)
|
27
|
+
Models::Tasks.new items: tasks,
|
24
28
|
inclusions: @includes
|
25
29
|
end
|
26
30
|
|
@@ -69,10 +73,14 @@ module Ansible
|
|
69
73
|
def _handle(name, &block)
|
70
74
|
model = _context[:model]
|
71
75
|
raise "Model not configured for #{@context}" unless model
|
72
|
-
|
73
|
-
task_builder = Task.new name, model, @temp_counter
|
76
|
+
task_builder = Task.new name, model, @temp_counter_incrementer
|
74
77
|
task_builder.instance_eval(&block)
|
75
|
-
@
|
78
|
+
@last_variable = task_builder._register
|
79
|
+
@task_builders << task_builder
|
80
|
+
end
|
81
|
+
|
82
|
+
def method_missing_return(*)
|
83
|
+
@last_variable
|
76
84
|
end
|
77
85
|
end
|
78
86
|
end
|
@@ -16,6 +16,18 @@ module Ansible
|
|
16
16
|
end
|
17
17
|
|
18
18
|
class << self
|
19
|
+
def remove_existing_validations(attr)
|
20
|
+
options = attr_option(attr)
|
21
|
+
options.clear
|
22
|
+
_validators.delete attr
|
23
|
+
callbacks = send(:get_callbacks, :validate)
|
24
|
+
for_this_att = callbacks.select do |callback|
|
25
|
+
filter = callback.filter
|
26
|
+
filter.respond_to?(:attributes) && filter.attributes == [attr]
|
27
|
+
end
|
28
|
+
for_this_att.each { |callback| callbacks.delete callback }
|
29
|
+
end
|
30
|
+
|
19
31
|
def attr_options
|
20
32
|
@attr_options ||= begin
|
21
33
|
# need parent attribute info
|
@@ -1,4 +1,6 @@
|
|
1
1
|
require 'ansible/ruby/models/unit'
|
2
|
+
require 'ansible/ruby/models/inclusion'
|
3
|
+
require 'ansible/ruby/modules/base'
|
2
4
|
|
3
5
|
module Ansible
|
4
6
|
module Ruby
|
@@ -7,7 +9,10 @@ module Ansible
|
|
7
9
|
attribute :name
|
8
10
|
validates :name, presence: true, type: String
|
9
11
|
attribute :module
|
10
|
-
validates :module,
|
12
|
+
validates :module, type: Ansible::Ruby::Modules::Base
|
13
|
+
attribute :inclusion
|
14
|
+
validates :inclusion, type: Inclusion
|
15
|
+
validate :inclusion_module
|
11
16
|
attribute :changed_when
|
12
17
|
validates :changed_when, type: String
|
13
18
|
attribute :failed_when
|
@@ -25,16 +30,21 @@ module Ansible
|
|
25
30
|
validates :async, type: Integer
|
26
31
|
attribute :poll
|
27
32
|
validates :poll, type: Integer
|
33
|
+
attribute :connection
|
34
|
+
validates :connection,
|
35
|
+
allow_nil: true,
|
36
|
+
inclusion: { in: [:local, :docker, :ssh], message: '%{value} needs to be :local, :docker, or :ssh' }
|
28
37
|
|
29
38
|
def to_h
|
30
39
|
result = super
|
31
|
-
# Module gets referenced by name
|
32
|
-
|
40
|
+
# Module gets referenced by name, may not have a module though
|
41
|
+
mod_or_include = @inclusion ? :inclusion : :module
|
42
|
+
flatten = result.delete(mod_or_include) || {}
|
33
43
|
# Module traditionally goes right after name, so rebuilding hash
|
34
44
|
new_result = {
|
35
45
|
name: result.delete(:name)
|
36
46
|
}
|
37
|
-
new_result.merge!
|
47
|
+
new_result.merge! flatten
|
38
48
|
result.each do |key, value|
|
39
49
|
new_result[key] = value
|
40
50
|
end
|
@@ -43,6 +53,12 @@ module Ansible
|
|
43
53
|
|
44
54
|
private
|
45
55
|
|
56
|
+
# :reek:NilCheck - ^ doesn't work with falsey, you would have to overload the operator
|
57
|
+
def inclusion_module
|
58
|
+
errors.add :module,
|
59
|
+
'You must either use an include or a module but not both!' unless @inclusion.nil? ^ @module.nil?
|
60
|
+
end
|
61
|
+
|
46
62
|
def loop_and_dict
|
47
63
|
errors.add :with_items, 'Cannot use both with_items and with_dict!' if with_items && with_dict
|
48
64
|
end
|
@@ -7,7 +7,8 @@ ansible_mod.autoload(:Cloudformation, 'ansible/ruby/modules/generated/core/cloud
|
|
7
7
|
ansible_mod.autoload(:Ec2, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2')
|
8
8
|
ansible_mod.autoload(:Ec2_ami, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami')
|
9
9
|
ansible_mod.autoload(:Ec2_ami_find, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find')
|
10
|
-
|
10
|
+
# Using custom module
|
11
|
+
ansible_mod.autoload(:Ec2_asg, 'ansible/ruby/modules/custom/cloud/core/amazon/ec2_asg')
|
11
12
|
ansible_mod.autoload(:Ec2_eip, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip')
|
12
13
|
ansible_mod.autoload(:Ec2_elb, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb')
|
13
14
|
ansible_mod.autoload(:Ec2_elb_lb, 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb_lb')
|
@@ -53,7 +54,8 @@ ansible_mod.autoload(:Digital_ocean, 'ansible/ruby/modules/generated/core/cloud/
|
|
53
54
|
ansible_mod.autoload(:Digital_ocean_domain, 'ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain')
|
54
55
|
ansible_mod.autoload(:Digital_ocean_sshkey, 'ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey')
|
55
56
|
ansible_mod.autoload(:Docker, 'ansible/ruby/modules/generated/core/cloud/docker/docker')
|
56
|
-
|
57
|
+
# Using custom module
|
58
|
+
ansible_mod.autoload(:Docker_container, 'ansible/ruby/modules/custom/cloud/core/docker/docker_container')
|
57
59
|
ansible_mod.autoload(:Docker_image, 'ansible/ruby/modules/generated/core/cloud/docker/docker_image')
|
58
60
|
ansible_mod.autoload(:Docker_image_facts, 'ansible/ruby/modules/generated/core/cloud/docker/docker_image_facts')
|
59
61
|
ansible_mod.autoload(:Docker_login, 'ansible/ruby/modules/generated/core/cloud/docker/docker_login')
|
@@ -137,21 +139,26 @@ ansible_mod.autoload(:Postgresql_privs, 'ansible/ruby/modules/generated/core/dat
|
|
137
139
|
ansible_mod.autoload(:Postgresql_user, 'ansible/ruby/modules/generated/core/database/postgresql/postgresql_user')
|
138
140
|
ansible_mod.autoload(:Acl, 'ansible/ruby/modules/generated/core/files/acl')
|
139
141
|
ansible_mod.autoload(:Assemble, 'ansible/ruby/modules/generated/core/files/assemble')
|
140
|
-
|
141
|
-
ansible_mod.autoload(:
|
142
|
-
|
142
|
+
# Using custom module
|
143
|
+
ansible_mod.autoload(:Copy, 'ansible/ruby/modules/custom/files/copy')
|
144
|
+
# Using custom module
|
145
|
+
ansible_mod.autoload(:Fetch, 'ansible/ruby/modules/custom/files/fetch')
|
146
|
+
# Using custom module
|
147
|
+
ansible_mod.autoload(:File, 'ansible/ruby/modules/custom/files/file')
|
143
148
|
ansible_mod.autoload(:Find, 'ansible/ruby/modules/generated/core/files/find')
|
144
149
|
ansible_mod.autoload(:Ini_file, 'ansible/ruby/modules/generated/core/files/ini_file')
|
145
150
|
ansible_mod.autoload(:Lineinfile, 'ansible/ruby/modules/generated/core/files/lineinfile')
|
146
151
|
ansible_mod.autoload(:Replace, 'ansible/ruby/modules/generated/core/files/replace')
|
147
152
|
ansible_mod.autoload(:Stat, 'ansible/ruby/modules/generated/core/files/stat')
|
148
153
|
ansible_mod.autoload(:Synchronize, 'ansible/ruby/modules/generated/core/files/synchronize')
|
149
|
-
|
154
|
+
# Using custom module
|
155
|
+
ansible_mod.autoload(:Template, 'ansible/ruby/modules/custom/files/template')
|
150
156
|
ansible_mod.autoload(:Unarchive, 'ansible/ruby/modules/generated/core/files/unarchive')
|
151
157
|
ansible_mod.autoload(:Xattr, 'ansible/ruby/modules/generated/core/files/xattr')
|
152
158
|
ansible_mod.autoload(:Add_host, 'ansible/ruby/modules/generated/core/inventory/add_host')
|
153
159
|
ansible_mod.autoload(:Group_by, 'ansible/ruby/modules/generated/core/inventory/group_by')
|
154
|
-
|
160
|
+
# Using custom module
|
161
|
+
ansible_mod.autoload(:Get_url, 'ansible/ruby/modules/custom/network/basics/get_url')
|
155
162
|
ansible_mod.autoload(:Slurp, 'ansible/ruby/modules/generated/core/network/basics/slurp')
|
156
163
|
ansible_mod.autoload(:Uri, 'ansible/ruby/modules/generated/core/network/basics/uri')
|
157
164
|
ansible_mod.autoload(:Cl_bond, 'ansible/ruby/modules/generated/core/network/cumulus/cl_bond')
|
@@ -230,7 +237,8 @@ ansible_mod.autoload(:Async_status, 'ansible/ruby/modules/generated/core/utiliti
|
|
230
237
|
ansible_mod.autoload(:Debug, 'ansible/ruby/modules/generated/core/utilities/logic/debug')
|
231
238
|
ansible_mod.autoload(:Fail, 'ansible/ruby/modules/generated/core/utilities/logic/fail')
|
232
239
|
ansible_mod.autoload(:Pause, 'ansible/ruby/modules/generated/core/utilities/logic/pause')
|
233
|
-
|
240
|
+
# Using custom module
|
241
|
+
ansible_mod.autoload(:Set_fact, 'ansible/ruby/modules/custom/utilities/logic/set_fact')
|
234
242
|
ansible_mod.autoload(:Wait_for, 'ansible/ruby/modules/generated/core/utilities/logic/wait_for')
|
235
243
|
ansible_mod.autoload(:Apache2_module, 'ansible/ruby/modules/generated/core/web_infrastructure/apache2_module')
|
236
244
|
ansible_mod.autoload(:Django_manage, 'ansible/ruby/modules/generated/core/web_infrastructure/django_manage')
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# VALIDATED_CHECKSUM: ke2ZdaLvxoGxPtqdOxXDJIIz+sG3choGauiyWbayeSQ=
|
2
|
+
# See LICENSE.txt for license
|
3
|
+
|
4
|
+
require 'ansible/ruby/modules/generated/core/cloud/amazon/ec2_asg'
|
5
|
+
|
6
|
+
module Ansible
|
7
|
+
module Ruby
|
8
|
+
module Modules
|
9
|
+
class Ec2_asg
|
10
|
+
remove_existing_validations :termination_policies
|
11
|
+
# @return [:OldestInstance, :NewestInstance, :OldestLaunchConfiguration, :ClosestToNextInstanceHour, :Default, nil] An ordered list of criteria used for selecting instances to be removed from the Auto Scaling group when reducing capacity.,For 'Default', when used to create a new autoscaling group, the "Default" value is used. When used to change an existent autoscaling group, the current termination policies are mantained
|
12
|
+
attribute :termination_policies
|
13
|
+
validates :termination_policies, type: Array
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# VALIDATED_CHECKSUM: HoHvaFYbnOUeU03yrUaG8NMWRHEC9ofwjEVNquhM7Dw=
|
2
|
+
# See LICENSE.txt for license
|
3
|
+
|
4
|
+
require 'ansible/ruby/modules/generated/core/cloud/docker/docker_container'
|
5
|
+
|
6
|
+
module Ansible
|
7
|
+
module Ruby
|
8
|
+
module Modules
|
9
|
+
class Docker_container
|
10
|
+
remove_existing_validations :volumes
|
11
|
+
validates :volumes, type: Hash
|
12
|
+
remove_existing_validations :network_mode
|
13
|
+
validates :network_mode, type: String
|
14
|
+
|
15
|
+
def to_h
|
16
|
+
result = super
|
17
|
+
data = result[:docker_container]
|
18
|
+
if data.include? :volumes
|
19
|
+
data[:volumes] = transform_volumes data[:volumes]
|
20
|
+
end
|
21
|
+
result
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def transform_volumes(input)
|
27
|
+
input.map do |host_path, info|
|
28
|
+
image_path = if info.is_a? Hash
|
29
|
+
flags = info[:flags]
|
30
|
+
path = info[:path]
|
31
|
+
[path, flags].join ':'
|
32
|
+
else
|
33
|
+
info
|
34
|
+
end
|
35
|
+
[host_path, image_path].join ':'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -1,7 +1,6 @@
|
|
1
|
+
# VALIDATED_CHECKSUM: HlJ7AWUxwcrY8Vt+1L/V59AdmCQdJO3Ts8bbemlo4eY=
|
1
2
|
# See LICENSE.txt for license
|
2
3
|
|
3
|
-
# VALIDATED_CHECKSUM: JQvTPI3GbhVRRPRvDgbzLeeuYLABoDT7ogPPA2odrHs=
|
4
|
-
|
5
4
|
require 'ansible/ruby/modules/free_form'
|
6
5
|
require 'ansible/ruby/modules/generated/core/commands/command'
|
7
6
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# VALIDATED_CHECKSUM: xP6DW+ebKQO0s/qZz8E8aOeRWZtmT6jaPtrvAtsQwyU=
|
2
|
+
# see LICENSE.txt in project root
|
3
|
+
|
4
|
+
require 'ansible/ruby/modules/generated/core/files/copy'
|
5
|
+
require 'ansible/ruby/modules/missing_file_stuff'
|
6
|
+
|
7
|
+
module Ansible
|
8
|
+
module Ruby
|
9
|
+
module Modules
|
10
|
+
class Copy
|
11
|
+
include MissingFileStuff
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|