Commit Graph

4779 Commits (cbef749bdc1f89f0e1e8f8085b00d872dc0d095d)
 

Author SHA1 Message Date
Michael DeHaan ea3e0f8386 Merge branch 'devel' of https://github.com/drewblas/ansible into devel 11 years ago
Michael DeHaan d3d1c8ce9a Merge pull request #6630 from bigl0af/devel
Modified library/system/user so that password change date is set on Sola...
11 years ago
Michael J. Schultz 9b53809bc1 Add Amazon SNS notification plugin
- Supports a default message or a special message for any of SNS's
protocols (email, sqs, sms, http, https)
  - http://docs.aws.amazon.com/sns/latest/dg/PublishTopic.html
11 years ago
Michael DeHaan 1e747e00e5 Merge pull request #6296 from jdauphant/devel
Add linux module parameters for the modprobe module
11 years ago
Cristian Ciupitu 7a4270184a Micro-optimization: replace s.find(x)==0 with s.startswith(x)
timeit shows a speedup of ~1.4x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
11 years ago
Cristian Ciupitu 368e3c8310 Micro-optimization: replace s.find(x)!=-1 with x in s
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
11 years ago
Matt Martz 187cb14911 Implement recommendations from #4864 11 years ago
Ahti Kitsik c757b6624f Fixed ufw module doc tags, it's reset everywhere, not reseted. 11 years ago
jjshoe a5794f5d8c Allow you to pass in arbitrary rsync options. I also added help for it, and what version it was added in. 11 years ago
Michael DeHaan 4d1d8870f5 Merge pull request #6707 from sivel/rax-extra-args
rax module: Support arbitrary extra args
11 years ago
Christopher H. Laco 4b996bc432 Add Rackspace Cloud Block Storage modules
- Add rax_cbs to create/delete cloud block storage volumes
- Add rax_cbs_attachments to attach/detach volumes from servers
11 years ago
James Cammarata edf6fe3431 Make async jid's unique per host
The jid will now also contain the PID of the async_wrapper process,
and can each unique jid from each host is tracked rather than just
relying on one global jid per task.

Fixes #5582
11 years ago
Matt Martz 88a91acfde Support arbitrary extra args in rax module
Add extra_create_args and extra_client_args to rax module to support passing
advanced configuration options to client instantiation and server create calls.
11 years ago
Jeff Geerling 177bf3eb20 Fixed template validation docs and example. 11 years ago
Hagai dbd18bfe3e Added wait_timeout option 11 years ago
Hagai e59f4fb85e ec2_snapshot: Add `wait' and `snapshot_tags' parameters, return more
info on success
11 years ago
jjshoe e62b38c250 Show argument dependency
failed: [192.168.1.2] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --delete-after --rsh 'ssh -i /home/jjshoe/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no' --rsync-path 'sudo rsync' --out-format='<<CHANGED>>%i %n%L' /tmp/app vagrant@192.168.1.2:/home/ubuntu/app", "failed": true, "item": "", "rc": 1}
msg: rsync: --delete does not work without --recursive (-r) or --dirs (-d).
rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9]
11 years ago
Alexander Winkler 81194f2bcc version_added for the new parameters documentation 11 years ago
James Cammarata 98c62f6b1c Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export 11 years ago
James Cammarata 68327fa172 Cleanup from merge of replace module and CHANGELOG update 11 years ago
James Cammarata 2c05e337cb Merge branch 'devel' of https://github.com/EvanK/ansible into EvanK-devel 11 years ago
Alexander Winkler cc5e37e5fd svr4pkg supports the -G switch for pkgadd 11 years ago
James Cammarata d6a2befb0d Merge branch 'file_fixes_agg' of https://github.com/bcoca/ansible into bcoca-file_fixes_agg 11 years ago
James Cammarata d77f1976a6 Revert "add yum module downgrade support"
This reverts commit cbd1da6457.
11 years ago
Robert Wehner 406317371b Update 'validate=' parameter documentation to make clear that the command
passed via this paramter is not passed via shell and so all shell features
will not work.
11 years ago
bryan hunt dff1fd3b37 Accept status code from a list of valid codes.
(cast the list of acceptable codes to a list of int )
11 years ago
bryan hunt eb9ac9308c Accept status code from a list of valid codes. 11 years ago
bryan hunt 5561fbc427 Accept status code from a list of valid codes. 11 years ago
Seth Woodworth 21b7c358ee adds missing `'` to debconf examples 11 years ago
Michael DeHaan 24b3f7c681 Merge pull request #6640 from falloutdurham/ec2_count
ec2: Adding type int for count (in line with other cloud modules)
11 years ago
Michael DeHaan 92a79c185b Merge pull request #6635 from pilou-/debconf
Fix ValueError when selection contains a colon
11 years ago
James Cammarata 6f38595ba2 Acclerate improvements
* Added capability to support multiple keys, so clients from different
  machines can connect to a single daemon instance
* Any activity on the daemon will cause the timeout to extend, so that the
  daemon must be idle for the full number of minutes before it will auto-
  shutdown
* Various other small fixes to remove some redundancy

Fixes #5171
11 years ago
Ian Pointer 5a5e16776f Adding type int for count (in line with other cloud modules) 11 years ago
Pierre-Louis Bonicoli 9a140881be Fix ValueError when selection contains a colon 11 years ago
Max Riveiro 0b3a70797a Add rollbar_deployment module
Signed-off-by: Max Riveiro <kavu13@gmail.com>
11 years ago
David Fox 01acd73e30 Modified library/system/user so that password change date is set on Solaris when updating password 11 years ago
Brent Langston 1886ef40f1 Make the default URI a constant 11 years ago
Brent Langston bf42535341 Allow custom hipchat urls 11 years ago
Colin Mattson 3b710005ad Clarify documentation for apt pkg, state, install_recommends 11 years ago
Michael DeHaan 1f25eb596f Fix documentation for twilio module. 11 years ago
willthames 7d24940d74 Allow state=absent for ec2_vol
Add methods to the module to make it more readable and allow reuse
11 years ago
Maykel Moya f967181318 ec2_group: Document group_desc rule param 11 years ago
willthames 0b87bbe839 Allow npm to install to a directory that doesn't yet exist
If path is specified but does not exist, create it.
Fail if path is specified but is not a directory
11 years ago
James Tanner 7c263fcdad Fixes #6590 add set_remote_user parameter to synchronize
This allows usage of custom ssh configs for remote hosts where
the inventory user does not match the configured user.
11 years ago
Michael DeHaan 595689a9ef Update documentation YAML syntax. 11 years ago
Maykel Moya fb1f1ab842 ec2_group: Add documentation for rules_egress 11 years ago
Maykel Moya a1b8fb88a1 ec2_group: rules are not a required task argument 11 years ago
Maykel Moya 8bd25ee1a4 ec2_group: Request a fresh group object after creation
When a group is created, an egress_rule ALLOW ALL to 0.0.0.0/0 is added
automatically but it's not reflected in the object returned by the AWS API
call. After creation we re-read the group for getting an updated object.
11 years ago
Maykel Moya ad0ca929b5 ec2_group: Auto create missing groups referenced in rules
Suppose a pair of groups, A and B, depending on each other. One solution
for breaking the circular dependency at playbook level:

    - declare group A without dependencies
    - declare group B depending on A
    - declare group A depending on B

This patch breaks the dependency at module level. Whenever a depended-on
group is missing it's first created. This approach requires only two tasks:

    - declare group A depending on B (group B will be auto created)
    - declare group B depending on A

When creating a group EC2 requires you to pass the group description. In
order to fullfil this, rules now accept the `group_desc` param. Note
that group description can't be changed once the group is created so
it's nice to keep descriptions in sync.

Concrete example:

- ec2_group:
    name: mysql-client
    description: MySQL Client
    rules_egress:
      - proto: tcp
        from_port: 3306
        to_port: 3306
        group_name: mysql-server
        group_desc: MySQL Server

- ec2_group:
    name: mysql-server
    description: MySQL Server
    rules:
      - proto: tcp
        from_port: 3306
        to_port: 3306
        group_name: mysql-client
11 years ago
Maykel Moya 3231034b6e ec2_group: Deduplicate rule parsing/validation code 11 years ago