Commit graph

6547 commits

Author SHA1 Message Date
Toshio Kuratomi
a5da6da2d6 Merge pull request #638 from jpic/fix/define-HAS_LXC
Define HAS_LXC even if import lxc doesn't fail.
2015-06-23 11:42:46 -07:00
Brian Coca
9c87bedb19 Merge pull request #639 from jpic/fix/lxc-option-parsing
Fixed lxc option parsing.
2015-06-23 13:48:41 -04:00
jpic
c4d2472148 Fixed lxc option parsing.
This fixes::

    Traceback (most recent call last):
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 3355, in <module>
        main()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1724, in main
        lxc_manage.run()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1605, in run
        action()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1145, in _started
        self._config()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 714, in _config
        _, _value = option_line.split('=')
    ValueError: too many values to unpack

With such a task::

    tasks:
    - lxc_container:
        name: buildbot-master
        container_config:
        - "lxc.mount.entry = {{ cwd }} srv/peopletest none defaults,bind,uid=0,create=dir 0 0"
2015-06-23 19:38:51 +02:00
jpic
d8063b913e Define HAS_LXC even if import lxc doesn't fail.
This fixes::

    Traceback (most recent call last):
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080800.61-38257321141340/lxc_container", line 3353, in <module>
        main()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080800.61-38257321141340/lxc_container", line 1712, in main
        if not HAS_LXC:
    NameError: global name 'HAS_LXC' is not defined
2015-06-23 19:36:43 +02:00
Greg DeKoenigsberg
786124dd60 Merge pull request #498 from loia/feature/aws_dynamodb
Add dynamodb_table module
2015-06-23 13:36:34 -04:00
Greg DeKoenigsberg
03bb12c90f Merge pull request #631 from Tatsh-ansible/usepkg-flags
Portage: --usepkg and --usepkgonly flags, --usepkgonly should not imply --getbinpkg
2015-06-23 13:35:27 -04:00
Greg DeKoenigsberg
526e2d30ea Merge pull request #419 from whenrik/devel
Adds Modules to manage IIS
2015-06-23 13:32:38 -04:00
Phil
03ce40a62e removes restart functionality, and added creates param for idempotency 2015-06-23 07:40:14 -05:00
Gerrit Germis
2612da50ad wait_interval default value did not match the documented value 2015-06-22 20:13:12 +02:00
Gerrit Germis
0ad12cdcf4 specify int parameter types for wait_interval and wait_retries 2015-06-22 20:09:54 +02:00
Phil
92744ef558 fixes typo 2015-06-22 08:55:41 -05:00
Alan Loi
1a914128f6 Fix aws connection to use params. 2015-06-22 20:23:11 +10:00
Greg DeKoenigsberg
44eb758dc7 Merge pull request #623 from AdmiralNemo/portage-fixes
Portage fixes for check mode
2015-06-21 23:59:20 -04:00
Greg DeKoenigsberg
de8ea8f451 Merge pull request #432 from eikef/devel
add zabbix proxy support to zabbix_host
2015-06-21 22:50:24 -04:00
Eike Frost
75e1e9fcda add zabbix proxy support to zabbix_host 2015-06-21 21:59:36 +02:00
Sebastien ROHAUT
44423e4a65 Update pam_limits.py
Add version 2.0
Remove default: from documentation for required values
use atomic_move from ansible module API
2015-06-21 18:52:59 +02:00
Alan Loi
ac09e60914 Add .py file extension to dynamodb_table module. 2015-06-21 08:40:57 +10:00
Alan Loi
011fef5f32 Added return value documentation to dynamodb_table module. 2015-06-20 21:34:27 +10:00
Alan Loi
268104fca3 Added check_mode support to dynamodb_table module. 2015-06-20 21:24:36 +10:00
Robert Buchholz
fc43c3a8fd patch: Add binary option that maps to --binary to handle CLRF patches 2015-06-20 09:00:30 +02:00
Christopher Troup
8c643498d3 Use state: present|absent rather than command: create|delete 2015-06-19 14:15:27 -04:00
Christopher Troup
86ae387fdc Update documentation to include usual fields
- Adds version_added
- Adds author
- Removed default: null from a required field
2015-06-19 14:15:27 -04:00
Christopher Troup
edc423a18a Add support for creating and deleting Route53 hosted zones
Supports both private (per-VPC) and public hosted zones.
2015-06-19 14:15:27 -04:00
Brian Coca
3f9e2fb4e6 Merge pull request #629 from bcoca/sensu_check_2.4
made sensu_check 2.4 friendly
2015-06-19 12:22:59 -04:00
Brian Coca
286bc3d9dc forgot finally 2.4 syntax 2015-06-19 12:13:43 -04:00
Brian Coca
eeb9d34812 also fixed exceptions 2015-06-19 12:10:14 -04:00
Toshio Kuratomi
dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 2015-06-19 09:07:04 -07:00
Brian Coca
1659af1541 made sensu_check 2.4 friendly 2015-06-19 12:05:50 -04:00
Toshio Kuratomi
4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
2015-06-19 09:01:08 -07:00
Brian Coca
8f31d84300 Merge pull request #203 from andsens/sensu-check
Add sensu_check module
2015-06-19 11:17:42 -04:00
Brian Coca
1604382538 monior docfixes
added extensino to vsphere_copy so it actually installs
2015-06-19 11:04:25 -04:00
Brian Coca
35a4e70dee minor fixes 2015-06-19 11:00:58 -04:00
Brian Coca
d1b1b2b6f3 Merge pull request #626 from amir343/devel
Implementation of EC2 AMI copy between regions
2015-06-19 10:59:49 -04:00
Brian Coca
be20038f7b Merge pull request #627 from resmo/feature/cs_facts
cloudstack: new module cs_facts
2015-06-19 09:44:04 -04:00
Greg DeKoenigsberg
c8295f518f Merge pull request #628 from dagwieers/patch-1
Spurious newline could corrupt payload
2015-06-19 09:29:59 -04:00
Andrew Udvare
e203087aaa Fix comparison 2015-06-19 06:04:56 -07:00
Dag Wieers
d0cf9617a5 Spurious newline could corrupt payload
Due to a spurious newline we corrupted the payload. It depends on the order of the headers and if there were headers added by vSphere.

The Accept header was also not needed.
2015-06-19 13:30:29 +02:00
Rene Moser
35b6bc417d cloudstack: new module cs_facts 2015-06-19 11:55:05 +02:00
Anders Ingemann
3f3a73da37 Add sensu_check module 2015-06-19 09:58:14 +02:00
Amir Moulavi
628f2b98b6 Implementation of EC2 AMI copy between regions 2015-06-19 09:12:08 +02:00
Brian Coca
e66e953f08 Merge pull request #410 from wimnat/feature/ec2_eni
Add ec2_eni module (aws network interfaces)
2015-06-19 01:34:36 -04:00
Greg DeKoenigsberg
352531930c Merge pull request #607 from wimnat/feature/ec2_vpc_igw
Feature/ec2 vpc igw
2015-06-18 23:30:02 -04:00
Greg DeKoenigsberg
0a22a3d708 Merge pull request #625 from willthames/aws_guidelines
Add GUIDELINES for AWS module development
2015-06-18 22:44:43 -04:00
Will Thames
6b8c462d66 Add GUIDELINES for AWS module development
Starting point for a reference when doing pull request reviews.
If something doesn't meet the guidelines we can point people
at them. If something is bad but is not mentioned in the
guidelines, we should add it here.
2015-06-19 12:40:56 +10:00
whiter
c93cf8c054 Changed to use "connect_to_aws" method 2015-06-19 12:14:57 +10:00
whiter
65f98d53af Updated documentation 2015-06-19 12:14:56 +10:00
Robert Estelle
3b38209afd ec2_vpc_subnet - Use dict constructor instead of comprehension. 2015-06-19 12:14:56 +10:00
Robert Estelle
e33de8bd88 ec2_vpc - More dry running in check mode. 2015-06-19 12:14:56 +10:00
Robert Estelle
0de9722e0c ec2_vpc_subnet - resource_tags is not required. 2015-06-19 12:14:56 +10:00
Robert Estelle
6f978b9c00 ec2_vpc - Fail module using fail_json on boto import failure. 2015-06-19 12:14:56 +10:00