Commit Graph

1966 Commits (014297b86802f43e435144535bb45d0df68bf96a)

Author SHA1 Message Date
Adrià Galín Figueras 014297b868 Fixed netif params when create lxc container (#2064) 9 years ago
Rene Moser de22b721db vmware_vm_shell: doc: add missing defaults 9 years ago
Ritesh Khadgaray e24c3b93fe vmware_vm_shell: speed up vm_name search (#1909) 9 years ago
Toshio Kuratomi 54a6a470b5 Make main() only run when invoked as a script (style cleanup) 9 years ago
Chris Houseknecht 451420b7e8 Merge pull request #1839 from lmazuel/feature/azure-deploy
Feature/azure deploy
9 years ago
Rob c3d8b07432 New module - ec2_snapshot_facts (#1088) 9 years ago
Victor Costan 1aecfc1e19 amazon/GUIDELINES.md: Fix copy-paste typo (#2060) 9 years ago
Jay Jahns 05068630ca Add Maintenance Mode support for VMware (#1754)
* add vmware maintenance mode support

* changed version number in documentation

* updated version_added to 2.0 since CI is failing

* changed version to 2.0 due to CI - error asking for 2.1

* added RETURN

* updated formatting of return values and added some to clarify actions taken
9 years ago
Karim Boumedhel a61742e070 Add cloudinit support to ovirt.py module 9 years ago
Michael Scherer 8e7051ad9d Do not leak password by error for ovirt module (#1991) 9 years ago
Fernando José Pando 3afe117730 Add SQS queue policy attachment functionality (#1716)
* Add SQS queue policy attachment functionality

SQS queue has no attribute 'Policy' until one is attached, so this special
case must be handled uniquely

SQS queue Policy can now be passed in as json
9 years ago
Michael Scherer bd0deed367 Use type=path for pem_file, since that's a file (#1934) 9 years ago
René Moser 7c613c314c Merge pull request #1997 from evgeni/lxc-container_config-fixes
Lxc container config fixes
9 years ago
David Shrewsbury e7e440e349 Merge pull request #1967 from rcarrillocruz/os_project_facts
Add os_project_facts module
9 years ago
Jens Carl 10def11d39 Fix code example (#2018) 9 years ago
Ricardo Carrillo Cruz c65bc5f43d Add os_project_facts module
This module gathers facts about OpenStack projects
9 years ago
René Moser 0fa30f8d93 cloudstack, cs_firewall: fix network not found error in return results (#2006)
Only a small issue in results.

In case of type is ingress, we rely on ip address, but in results we also return the network.
Resolving the ip address works without zone params. If the ip address is not located in the default zone and zone param is not set,
the network won't be found because default zone was used for the network query listing.

However since network param is not used for type ingress we skip the return of the network in results.
9 years ago
René Moser 30a46ee542 cloudstack: cs_instance: fix template not found (#2005)
Let users decide which filter should be used to find the template.
9 years ago
René Moser 442c286b1c Merge pull request #1923 from resmo/fix/cs-template-absent-cross-zones
cloudstack: cs_template: bug fixes
9 years ago
David Shrewsbury 3c9310d608 New OpenStack module os_port_facts (#1986) 9 years ago
Kamil Szczygieł 01a15f8a0b VMware datacenter module shouldn't hold pyvmomi context in Ansible module object (#1568)
* VMware datacenter module rewritten to don't hold pyvmomi context and objects in Ansible module object

fixed exceptions handling

added datacenter destroy result, moved checks

changed wrong value

wrong value again... need some sleep

* check_mode fixes

* state defaults to present, default changed to true

* module check fixes
9 years ago
Evgeni Golov 98514ace6e do not set LXC default config
this was accidentally re-introduced in 7120fb4b

Signed-off-by: Evgeni Golov <evgeni@golov.de>
9 years ago
David Shrewsbury fa4769f708 Merge pull request #1970 from rcarrillocruz/os_user_facts
Add os_user_facts module
9 years ago
David Shrewsbury 22720d649c Merge pull request #1969 from rcarrillocruz/os_domain_facts
Add os_keystone_domain_facts module
9 years ago
Rene Moser 1d0df46475 cloudstack: cs_template: fix state=extracted
* url arg is optional but we enforced it
* url is in a required together, but args only relevant while registering
9 years ago
Rene Moser 0b9c8213ad cloudstack: fix doc, display_text not required 9 years ago
Rene Moser 2d78c23dc0 cloudstack: cs_template: fix cross_zones template removal 9 years ago
René Moser 31de43d306 Merge pull request #1952 from mscherer/fix_cloudstack
Do not leak passwords in case of error in cloudstack modules
9 years ago
Evgeni Golov 8db3a63983 fix handling of config options that share the same prefix
container_config:
      - "lxc.network.ipv4.gateway=auto"
      - "lxc.network.ipv4=192.0.2.1"

might try to override lxc.network.ipv4.gateway in the second entry as both
start with "lxc.network.ipv4".
use a regular expression to find a line that contains (optional) whitespace
and an = after the key.

Signed-off-by: Evgeni Golov <evgeni@golov.de>
9 years ago
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