Commit Graph

663 Commits (5128a11cdca479590605c52ee5dd4155e5de68ab)

Author SHA1 Message Date
Brian Coca d344a3fde3 more string corrections 2016-12-08 11:32:39 -05:00
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Brian Coca 6f28497f8c more minor docfixes 2016-12-08 11:32:39 -05:00
Kevin Carter 7a22f84ca4 Updated lxc module to remove the clone state
The clone state was removed in favor of making the module more
declarative. This change was done in response to review in PR #328
from @bcoca.

In the commit new examples were created on how this feature works.
2016-12-08 11:32:39 -05:00
Greg DeKoenigsberg 4e5e63ca02 Update virt.py 2016-12-08 11:32:38 -05:00
Greg DeKoenigsberg 16c6cff529 Update cs_securitygroup.py 2016-12-08 11:32:38 -05:00
Greg DeKoenigsberg 4c2295577a Update cs_instance.py 2016-12-08 11:32:38 -05:00
Kevin Carter 581877f242 Added overlayfs backend type to the lxc_container module
This commit adds the overlayfs type to the lxc_container module. In
Adding the overlayfs type the commit adds the ability to clone a
container. While cloning is not locked down to only the overlayfs
container backend it is of particular interest when using the overlayfs
backend as it provides for amazingly fast snapshots.

Changes to the resource types and documentation have been added on how
the new backend type can be used along with the clone operation.

This PR addresses a question asked on the original merged pull request
for overlayfs support which came from @fghaas on PR
"https://github.com/ansible/ansible-modules-extras/pull/123".

The overlayfs archive function is a first class function and will
allow for the containers to be backed-up using all methods which
brings support up to that of all other storage backends.
2016-12-08 11:32:38 -05:00
Ian Cordasco eb1411a826 Interpolate container name into error message
In the event failed to start, the container name was not being properly
interpolated into the error message.
2016-12-08 11:32:38 -05:00
Rene Moser ecbed16300 cloudstack: cs_securitygroup_rule: minor cleanup, DRY 2016-12-08 11:32:37 -05:00
Rene Moser bbafb7ff45 cloudstack: cs_securitygroup_rule: fix result was not always what expected 2016-12-08 11:32:37 -05:00
Rene Moser b4fb1fda86 cloudstack: cs_securitygroup_rule: type -> sg_type 2016-12-08 11:32:37 -05:00
Rene Moser 0127628408 cloudstack: cs_firewall: add results 2016-12-08 11:32:37 -05:00
Rene Moser 3dfb068bfd cloudstack: cs_firewall: add account and domain 2016-12-08 11:32:37 -05:00
Rene Moser f029d9dda7 cloudstack: add alias `port` in cs_firewall 2016-12-08 11:32:37 -05:00
Rene Moser 4d210048ee cloudstack: cs_instance: add domain and account 2016-12-08 11:32:37 -05:00
Rene Moser 67f954e35e cloudstack: cs_vmshapshot: add account and domain 2016-12-08 11:32:37 -05:00
Rene Moser 27753e54c2 cloudstack: cs_sshkeypair: add account and domain support 2016-12-08 11:32:37 -05:00
Rene Moser b8e5d81099 cloudstack: new cs_portforward module 2016-12-08 11:32:37 -05:00
Rene Moser ef277ddf0b cloudstack: add new module cs_account 2016-12-08 11:32:36 -05:00
Toshio Kuratomi 43687f1940 Update module documentation if modules have a dep on python2.6+ 2016-12-08 11:32:36 -05:00
Rene Moser d73aa9d428 cloudstack: new module cs_instancegroup 2016-12-08 11:32:36 -05:00
Rene Moser 36c74c5798 cloudstack: fix missing doc fragment in cs_securitygroup_rule 2016-12-08 11:32:35 -05:00
Rene Moser 89704a7e38 cloudstack: fix missing doc fragments 2016-12-08 11:32:35 -05:00
Rene Moser fdac186d85 cloudstack: fix misssing doc about vm param 2016-12-08 11:32:35 -05:00
Rene Moser b9b0c5c006 cloudstack: fix missing zone param used in get_vm() in utils 2016-12-08 11:32:35 -05:00
Rene Moser 5a2a5b16d5 cloudstack: add new module cs_instance
Manages instances and virtual machines
2016-12-08 11:32:35 -05:00
Toshio Kuratomi c90509dc9f doc formatting 2016-12-08 11:32:35 -05:00
Brian Coca 948c05ac5e moved new module to proper subdir fixed doc issues minor code adjustments 2016-12-08 11:32:34 -05:00
Joseph Callen 9da7c44a9b New VMware Module to support adding a datacenter 2016-12-08 11:32:34 -05:00
Rene Moser 955292704b cloudstack: add new module cs_vmsnapshot
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Rene Moser 7890c129db cloudstack: add new module cs_affinitygroup
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Rene Moser 57f5e46e99 cloudstack: add new module cs_securitygroup_rule
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Rene Moser 15f24f3021 cloudstack: add new module cs_securitygroup
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Rene Moser 8f0a2ce50d cloudstack: rename modules to more meaningful name schema 2016-12-08 11:32:33 -05:00
Brian Coca 346e34ac79 fixed doc issues with cloudstack_fw 2016-12-08 11:32:31 -05:00
Rene Moser 71a7df8f12 cloudstack_sshkey: cleanup docs 2016-12-08 11:32:31 -05:00
Rene Moser d4333080c4 cloudstack_ssh: replace ssh public key if fingerprints do not match 2016-12-08 11:32:31 -05:00
Rene Moser 4c35f75597 cloudstack_ssh: update description 2016-12-08 11:32:31 -05:00
Rene Moser 06cfffa35c cloudstack_ssh: register_ssh_key() set public_key as param 2016-12-08 11:32:31 -05:00
Rene Moser 1d0ce5c5ea cloudstack_ssh: fix missing projectid if state=absent 2016-12-08 11:32:31 -05:00
Rene Moser 742d581261 cloudstack: add new module cloudstack_sshkey
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:31 -05:00
Rene Moser a01cb6464e cloudstack: add new module cloudstack_iso 2016-12-08 11:32:31 -05:00
Rene Moser c12f841938 cloudstack: add new module cloudstack_fw 2016-12-08 11:32:31 -05:00
Brian Coca 0a30663a1e minor fix to method of finding home as previous could 'overmatch' 2016-12-08 11:32:31 -05:00
Kevin Carter 2ff3a8d35f Updated lxc_container module to fix option parsing
The option parsing object within the module was performing a split
on an '=' sign and assuming that there would only ever be one '='
in a user provided option. Sadly, the assumption is incorrect and
the list comprehension that is building the options list needs to
be set to split on the first occurrence of an '=' sign in a given
option string. This commit adds the required change to make it
possible for options to contain additional '=' signs and be handled
correctly.
2016-12-08 11:32:31 -05:00
Brian Coca 8d086a2444 removed requirements which was causing crash with dupe from shared doc fragments 2016-12-08 11:32:30 -05:00
Brian Coca d32dca116b moved cloudtrail to amazon subdir 2016-12-08 11:32:30 -05:00
tedder 20e0afcac8 Handful of changes after bcoca's code review:
* update expected inclusion version
* fix consistency on enabled/absent (now enabled/disabled)
* safely import boto per now style of single-exit and proper JSON
* use new `required_together` module style
2016-12-08 11:32:30 -05:00
tedder bb1bc0fe4f add cloudtrail module
Cloudtrail is the AWS auditing configuration. It's fairly simple, but also very important to configuration management/devops/security to ensure it remains enabled. That's why I created it as a module.
2016-12-08 11:32:30 -05:00
Brian Coca bad5666c9e added missing __init__.py 2016-12-08 11:32:28 -05:00
Brian Coca a7e20b4110 updated lxc-containter docs to reflect new name 2016-12-08 11:32:27 -05:00
Maciej Delmanowski 89179ed267 Rename 'lxc-container' module to 'lxc_container'
This is done to keep the convention of naming modules with underscores
instead of hypens.
2016-12-08 11:32:27 -05:00
Kevin Carter 798f89c2e5 Updated volume create methods for a more consistent process
The volume create methods were making an assumption on the unit
sizes being presented by the `vgdisplay` and the `lvdisplay`
commands. To correct the assumption the commands will now enforce
a unit size of "g" which will alway convert sives to gigabytes.
This was an issue brought up by @hughsaunders.
2016-12-08 11:32:26 -05:00
Kevin Carter e5b0c1ced5 Added new module to support LXC containers
The new module will allow users to control LXC containers from ansible.
The module was built for use in LXC >= 1.0 or greater and implements most
of what can be done using the various lxc clients with regards to running
containers. This first module is geared only at managing lxc containers.

The module provides:
  build containers
  destroy containers
  archive containers
  info from a single container
  start / stop / restart containers
  run commands within containers
  add/modify lxc config for a container
  supports backends including LVM
2016-12-08 11:32:26 -05:00
Peter Tan e12f05ad48 Do not check for the image before calling gce.ex_create_image() or gce.ex_delete_image(), instead catching the ResourceExistsError or ResourceNotFoundError respectively. 2016-12-08 11:32:24 -05:00
Peter Tan 35a4212b5f Address review comments from @sivel and @erjohnso 2016-12-08 11:32:24 -05:00
Peter Tan 42fbeda997 Add gce_img module for utilizing GCE image resources 2016-12-08 11:32:24 -05:00
Michael DeHaan cf622a7299 Categorize some modules. 2016-12-08 11:32:19 -05:00
Sergei Antipov e60d6e413a Added missed importing 2016-12-08 11:32:19 -05:00
Michael DeHaan 7ba58f93a0 package files 2016-12-08 11:32:18 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00
James Cammarata d4b117843a Copying snapshot of extras modules 2016-12-08 11:32:07 -05:00