Commit Graph

4257 Commits (6708ea887a7e9a6bfdd4ba9e8211a99aa1348432)

Author SHA1 Message Date
Michael DeHaan 2518ec2b86 Merge pull request #6849 from atlashealth/ec2_snapshot_fixed_type_issue
ec2_snapshot: fix for "unknown type number requested for wait_timeout"
11 years ago
Michael DeHaan b4c500634d Merge pull request #6793 from muffl0n/patch-4
apt_key: Output URL for debugging
11 years ago
Michael DeHaan 051d57caeb Clarify free_form isn't a real option :) 11 years ago
Richard C Isaacson dc93b31d22 assemble module: fix insertion of newlines when not needed.
This builds on GH-6359 and changes the logic so that a newline is only inserted between fragments if the previous fragment does not end with a newline.
11 years ago
Peter Gehres 3ac731087c Fix for #6353 adding a newline between assembled files 11 years ago
Matt Martz 37f096a6bb rax modules improvements
* Catch issues with invalid regions
* Ensure we send string only data as meta values in the rax module
* Add public_key/lookup example for rax_keypair
* Clean up import statements
11 years ago
Michael DeHaan 1fa19e29e8 Use common file argument system previously implemented by @sivel for rax modules on the file modules as well (copy/file/template).
Application to other cloud providers would make very good sense.
11 years ago
Matt Martz 7b5f89ec7c Use PluginLoader for module docs fragments 11 years ago
Matt Martz bb6f7a267a Add support for shared module documentation fragments 11 years ago
Atlas Health 2657bbcefa ec2: added ability to set EBS optimized instances
added version
11 years ago
James Tanner 1c9950678a Addresses #6750 Use --help instead of - 11 years ago
Atlas Health 7321e23b31 fixed error related to type being defined as a number 11 years ago
James Tanner cca028187e Fixes #6750 Check git subcommand for --remote and expose errors 11 years ago
James Tanner b660062801 Fixes #6454 verify ec2 key fingerprints 11 years ago
Gael Pasgrimaud 1fc4b89e64 Fix a typo in the subversion module documentation 11 years ago
Michael DeHaan 2fd6d16f99 Merge pull request #6831 from aresch/patch-1
Fix _parse_value always returning 0 when not true, false or None.
11 years ago
Michael DeHaan 7db7e86db9 Merge pull request #6830 from angstwad/cf-fix
rax_files fix -- small idempotency fix
11 years ago
Paul Durivage 3763b32f86 Fix issue where a container is created but is not indicating that the state was changed 11 years ago
Andrew Resch cd12d8a917 Fix _parse_value always returning 0 when not true, false or None. 11 years ago
Joshua Lund 79c245f31f Update cron module documentation. The 'name' parameter is required. 11 years ago
Michael DeHaan 90c137dea3 Slightly revise wording. 11 years ago
Michael DeHaan dff5368e43 Merge branch 'authorized_key-manage_dir' of git://github.com/tyll/ansible into devel 11 years ago
Michael DeHaan a4bce09ad1 Clarify docs message. 11 years ago
Michael DeHaan 19437aad0b Merge pull request #6798 from follower/patch-5
Clarify the port value always defaults to 3306
11 years ago
Michael DeHaan 18b713fd74 Example cleanup. 11 years ago
Michael DeHaan 5269216c41 Merge branch 'patch-3' of git://github.com/muffl0n/ansible into devel 11 years ago
Michael DeHaan 0981e405d6 Merge pull request #6810 from bob-smith/debconf-text
debconf detail requirements and fix typos
11 years ago
Michael DeHaan 0125f36c49 Merge pull request #6796 from mistaka0s/mysqldump_fix
Remove extra quote from the mysqldump password argument
11 years ago
Michael DeHaan 12022233f4 Merge pull request #6770 from lemonlatte/fix_default_uri_of_get_xml
Fix the default url of get_xml function.
11 years ago
Michael DeHaan 3ba01cac3c Note that keyserver was added in 1.6 11 years ago
James Cammarata eb15d2f6fe Fix issue with sysctl parameter parsing introduced by 0e8c7b1
Fixes #6806
11 years ago
Michael DeHaan 71061479a0 Merge pull request #6826 from bob-smith/debconf-parsing
debconf correctly quote strings
11 years ago
James Cammarata 684d46b170 Fixing some parsing issues in authorized_key module
Also adds an integration test for authorized_key for future validation.

Fixes #6700
11 years ago
John Barker b8efbb1cb3 debconf correctly quote strings 11 years ago
Michael DeHaan f50a943064 Merge pull request #6803 from aresch/patch-1
redhat_subscription calls AnsibleModule() without argument_spec
11 years ago
Oleg A. Mamontov 933fb349f1 Fixed cwd for submodules update 11 years ago
James Cammarata ba4838cde5 Adding wait/wait_timeout parameters to the ec2_key module
Fixes #6455
11 years ago
John Barker f89262c74f debconf detail requirements and fix typos 11 years ago
jctanner 6a1dcca4be Merge pull request #6805 from sivel/env-interpreter-fix
Fix interpreter lines in a couple of modules
11 years ago
Matt Martz b4de76373a Use /usr/bin/python instead of /usr/bin/env python 11 years ago
Andrew Resch c92ec68fa3 redhat_subscription calls AnsibleModule() without argument_spec
The Rhsm object requires an AnsibleModule but it isn't created with an argument_spec and fails.  Since the rhn.module is set directly after, setting None for the required argument of Rhsm fixes the module.
11 years ago
follower 4be010b09b Clarify the port value always defaults to 3306
While the [boto docs](https://github.com/boto/boto/blob/develop/boto/rds/__init__.py#L253) make it seem like the default value of `port` is changed depending on the engine chosen, AFAICT from looking at the code the default value is never changed from 3306.

I think the docs are intended to be read as "the default value used by <engine> is <port> so you should change `port` to that value".

If you don't specify the port value and chose the database engine as PostgreSQL you'll end up with a PostgreSQL instance running on port 3306.
11 years ago
Chao Luan 134c449cf6 Remove extra quote from the mysqldump password argument
The mysqldb Ansible module will fail if the state specified is import or dump with a '1045: Access Denied' mysql error for complex passwords.

This is caused by the extra quote around the '--password' argument to mysqldump, as pipes.quotes already quotes the password string.

>>> "--password='%s'" % pipes.quote('simple')
"--password='simple'"

>>> "--password='%s'" % pipes.quote('c0mplexp@ssword!')
"--password=''c0mplexp@ssword!''"

>>> "--password='%s'" % pipes.quote('password with space')
"--password=''password with space''"
11 years ago
jjshoe 2387f044e4 module_retention isn't defined anywhere, including the help. 11 years ago
follower 618554ad63 Make `vpc_security_group` docs more accurate
Without the `subnet` parameter supplied there's an error `msg: Parameter vpc_security_groups invalid for create command`. (This might be a bug?)

If the VPC security group name rather than ID is supplied there's an error: `msg: Invalid security group , groupId= <some group name>, groupName=.` (Accepting a group name might be a feature enhancement.)

In my case I set the subnet as `default` and used `register` to get the result of the security group creation section and just referred to its `group_id` property.
11 years ago
Sven Schliesing c8e80b2aa4 Output URL for debugging 11 years ago
James Tanner c751168895 Fix merge conflicts 11 years ago
James Tanner 9fe2bcd076 Merge #5903 from rhaido/ansible
Update files documentation for usage of force=True and hardlinks
11 years ago
Michael DeHaan 9ca9b9fe07 Merge pull request #6768 from mscherer/fix_typo_caps
fix typo in the capabilities module description
11 years ago
Sven Schliesing fb10ca73dc Update uri 11 years ago
Sven Schliesing d6943e46ef Example for queueing build in Jenkins 11 years ago
James Cammarata 225eca6311 Adding an options sections to the docstring in the lldp module 11 years ago
Jim Yeh 48dc27ea74 Fix the default url of get_xml function.
* This enable a user to configure uri in get_xml function
11 years ago
James Tanner 6792c76c50 Fix librato_annotation docstring 11 years ago
Michael Scherer 2dc3153330 fix typo in the capabilities module description 11 years ago
Matt Way 034ac93ca2 don't parse empty stream chunks 11 years ago
James Laska f96618c967 Use proper YAML quotes to fix webdocs 11 years ago
Michael DeHaan 2f75662a47 Merge pull request #6758 from cgtx/devel
backreferences should be double escaped
11 years ago
James Cammarata 1b3f77fafd Merge pull request #6759 from Malvineous/devel
More descriptive error message if init system is unknown
11 years ago
James Cammarata 6e809c2be3 Removing wait loop around initial state check during registration
Also fixed a bug in which the state parameter was marked as a 'bool'
type, which was breaking execution of the module.

Fixes #6543
11 years ago
Adam Nielsen 1a9c5947ed More descriptive error message if init system is unknown 11 years ago
James Laska 6c8d8a746f Fix YAML docstring that broke webdocs 11 years ago
cgtx f6abc17e8a backreferences should be double escaped 11 years ago
Ahti Kitsik e0f3105ef9 Bugfix for ufw to support "logging" properly:
It's a separate parameter so updated docs and set it as mutually exclusive param.
Also due to an array construction typo it was not working in any situation (ufw LOGLEVEL was passed to cmd instead of ufw logging LOGLEVEL).

Also fixed doc and parameters parsing typo ("choises" should be "choices")
11 years ago
Daniel Jaouen 7f6d2a94af Miscellaneous fixes to homebrew module. 11 years ago
Daniel Jaouen 6412bdf003 Update homebrew module. 11 years ago
Michael DeHaan 4dc598049e Merge pull request #6746 from Jmainguy/svr4pkg
svr4pkg changes - Did my best to rebase. Now includes the latest changes made to devel, al...
11 years ago
Michael DeHaan 6c6523aa1b Merge pull request #6747 from ciupicri/cloud-bugfix
Bugfix for gc_storage and s3
11 years ago
Michael DeHaan c308b98742 Merge branch 'intellectronica/non-recursive-git' of git://github.com/intellectronica/ansible into devel
Conflicts:
	library/source_control/git
11 years ago
Michael DeHaan ae1b183855 Add LLDP module 11 years ago
Andy Hill 5b5f2e6d45 lldp: Added EXAMPLES 11 years ago
Andy Hill 8ca70ec487 lldp support in Ansible
This PR introduces support for a lldp module.

lldpd is similar to CDP and can return useful details about a server's network like ports, switches, and VLANs.
11 years ago
Michael DeHaan c24d4acb2a Documentation fixes + add missing license header 11 years ago
Seth Edwards cb97599a97 add librato annotation module 11 years ago
Michael DeHaan 2d116aca5e Add version_added info + changelog 11 years ago
Christian Berendt 9a1c1d3242 use module.get_bin_path() for a2enmod 11 years ago
Christian Berendt b8a8e9fbec removed duplicated <<INCLUDE_ANSIBLE_MODULE_COMMON>> line 11 years ago
Christian Berendt c958c301ae added module to enable/disable Apache2 modules
This module uses a2enmod or a2dismod to enable or disable
Apache2 modules.
11 years ago
Michael DeHaan cc6d4bc3f0 changelog and version bump 11 years ago
Michael DeHaan bba91c7f26 Merge branch 'add_rollbar_rollbar_deployment_module' of git://github.com/kavu/ansible into devel 11 years ago
Michael DeHaan 372c4e6d31 Changelog and version updates. 11 years ago
Michael DeHaan 9e07ff79d7 Merge branch 'layman' of git://github.com/jirutka/ansible into devel 11 years ago
Cristian Ciupitu d89d2432fd Bugfix for gc_storage and s3
Make keysum return None if not key_check (this case wasn't covered).
11 years ago
Jonathan Mainguy bef544dd0f Did my best to rebase. Now includes the latest changes made to devel, along with my change of adding category option to module 11 years ago
Michael DeHaan e6ab2d83b8 Merge pull request #6081 from alexanderpopov1/ec2_vpc-subnet-tagging
Added support for tagging subnets in ec2_vpc module
11 years ago
Michael DeHaan 9190ddfcda Documentation updates / changelog. 11 years ago
Michael DeHaan 1f4e082c9d Merge branch 'added-logentries-module' of git://github.com/ivanvanderbyl/ansible into devel 11 years ago
Michael DeHaan 8baaf458c7 Repairs for documentation build. 11 years ago
Michael DeHaan e02ae3476f Resolve merge. 11 years ago
Michael DeHaan c1fbf80f70 Slight docs tweak, split lines according to code standards 11 years ago
Andrea.Mandolo 838b914a0d correct documentation comment and version_added in "synchronize" module 11 years ago
Andrea.Mandolo c039dbe300 Add STDOUT lines in response of "synchronize" module 11 years ago
Andrea.Mandolo f9ec53cdef Add "checksum" option support to 'synchronize' module 11 years ago
Michael DeHaan 5b5ab78183 Add version_added to docs. 11 years ago
Michael DeHaan 53ee1ea27c Merge branch 'aws-ec2-egress-rules' of git://github.com/mmoya/ansible into devel 11 years ago
Michael DeHaan e05c86bb94 Merge pull request #6740 from mjschultz/add-sns-notification
Add Amazon SNS notification plugin
11 years ago
Michael DeHaan dfbe35d4be Rename apt-rpm to apt_rpm. 11 years ago
Michael DeHaan 535b2ba64c Merge branch 'apt-rpm' of git://github.com/evgkrsk/ansible into devel 11 years ago
Michael DeHaan e79171cbfb Merge branch 'devel' of git://github.com/leafnode/ansible into devel
Conflicts:
	library/packaging/apt_key
11 years ago
Alex Coomans 2de398b417 Allow setting env variables over .dnsimple file 11 years ago
Alex Coomans a4372eafaa Add the dnsimple module 11 years ago
Michael DeHaan 5f14b6e637 Rename prerelease to pre_release. 11 years ago
Bob Zoller e1a1ac1e76 gem module supports prerelease (--pre) 11 years ago
Michael DeHaan 78e5f6129f Documentation updates for supervisor module changes. 11 years ago
Michael DeHaan b915390ec8 Merge branch 'supervisorctl-support-group' of git://github.com/inetfuture/ansible into devel 11 years ago
addshore 11895fa437 Add --remote to git submodule_update
This simply adds --remote to the git submodule update command.
This means that if a branch is defined in .gitmodules then we should track said branch when updating.
11 years ago
Michael DeHaan 7f7297f9ca Rename vgoptions to vg_options. 11 years ago
Michael DeHaan b4bbdb2438 Merge branch 'devel' of git://github.com/chamill/ansible into devel
Conflicts:
	library/system/lvg
11 years ago
Michael DeHaan 8285ac5b31 Merge branch 'ec2_vpc-multiple-vpcs-support' of git://github.com/alexanderpopov1/ansible into devel
Conflicts:
	library/cloud/ec2_vpc
11 years ago
Michael DeHaan 53d03dc968 Merge branch 't-apt-list' of git://github.com/Elemecca/ansible into devel 11 years ago
Michael J. Schultz c8a810df78 Add some failure handling for `region` and `publish` 11 years ago
Michael DeHaan 7db784687d Merge pull request #6486 from discordianfish/docker-module-add-running
Rename present to running, add new present state
11 years ago
Michael DeHaan 351aea4cb6 Merge pull request #6626 from brentley/devel
Allow custom hipchat urls
11 years ago
Michael DeHaan 8e27992335 Merge pull request #6649 from picsolvebryan/devel
Accept status code from a list of valid codes.
11 years ago
Michael DeHaan 09259cbd77 Merge pull request #6671 from dermute/svr4pkg-G
svr4pkg supports the -G switch for pkgadd
11 years ago
Michael DeHaan 0e8c7b1c03 Scrub choices=BOOLEANS from remaining core module references. Correct form in argument_spec is type='dict'. 11 years ago
Michael DeHaan 3312099e70 Merge branch 'ec2_snapshot' of git://github.com/hkariti/ansible into devel 11 years ago
Michael DeHaan 7519e33787 Merge pull request #6730 from sivel/rax-cbs-new
New modules: rax_cbs and rax_cbs_attachments
11 years ago
Michael DeHaan 344bbf3eea Merge pull request #6419 from willthames/aws-autoscaling-with-token-and-profile
Improvements to ec2 autoscaling modules
11 years ago
Michael DeHaan e21f61d604 Merge pull request #6616 from willthames/ec2_vol_allow_delete
Allow state=absent for ec2_vol
11 years ago
Michael DeHaan 37efa1640f Merge branch 'update_docs_validate_cmd_not_passed_via_shell' of git://github.com/rwehner/ansible into devel
Conflicts:
	library/files/template
11 years ago
Joshua Conner 7a6c60b437 docker: use type instead of manually casting strings to lists 11 years ago
Joshua Conner 7bba229838 docker bugfixes: trim whitespace around list param elements, handle list params being coerced to int or long type 11 years ago
Michael DeHaan 2ddb251538 Merge pull request #6597 from tarka/handle-uncreated-symlink-tmpfile
Handle missing symlink tempfile
11 years ago
Michael DeHaan 0bec29a626 Merge pull request #6524 from tyll/update_rc_d_disable
service module: Properly disable Debian services
11 years ago
Michael DeHaan 2a656b2cf4 Merge branch 'devel' of https://github.com/drewblas/ansible into devel 11 years ago
Michael DeHaan df3bb70797 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 9fbef265bf 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 3b285d736c Merge pull request #6296 from jdauphant/devel
Add linux module parameters for the modprobe module
11 years ago
Cristian Ciupitu 96ff1444f0 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 1eaf85b89f 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 bb86443528 Implement recommendations from #4864 11 years ago
Ahti Kitsik 4d55f86f95 Fixed ufw module doc tags, it's reset everywhere, not reseted. 11 years ago
jjshoe d57910b93a 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 cf434df6a4 Merge pull request #6707 from sivel/rax-extra-args
rax module: Support arbitrary extra args
11 years ago
Christopher H. Laco 972a27b14e 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 e09313120c 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 e093b216ff 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 8960cba4a3 Fixed template validation docs and example. 11 years ago
Hagai 436b59252c Added wait_timeout option 11 years ago
Hagai c900254ed0 ec2_snapshot: Add `wait' and `snapshot_tags' parameters, return more
info on success
11 years ago
jjshoe 12c84dd6bd 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 69e09b048c version_added for the new parameters documentation 11 years ago
James Cammarata 19c92b3a42 Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export 11 years ago
James Cammarata f2c06cadc3 Cleanup from merge of replace module and CHANGELOG update 11 years ago
James Cammarata 9775872f83 Merge branch 'devel' of https://github.com/EvanK/ansible into EvanK-devel 11 years ago
Alexander Winkler 03040a97c8 svr4pkg supports the -G switch for pkgadd 11 years ago
James Cammarata d545b73ccb Merge branch 'file_fixes_agg' of https://github.com/bcoca/ansible into bcoca-file_fixes_agg 11 years ago
James Cammarata a4af31e511 Revert "add yum module downgrade support"
This reverts commit cbd1da6457.
11 years ago
Robert Wehner 8a19d31391 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 aa2d6e47f0 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 9ff6c40ed0 Accept status code from a list of valid codes. 11 years ago
bryan hunt 5d51837921 Accept status code from a list of valid codes. 11 years ago
Seth Woodworth c28d3545fb adds missing `'` to debconf examples 11 years ago
Michael DeHaan 503327d53c 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 ebc9ca9504 Merge pull request #6635 from pilou-/debconf
Fix ValueError when selection contains a colon
11 years ago
James Cammarata 3ea5d573aa 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 bebb11afeb Adding type int for count (in line with other cloud modules) 11 years ago
Pierre-Louis Bonicoli 1bb5b0f6bd Fix ValueError when selection contains a colon 11 years ago
Max Riveiro 9114fd6d7a
Add rollbar_deployment module
Signed-off-by: Max Riveiro <kavu13@gmail.com>
11 years ago
David Fox 6b0ef5f10e Modified library/system/user so that password change date is set on Solaris when updating password 11 years ago
Brent Langston ca14df4790 Make the default URI a constant 11 years ago
Brent Langston 712e114dff Allow custom hipchat urls 11 years ago
Colin Mattson 3e6bf9640c Clarify documentation for apt pkg, state, install_recommends 11 years ago
Michael DeHaan 50aa3f6a09 Fix documentation for twilio module. 11 years ago
willthames c0ac615a07 Allow state=absent for ec2_vol
Add methods to the module to make it more readable and allow reuse
11 years ago
Maykel Moya 6a92d48b0f ec2_group: Document group_desc rule param 11 years ago
willthames 7272877df6 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 ea5186ca63 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 c729bf209c Update documentation YAML syntax. 11 years ago
Maykel Moya a429ff26dc ec2_group: Add documentation for rules_egress 11 years ago
Maykel Moya b642e39e67 ec2_group: rules are not a required task argument 11 years ago
Maykel Moya 3156df9931 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 649fcd3e1c 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 77d7165dde ec2_group: Deduplicate rule parsing/validation code 11 years ago
Maykel Moya f97243d6ed ec2_group: Add support for handling egress rules 11 years ago
jjshoe 1f980b6880 assign_public_ip was actually added in 1.5
Checked 1.4.5 and this option doesn't exist. Will check/update/pull docs next.
11 years ago
Oleg Bulatov 3edd3862df Respect region_name in nova_compute
Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
11 years ago
Steve Smith e157355fd6 Only unlink the symlink tempfile on error if it was created in the
previous operation.
11 years ago
Michael DeHaan 2156e87e62 Update cpanm 11 years ago
Brian Coca 1b38bd8a40 fixed issue with tmp file (path can include filename) and added missing
else which made it try to link x2
11 years ago
Brian Coca 6e6ad97239 now correctly checks absolute path for src= existance for links
also updated docs to be a bit clearer on symlink behaviour
11 years ago
Till Maas c21fa8ebee service module: Properly disable Debian services
Services on Debian need to be disabled with 'disable' instead of 'remove'
to avoid them being enabled again when 'update-rc.d $service defaults' is run,
e.g. as part of a postinst script.
11 years ago
Till Maas 65deb7f50f authorized_key: Be more specific about manage_dir
- Explain which properties are managed when manage_dir is True.
11 years ago
Michael DeHaan 991399edf0 Update comments about redis config. 11 years ago
Michael DeHaan b0639b16cf Merge branch 'devel' of git://github.com/mleventi/ansible into devel 11 years ago
Michael DeHaan a8514dacc3 Add capabilities module. 11 years ago
nate@bx.psu.edu 97db1676e0 Bugfix for xattrless files and the capabilities module. 11 years ago
nate@bx.psu.edu f26ebff438 Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8). 11 years ago
Michael DeHaan 266123e521 Merge pull request #6549 from mattjbray/docker-tty-stdin_open-params
docker: add tty and stdin_open options
11 years ago
Michael DeHaan a5bdf621cf add notes about new AWS modules. 11 years ago
Michael DeHaan 5a5a9574e6 Merge pull request #6540 from Zeekin/devel
Add cloud modules ec2_scaling_policy and ec2_metricalarm
11 years ago
Michael DeHaan b1fe7ee24a Add notes about new notification module. 11 years ago
Michael DeHaan 3d7bf1e52a Merge branch 'devel' of git://github.com/tksmd/ansible into devel 11 years ago
Michael DeHaan 54635cb59f Add note about IRC library default change. 11 years ago
Michael DeHaan 8fb5e2c657 Merge pull request #5443 from nirvinehh/devel
irc module: Make default irc color none; add color none
11 years ago
James Tanner 5f428041db Fixes #6582 Re-add regex to ignore untracked files that were never tracked 11 years ago
James Cammarata efcf93f280 Merge pull request #6571 from bcoca/file_fixes_copydir
fixed issue with directory permissions on copy
11 years ago
James Tanner 67517e96d3 Fixes #6567 put the git wrapper script in the module temp dir 11 years ago
Brian Coca f6a75ebaf1 fixed issue with directory permissions on copy #6552 11 years ago
James Tanner 324a943e12 Fixes #6548 correct issues from rhn_register refactoring 11 years ago
Michael DeHaan 8899c74aaf Merge pull request #6565 from fabianfreyer/devel
Fixed bug that occurred when pkgsite not specified
11 years ago
Michael DeHaan 9cf75ed3a6 Merge pull request #6564 from joehack3r/devel
Update example to include delete on termination
11 years ago
Michael DeHaan c7b683e26e Merge pull request #6561 from patrickheeney/slack-url-fix
Fix domain name in slack module
11 years ago
Fabian Freyer 17fcc89b3b Fixed bug that occurred when pkgsite not specified 11 years ago
joehack3r 815115f792 Update example to include delete on termination 11 years ago
James Tanner f6a02d9b2c Merge pull request #6220 from trevorah/ansible.git
apt_repository: autoinstall python-apt if not available
11 years ago
patrickheeney f594e8b6f0 Fix domain name in slack module 11 years ago
James Cammarata acdb75da92 Merge branch 'threatgrid-issues/6341' into devel 11 years ago
Michael DeHaan 416d6becd9 Merge pull request #6544 from ramondelafuente/feature/notification-slack
A module for notifications through the Slack.com platform
11 years ago
Michael DeHaan d8254c14d4 Merge pull request #6556 from andreaskern/patch-1
add param to note example for ssh-keyscan
11 years ago
James Cammarata 0556c53f78 Execute commands through accelerate with shell when needed
This fixes an issue related to the new run_command changes, whereby
Popen fails to run a command when an executable is specified + shell=False
and there are multiple positional arguments (see Popen docs for details)
11 years ago
Michael DeHaan d686a23b69 Merge pull request #6554 from vyrak/keep-head-state
homebrew: state=head includes --HEAD
11 years ago
andreaskern a57581e1e7 add param to note example for ssh-keyscan
hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent
11 years ago
James Cammarata bc38bfe61b Merge branch 'issues/6341' of https://github.com/threatgrid/ansible into threatgrid-issues/6341 11 years ago
James Tanner cf0a0ca3d2 Fixes #6519 Properly handle state=absent in sysctl module 11 years ago
Matt Bray 79b3efc989 docker: add tty and stdin_open options
Useful for development environments.  Setting these options to true
allows you to `docker attach` to a docker container started with
ansible.
11 years ago
Ramon de la Fuente f51872885c mandatory silly mistake 11 years ago
Ramon de la Fuente b4cd4ad15b A module for notifications through the Slack.com platform
This module can send messages through Slack.com, and supports all options
available in the "incoming webhook integration".

- text
- channel
- username
- icon_url / icon_emoji
- link_names
- parse
11 years ago
Zeekin 5e8641b834 Added AWS modules ec2_scaling_policy and ec2_metricalarm for configuring scaling policies for autoscaling groups, and metric alarms. 11 years ago
vyrak bunleang f5289deee7 prevent state from changing from head to installed
allows for --HEAD to be included in brew install command
11 years ago
Michael DeHaan 23990b94c9 Merge pull request #6529 from sivel/apt-repository-no-pycurl
Remove dependency on pycurl in apt_repository
11 years ago
James Cammarata 5d8c9d3f0f Merge branch 'file_fixes_clean' of https://github.com/bcoca/ansible into bcoca-file_fixes_clean 11 years ago
Matt Martz 7af8a33def remove dependency on pycurl from apt_repository by using module_utils/urls.py instead 11 years ago
Michael DeHaan caa0b02962 Update formatting in module example. 11 years ago
Zeekin dae519b723 Improvements to ec2 autoscaling modules
* Added desired_capacity and vpc_zone_identifier to ec2_asg
* Use ec2_argument_spec() method and then remove unnecessary
  declarations from argument_spec
* Remove AWS_REGIONS declaration
* Rename block_device_mappings to volumes to be consistent with ec2
* Remove all pep8 warnings except line length and continuation indent
* Use updated module_utils/ec2.py to add profile and security_token
  support
* Remove mandatory arguments for delete to make launchconfig deletion
  work
* Handle existing launch configurations better
* Improve output information
* Improve documentation
11 years ago
Jonathan Dray 0981488df7 fix: bug in apt when python-apt is not present apt-get was not called due to unsafe call 11 years ago
Michael DeHaan 47aff528b9 Amend wait_for docs to reference version of feature addition. 11 years ago
Michael DeHaan de57057cae Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel 11 years ago
Michael DeHaan b471d84e52 Version bump for alternatives module, changelog. 11 years ago
Gabe Mulley 1cae0a6801 add a module for update-alternatives 11 years ago
Michael DeHaan aaaf9dbc43 Merge pull request #5597 from laggyluke/mongodb_user_idempotence
Fix idempotence in mongodb_user module
11 years ago
Michael DeHaan e4fcc434d1 Version bump, bigip_facts + changelog 11 years ago
Michael DeHaan 51f90c1712 Bump twilio module version_added, changelog. 11 years ago
Matthew Makai 2215111ec5 adding twilio module for sending text notifications in build process 11 years ago
Matthew Makai 8420211aee new module to send text message notifications 11 years ago
Matt Hite 42d6fc2b54 New bigip_facts module 11 years ago
Michael DeHaan 69d26d507b Merge pull request #5758 from drawks/devel
Correct sleep calls
11 years ago
Michael DeHaan 16ca4c2195 Update version_added 11 years ago
Drew Stokes 5aba903dcf add registry option to npm module 11 years ago
Michael DeHaan 0bc3cec1c8 Merge pull request #6062 from jpmens/mqttpaho
module update: mqtt notification now uses Paho as mosquitto.py being deprecated
11 years ago
Michael DeHaan 11dd81c724 Merge pull request #6069 from danieljaouen/homebrew_class
Update homebrew module.
11 years ago
Michael DeHaan 855ccb62c0 Update cask version, changelog. 11 years ago
Michael DeHaan 03f93e0f79 Merge branch 'homebrew_cask' of git://github.com/danieljaouen/ansible into devel 11 years ago
Michael DeHaan 1a90890fd0 Update tap version, changelog 11 years ago
Daniel Jaouen e7787607d0 Add homebrew_tap module. 11 years ago
Michael DeHaan 9cc5ae6f2f Merge pull request #6120 from lalinsky/apt_repository_pycurl_non_ppa
Don't require pycurl in apt_repository when it's not actually needed
11 years ago
Michael DeHaan f700da8249 Bump version_added field on composer module. 11 years ago
Michael DeHaan b0dbc61d63 Move facts to 'module_utils' so they can be referenced by other modules. Note unlike other module_utils/ dirs this keeps the original
license -- so usage of facts code in modules will be limited to GPLv3 modules.
11 years ago
dmtrs 0e06e8bb7f Add module composer (php dependency manager) 11 years ago
Michael DeHaan d3e989435b Merge pull request #6405 from fabianfreyer/devel
Add support for new pkgng repository format and annotations
11 years ago
Michael DeHaan 8116fecf5d Merge pull request #6512 from tarka/jira-module-pr
Add a JIRA control module for Ansible.
11 years ago
Michael DeHaan 33a1f65565 Merge pull request #6375 from sivel/nexmo
New module: nexmo
11 years ago
Michael DeHaan 7286beb15e Merge pull request #6515 from lotia/fix-acl-doc-and-error
Fix acl doc and error
11 years ago
Michael DeHaan eef5a8a847 Update setup module signature from merge commit. 11 years ago
Ali Asad Lotia 4a006a78b3 Whitespace fixes in incompatible param check
- Remove extra whitespace in conditional that checks if etype, entity or
  permissions are also set when entry is set.
11 years ago
Michael DeHaan 5c05982dea Merge pull request #6448 from jirutka/fix-5679-2
Fix #5679 again after recent changes in core
11 years ago
Michael DeHaan eaef86d22b Merge pull request #6355 from hkariti/npm_install_invalid
Add a package to missing list if npm list reported it as invalid
11 years ago
Michael DeHaan 92f9f50f1a Merge pull request #6339 from threatgrid/systemd-template-svc-fix
systemd template services must not discard template part
11 years ago
Michael DeHaan 8d3e2fe79a Merge pull request #6323 from aresch/rpm_key_query_fix
Fix rpm_key on system with no gpg keys imported
11 years ago
Michael DeHaan 1211160cdb Merge pull request #6289 from rawtaz/fix-irc-nicklen
Make irc module accept the nick being shortened by the server.
11 years ago
Michael DeHaan 2b2b174fd3 Merge conflict. 11 years ago
Michael DeHaan 0939a83174 Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
Fix issue #5621, rpm_key doesn't work for el5
11 years ago
Michael DeHaan 8a07d98f4b Merge pull request #6175 from AdmiralNemo/fix-filesystem
filesystem: Ignore blkid cache
11 years ago
Michael DeHaan 8920990d63 Merge pull request #6097 from mattjeffery/bug/modprobe_normalise_name
Normalise the module name when comparing against the module names in /proc/modules
11 years ago
Michael DeHaan 5aef2f0687 Merge pull request #6005 from pgehres/chkconfig
Adding better failure output for chkconfig failures
11 years ago
Michael DeHaan af7c252ba4 Merge pull request #5909 from joeybaker/patch-1
NPM install latest made more effecient
11 years ago
Cristian Ciupitu 138b45e32f hostname module: don't filter hostnamectl with awk
There's no need to filter hostnamectl's output with awk because its man
page says:

    hostnamectl [OPTIONS...] {COMMAND}

       --static, --transient, --pretty
	   If status is used (or no explicit command is given) and one
	   of those fields is given, hostnamectl will print out just
           this selected hostname.

E.g. hostnamectl --static status => ansible.example.org
11 years ago
Cristian Ciupitu 0749112286 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
Ali Asad Lotia 9180013682 Fix acl module doc and error messages
- Fix typos in module doc
- Provide clearer error message when entry and etype are both missing
11 years ago
Michael DeHaan d186196901 Remove nova_fip (redundant merge relative to quantum module) 11 years ago
Steve Smith 9a8a8dfb2a Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 11 years ago
follower c4f20be774 Fix typo
"a the" -> "the"
11 years ago
Brian Coca 2d25577e11 Fixes and cleanup to file functions and module
- unified set attribute functions ... not sure why 2 identical functions
exist with diff names, now there are 3 while i repoint all modules to 1
- fixed issue with symlinks being created w/o existing src when force=no
- refactored conditionals, simplified where possible
- added tests for symlink to nonexistant source, with both force options
- made symlink on existing attomic (force)
11 years ago
Michael DeHaan 01b7465a03 Merge pull request #6504 from follower/patch-2
Fix typo
11 years ago
Michael DeHaan 9e8a4c9d23 Merge pull request #6502 from follower/patch-1
Fix typo in example name
11 years ago
follower af6109c169 Fix typo
"resort" -> "result"
11 years ago
follower e05e57e0a9 Fix typo in example name 11 years ago
Brian Coca b81a3bbb20 fixed bad detection of change on default and premature break 11 years ago
tmperret 94198690c1 Made load_balencers in ec2_lc non-required as not all ASGs require an ELB 11 years ago
Michael DeHaan 8082f74798 Add GCE guide and retool a bit to show the add_host interactions, improvements/upgrades are welcome.
Had to shoot the recently merged nova_group module in the head temporarily as it contained a dict comprehension, which means it can't work on all the platforms
and was also breaking docs builds on CentOS.  Will engage with list about that shortly.
11 years ago
Matt Martz e2bfa86484 New module: nexmo 11 years ago
Michael DeHaan 30cdac6061 Fix docs for ec2_lc module. 11 years ago
Michael DeHaan 34f961157d Merge pull request #6491 from jlaska/apt_repository_signing_fix
[apt_repository] Correct check_mode conditional logic
11 years ago
James Tanner 9d6518de5a Fixes #6482 Check sysctl file path and catch read exceptions 11 years ago
James Laska 5cfefb326a Correct check_mode conditional logic
The desired behavior is to _not_ add the ppa signing key when check_mode is
enabled.  This fix corrects the conditional logic to comply with the stated
behavior.
11 years ago
Johannes 'fish' Ziemke 32fa21c95f Rename present to running, add new present state
The new present state just makes sure that a container exists, not that
it's running, although it get started one creation.
This is very useful for data volumes. This also changes the old
present, now running (default) state to only create the container if
it's not found, otherwise it just get started.

See also discussion on mailinglist:
https://groups.google.com/forum/#!topic/ansible-devel/jB84gdhPzLQ

This closes #6395
11 years ago
Sam Hanes b384db53f8 Add support for YAML lists to apt module. 11 years ago
Patrick Gerken 38d6956c1f Properly catch import errors in apt
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
11 years ago
Michael DeHaan 9eb3f8779c Merge pull request #6468 from philpep/fix_apt_key
apt_key: Fix traceback when key_id format is invalid
11 years ago
Michael DeHaan 9c189ed7a4 Merge pull request #6470 from patrickheeney/doc-git-fix
Fix documentation for accept_hostkey in GIT module
11 years ago
Paul Durivage 32996bf121 Documentation updates 11 years ago
James Cammarata b93b99871b Fix small typo resulting in a traceback for the apt_key module 11 years ago
patrickheeney fae36165a2 Fix documentation for accept_hostkey 11 years ago
Philippe Pepiot 92e8e59cad apt_key: Fix traceback when key_id format is invalid
Signed-off-by: Philippe Pepiot <phil@philpep.org>
11 years ago
Richard Isaacson e6f6a73328 Merge pull request #6461 from risaacson/modules_make_run_command_safer
Modules make run command safer
11 years ago
Richard C Isaacson 2b53ece3ab mysql_db module: typo fix
Tests clean.
11 years ago
Richard C Isaacson 427221786c Shell updates. 11 years ago
James Cammarata bd16cce3e9 Merge pull request #6460 from jsmartin/riak-bugfix
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
11 years ago
James Cammarata ccc0a8cbb0 Fix regression in dnsmadeeasy module caused by fetch_url change
Also:
* changed this module to use https for requests to the API
* fixed a bug in which a traceback was caused when the domain wasn't found

Fixes #6457
11 years ago