Commit Graph

1987 Commits (148a0ddabf0bf53a4fed782969212b5c22e3ed04)

Author SHA1 Message Date
Evgeni Golov c03e77a63a strip whitespace from key and value before inserting it into the config
before the following would produce four entries:

    container_config:
      - "lxc.network.flags=up"
      - "lxc.network.flags =up"
      - "lxc.network.flags= up"
      - "lxc.network.flags = up"

let's strip the whitespace and insert only one "lxc.network.flags = up"
into the final config

Signed-off-by: Evgeni Golov <evgeni@golov.de>
9 years ago
Ricardo Carrillo Cruz 34045fddb1 Add os_user_facts module
This module gather facts about one or more OpenStack users
9 years ago
Ricardo Carrillo Cruz d914b3fa84 Add os_keystone_domain_facts module
This module gathers one or more OpenStack domains facts
9 years ago
Michael Scherer 7120fb4b01 Properly label path argument with type='path' (#1940) 9 years ago
Rob 84f2aa6167 Updated Amazon module guidelines regarding boto3
* Updated Amazon module guidelines regarding boto3

* Spelling correction
9 years ago
Andy Baker 204b4bab56 type should be 'list' not the default of 'string' 9 years ago
Evgeni Golov 6bfd2846f8 don't create world-readable archives of LXC containers
with the default umask tar will create a world-readable archive of the

container, which may contain sensitive data



Signed-off-by: Evgeni Golov <evgeni@golov.de>
9 years ago
Michael Scherer 5696e6c33a Do not leak passwords in case of error in cloudstack modules 9 years ago
Evgeni Golov 7c3999a92a do not use a predictable filenames in the LXC plugin
* do not use a predictable filename for the LXC attach script

* don't use predictable filenames for LXC attach script logging

* don't set a predictable archive_path



this should prevent symlink attacks which could result in

* data corruption

* data leakage

* privilege escalation
9 years ago
René Moser fb3d584abd Merge pull request #1933 from evgeni/no-lxc-default.conf
do not set a default config for lxc containers
9 years ago
Evgeni Golov 185bcbd8f7 explicitly set "default: null" in the docs 9 years ago
Chris Porter da84e2e9b8 fix security vulnerability in lxc module
octal/decimal confusion makes file world-writable before executing it
9 years ago
John Barker 950e2d9484 restore version_added in dynamodb_table.py 9 years ago
Evgeni Golov 71b0067aa6 do not set a default config for lxc containers
otherwise deploying user-containers fail as these require information
from ~/.config/lxc/default.conf that the LXC tools will load if no
--config was supplied

Signed-off-by: Evgeni Golov <evgeni@golov.de>
9 years ago
Rene Moser 25d7126852 openstack: doc: add return doc, fixes build 9 years ago
David Shrewsbury 6bcd3d624b Add OpenStack os_user_role module 9 years ago
David Shrewsbury edf697b8bd Add shade version check to os_flavor_facts
The range_search() API was added to the shade library in version
1.5.0 so let's check for that and let the user know they need to
upgrade if they try to use it.
9 years ago
Brian Coca 745df06abc renamed sl to sl_vm and updated docs
namespace for softlayer modules should now be sl_
9 years ago
Brian Coca b228bfb575 Merge pull request #1020 from mcltn/devel
Added module for SoftLayer
9 years ago
David Shrewsbury 7bebfea77b Merge pull request #1681 from juliakreger/feature/os-ironic-inspect
Add os_ironic_inspect module
9 years ago
René Moser e285286d1f Merge pull request #1892 from rcarrillocruz/allow_domain_name_os_project
Allow passing domain name on os_project
9 years ago
Rene Moser d0501864ab dynamodb_table: doc fix 9 years ago
René Moser eb5809f351 Merge pull request #1443 from dataxu/dev-dynamodb-indexes
Ability to set dynamo db indexes
9 years ago
Ricardo Carrillo Cruz b560a764c0 Allow passing domain name on os_project 9 years ago
René Moser aa80e700e5 Merge pull request #1629 from caseylucas/devel
ec2_vpc_subnet: fix edge case where boto returns empty list after subnet creation
9 years ago
René Moser 8d8d418e94 Merge pull request #1865 from dennisconrad/devel
Fix for existing ENIs w/ multiple security groups
9 years ago
René Moser f91a3cc9e8 Merge pull request #1579 from wimnat/feature/1573
Allow SNS topics to be created without subscriptions.
9 years ago
René Moser d902a6d9ad Merge pull request #1653 from nand0p/devel
Fix SNS topic attribute typo
9 years ago
René Moser 58654cdac1 Merge pull request #1429 from joelthompson/feature/win_load_password
Ensure ec2_win_password doesn't leak file handle
9 years ago
Rene Moser ea56151a67 ec2_vpc_dhcp_options: doc fix, add version_added to new args
See #1640
9 years ago
René Moser 5e63d9fb71 Merge pull request #1640 from andynelson/ec2_vpc_options
Updated ec2_vpc_dhcp_options
9 years ago
René Moser baa702da87 Merge pull request #1726 from kaczynskid/feature/ecs_service_fixes
ecs_service module fixes
9 years ago
René Moser be03691945 Merge pull request #1727 from kaczynskid/feature/ecs_service_facts_fixes
ecs_service_facts fixes
9 years ago
Alex Kalinin 0a9ac470df Fix vmware_portgroup throwing an error if port group already exists 9 years ago
Toshio Kuratomi 33e1d9d1cb Doc fixes 9 years ago
Dennis Conrad 9acc141082 Fix for existing ENIs w/ multiple security groups
Do a sorted comparison of the list of security groups supplied via `module.params.get('security_groups')` and the list of security groups fetched via `get_sec_group_list(eni.groups)`.  This fixes an incorrect "The specified address is already in use" error if the order of security groups in those lists differ.
9 years ago
René Moser f62fe7c55b Merge pull request #1733 from skinlayers/devel
Fixes route53_facts to use max_items parameter with record_sets query.
9 years ago
René Moser a16c9a74f6 Merge pull request #1751 from nonshankus/additional-elb-facts
Adding missing attributes regarding the hosted zone. / Fixes #1549
9 years ago
David Shrewsbury f47b499bb9 Merge pull request #1528 from Shrews/os_group
Add os_group.py OpenStack module
9 years ago
David Shrewsbury 57ac47ba25 Merge pull request #1552 from Shrews/os_flavor_facts
New OpenStack os_flavor_facts.py module
9 years ago
David Shrewsbury 514b2fbec5 Merge pull request #1520 from Shrews/os_keystone_role
Add new os_keystone_role module.
9 years ago
Laurent Mazuel a0ee1f37d1 Add user-agent information for analytics 9 years ago
René Moser 6a5e1e8d4d Merge pull request #1614 from resmo/feature/cs_zone_facts
[2.1] cloudstack: new module cs_zone_facts
9 years ago
Andre Price c69c0f8fd7 Get failed deployments when create fails also 9 years ago
Laurent Mazuel 112355d965 Updated to use ServicePrincipalCredentials class and get rid of requests 9 years ago
Laurent Mazuel 027ae690c4 Fixes after Travis feedback 9 years ago
Laurent Mazuel 36b9fe9ac9 Py2.6 compatible + minor fixes 9 years ago
Laurent Mazuel a714e1d9f9 Fix YAML documentation 9 years ago
Ritesh Khadgaray 040b358770 Fix test failure for lxc_container
TRACE:
    while parsing a block mapping
      in "<string>", line 33, column 13:
                    description: resulting state of  ...
                    ^
    expected <block end>, but found ','
      in "lxc_container.RETURN", line 419, column 53:
         ... "/tmp/test-container-config.tar",

ERROR: RETURN is not valid YAML. Line 419 column 53
9 years ago
Brian Coca be66e9d297 add container name to return and document return
fixes #1848
9 years ago
Laurent Mazuel dd50d741dd Add update from @obsoleted 9 years ago
Laurent Mazuel 4fb6a7e468 Azure plugin using Azure Python SDK 2.0.0rc1 9 years ago
David Justice 547fd41352 add azure resource manager template deployment module 9 years ago
Matt Colton c6598e3672 Added Softlayer Module 9 years ago
liquidat 0cdd66fa23 remove legacy action style from examples
- "action" style invoking is a legacy way to call modules
- the examples were updated to the typical style of calling complex
  modules:

ovirt:
  parameter1: value1
  parameter2: value2
  ...
9 years ago
Darek Kaczyński c553e70ed2 Removed debug return values 9 years ago
Julia Kreger 68c8c16082 Add os_ironic_inspect module
Addition of an os_ironic_inspect module to leverage the OpenStack
Baremetal inspector add-on to ironic or ironic driver out-of-band
hardware introspection, if supported and configured.
9 years ago
Rob White ce9aed9c52 Allow SNS topics to be created without subscriptions. Also added better error handling around boto calls. 9 years ago
Brian Coca 6c43731d7c Merge pull request #1776 from rcarrillocruz/use_module_params_cloud_os_project
Fix instantiation of openstack_cloud object in os_project
9 years ago
Brian Coca 30ba3a97ed Merge pull request #1723 from kaczynskid/feature/ecs_task_fixes
ecs_task module documentation fixes
9 years ago
Brian Coca f6d2763671 Merge pull request #1626 from jcpowermac/vmware_migrate_vmk_fix_20
Resolves issue with vmware_migrate_vmk module for v2.0
9 years ago
Brian Coca 478ca3d321 Merge pull request #1625 from jcpowermac/vmware_vm_vss_dvs_migrate_fix_20
Resolves issue with vmware_vm_vss_dvs_migrate module for v2.0
9 years ago
Brian Coca 9f67ed64a3 Merge pull request #1624 from jcpowermac/vmware_host_fix_20
Resolves issue with vmware_host module for v2.0
9 years ago
Brian Coca fe5168a395 Merge pull request #1622 from jcpowermac/vmware_dvs_portgroup_fix_20
Resolves issue with vmware_dvs_portgroup module for v2.0
9 years ago
Brian Coca 18c654b90e Merge pull request #1620 from jcpowermac/vmware_cluster_fix_20
Resolves issue with vmware_cluster module for v2.0
9 years ago
Brian Coca a68ff8c9c8 Merge pull request #1623 from jcpowermac/vmware_dvs_host_fix_20
Resolves issue with vmware_dvs_host module for v2.0
9 years ago
Brian Coca cda520436e Merge pull request #1591 from resmo/feature/cs_zone
[2.1] cloudstack: new module cs_zone
9 years ago
Brian Coca ab8b889559 Merge pull request #1590 from resmo/feature/cs_cluster
[2.1] cloudstack: new module cs_cluster
9 years ago
Brian Coca 39b82b3dab Merge pull request #1589 from resmo/feature/cs_pod
[2.1] cloudstack: new module cs_pod
9 years ago
Brian Coca f5c4af406a Merge pull request #1588 from resmo/feature/cs_instance_facts
[2.1] cloudstack: new module cs_instance_facts
9 years ago
Brian Coca 7ebb8ed3fa Merge pull request #1587 from resmo/feature/cs_resourcelimit
[2.1] cloudstack: new module cs_resourcelimit
9 years ago
Brian Coca 3145ef9467 Merge pull request #1586 from resmo/feature/cs_configuration
[2.1] cloudstack: new module cs_configuration
9 years ago
Ricardo Carrillo Cruz 68d906e8c4 Fix instantiation of openstack_cloud object in os_project
The os_project module instantiates the openstack cloud object
by passing the module params kwargs.
As the params contain a key named 'domain_id', this is used
for domain in the OpenStack connection, instead of the domain value
the user specifies on the OSCC clouds.yaml or OpenStack envvars.
This fix corrects this by popping the 'domain_id' key, so it we
keep the value but it's not passed later on module.params.
9 years ago
Fernando J Pando 1e05ee5b3b author added 9 years ago
Andy Nelson 2a082deca8 Updated ec2_vpc_dhcp_options 9 years ago
Matt Martz 767dd4bdc6 Choices should be a list of true/false not the string BOOLEANS 9 years ago
Matt Martz f5329eb337 Don't call sys.exit in sns_topic, use HAS_BOTO to fail 9 years ago
Matt Martz 7df0aff7dd DOCUMENTATION fixes for a few modules 9 years ago
Brian Coca c439cc9ca6 Merge pull request #1621 from jcpowermac/vmware_dvswitch_fix_20
Resolves issue with vmware_dvswitch module for v2.0
9 years ago
Brian Coca 6589718ec4 Merge pull request #1585 from resmo/for-ansible-2.1
[2.1] cloudstack: module updates
9 years ago
Brian Coca 6049368b45 Merge pull request #1580 from jcpowermac/vmware_vswitch_fix_20
Resolves issue with vmware_vswitch module for v2.0
9 years ago
nonshankus 738f4cb27d Adding missing attributes regarding the hosted zone. 9 years ago
Matt Ferrante c5ce684812 dynamo db indexes 9 years ago
Rene Moser 3b354ddf00 cloudstack: new module cs_zone_facts 9 years ago
Rene Moser fc0c41a306 cloudstack: new module cs_instance_facts 9 years ago
Gabriel Burkholder 2ef35c33d0 Fixes route53_facts to use max_items parameter with record_sets query. 9 years ago
Darek Kaczyński df482bfadd ecs_service will now compare whole model and update it if any difference found. Documentation #1483. Workaround for datetime fileds #1348. 9 years ago
Darek Kaczyński f4a9247232 ecs_service_facts documentation fixes #1483. Workaround for datetime fileds #1348. 9 years ago
Darek Kaczyński 4798b53b06 ecs_task module documentation fixes 9 years ago
Fernando J Pando fbf9da2119 Fix SNS topic attribute typo
Enables adding SNS topic policy. 'Policy' attribute is capitalized.
9 years ago
Joel Thompson 31ecde6b87 Fix documentation for sns_topic module
Currently the documentation does not correspond to the Ansible standards
for module documentation. This should bring it into compliance.
9 years ago
Brian Coca 14ff9e5030 merged duplicate entries for vdc_name 9 years ago
Matt Davis 462b114033 Merge pull request #1632 from MichaelBaydoun/docfix-ec2_vpc_net_facts
Update ec2_vpc_net_facts.py
9 years ago
Alex Kalinin bba1dac0f0 Fix opening libvirt esx connection 9 years ago
Joel Thompson 41a2542f00 Ensure ec2_win_password doesn't leak file handle
Currently the module doesn't explicitly close the file handle. This
wraps the reading of the private key in a try/finally block to ensure
the file is properly closed.
9 years ago
Rene Moser 15f2a328a2 cloudstack: new module cs_zone 9 years ago
Rene Moser dbf260b779 cloudstack: new module cs_pod 9 years ago
Rene Moser d17fdc1846 cloudstack: new module cs_cluster 9 years ago
Brian Coca 6aeb2ab6cf corrected parameter name and added missing description 9 years ago
Brian Coca c55e4e6787 fixed misppelled description 9 years ago