Commit Graph

4285 Commits (0073b34653b6dc4740e37759447b1ccf8447f438)

Author SHA1 Message Date
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
James Martin 3d032b9db9 Fixes various typos introduced in a9017af2bb.
Fixes odd encoding problem with wait_for_service.
11 years ago
Daniel Jaouen 81f2e43b76 Fix Homebrew._current_package_is_installed 11 years ago
Michael DeHaan 78ebf5d266 Still more shell fixes. 11 years ago
Michael DeHaan 98500b335b Fixup shell handling in monit module. 11 years ago
Michael DeHaan dac90278db More shell fixes 11 years ago
James Tanner 6067d826e4 Close parens in portinstall 11 years ago
Michael DeHaan 4e8b97ddeb More shell updates 11 years ago
James Tanner e7f74251c8 Fix missing colons in cpanm 11 years ago
James Tanner 89024f5d9f Fix typo in portinstall 11 years ago
Michael DeHaan c193604f60 Some more run_command updates. 11 years ago
Michael DeHaan 81b4ebbe1d Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 11 years ago
Michael DeHaan 6010e74839 Various commits to enable no-shell or safe-shell usage, more to come. 11 years ago
Patrick Smith 4173608b58 git: Execute git commands in `dest` directory 11 years ago
Jakub Jirutka 2bfaacd170 Fix #5679 again after recent changes in core 11 years ago
Richard C Isaacson 154f123b7f setup module: Mark unsafe commands as use_unsafe_shell=True. 11 years ago
James Cammarata d8a81c488e Remove validate_certs parameter from fetch_url calls 11 years ago
James Cammarata a9017af2bb Adding validate_certs to all modules that use fetch_url 11 years ago
Ryan e4805fe411 add module param to Network & sub-classes
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
11 years ago
Michael DeHaan c8db3c2db9 Revert "Fix issue#6430 by instantiating Network() with expected arguments"
This reverts commit 2a723e908e.
11 years ago
James Laska 2a723e908e Fix issue#6430 by instantiating Network() with expected arguments 11 years ago
Michael DeHaan e0147f18b1 Merge pull request #6421 from bcoca/stat_noread_nomd5
now stat skips md5 if file isn't readable
11 years ago
Andy Trevorah e4ad97b918 reworked apt-repository auto-install to be like yum 11 years ago
Richard Isaacson 681dcf437a Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson 0fd80f3f6f Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson d0795a8336 Merge pull request #6427 from risaacson/migrate_booleans_bool_rax_files_objects
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson a6c89a86f6 Merge pull request #6426 from risaacson/migrate_booleans_bool_rax_files
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson 9bb8c2aa42 Merge pull request #6425 from risaacson/migrate_booleans_bool_rax
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson 2bd97dc8b6 Merge pull request #6424 from risaacson/migrate_booleans_bool_quantum_subnet
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson 125775dc3d Merge pull request #6423 from risaacson/migrate_booleans_bool_gce
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard C Isaacson c1af272ba1 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson c2bf201bce Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson c3dc195362 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 3121a7f3ec Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 86adb60a82 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 05a1883cb9 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 1ea5b04e05 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson e40fd9bb0d Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Brian Coca 463a1c21ea now stat skips md5 if file isn't readable 11 years ago
jctanner f1301f6fd9 Merge pull request #6415 from devoncrouse/devel
Fixed references to missing method in ec2 modules
11 years ago
James Tanner 6da2c37112 Fixes #6411 Return None for ec2 api endpoints that return 404 11 years ago
James Tanner bd3322824f Remove duplicate digital_ocean_droplet module 11 years ago
Devon Crouse b853778a93 Fixed references to missing method in ec2 modules
Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24
11 years ago
Michael DeHaan a689e42d32 Fix ec2_facts module by removing stray fail statement 11 years ago
Michael DeHaan 3b79a36641 Merge pull request #6409 from risaacson/migrate_booleans_bool_ec2_eip
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Michael DeHaan 9b7da52ed7 Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard C Isaacson a1c87e6deb Fix docstring issue. 11 years ago
Richard C Isaacson 1b28e3bf41 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 10f70bee49 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard Isaacson 6e13c1ebe0 Merge pull request #6406 from risaacson/at_module2
This fixes what was merged in 1.5.0.
11 years ago
James Cammarata 10f7a20e60 Merge pull request #5079 from candlerb/candlerb/virt_states
Additional target states for virt module: "destroyed" and "paused"
11 years ago
James Cammarata 11f500fa2f Merge pull request #4630 from mmoya/mysql_variables-fix2
Add support for string values
11 years ago
James Tanner c73cb77689 Fix name in locale_gen docstring 11 years ago
Michael DeHaan 4a94a5d80a Merge pull request #6400 from vadimkuznetsov/bug5959
bug 5959: https://github.com/ansible/ansible/issues/5959
11 years ago
James Tanner 41b7badb13 Fix snippet imports and version_added in ufw module 11 years ago
James Cammarata 1d6750afec Merge pull request #5518 from pyykkis/ufw
UFW module (another take)
11 years ago
James Tanner 8ffb964f45 Set version_added for locale_gen 11 years ago
James Tanner da95310d86 Rename locale module to locale_gen 11 years ago
James Cammarata 74335b6e59 Merge pull request #5411 from AugustusKling/locale
locale module
11 years ago
James Tanner b3ff88d06a Fix version_added and snippet imports on new digital ocean modules 11 years ago
jctanner 748588b516 Merge pull request #4315 from mgregson/add-digital-ocean-domains
Add digital ocean domains
11 years ago
James Tanner 53777bbbc9 Fix docstring and snippet import style in portage module 11 years ago
Fabian Freyer 064722aa5e Added support for package annotations. 11 years ago
jctanner e94a4aa70f Merge pull request #4493 from sayap/portage
Add packaging module for Gentoo Portage.
11 years ago
James Cammarata f36de32863 Adding version_added field to metadata field in s3 module 11 years ago
Jake Kreider 777f0a8080 Updated S3 metadata examples 11 years ago
Jake Kreider b837e5275c Added metadata support to s3 module 11 years ago
Richard C Isaacson 85b3c4d907 nova_compute: Adding the version_added flag to user_data.
Per note in GH-5916.
11 years ago
Richard Isaacson 971199d433 Merge pull request #6403 from risaacson/nova_group
Nova group
11 years ago
Richard C Isaacson e6d099852e Bump relased in version and update module snippets.
Closes GH-5069
11 years ago
Richard Isaacson cdea88661e Merge pull request #6402 from risaacson/nova-fip
Nova fip
11 years ago
Richard C Isaacson 5fdf7f9f75 Bump relased in version and update module snippets.
Closes GH-5154
11 years ago
Vadim Kuznetsov 546d514f87 bug 5959: https://github.com/ansible/ansible/issues/5959 11 years ago
James Cammarata b95fe470c4 Fixing up some docstrings causing make webdocs to fail 11 years ago
Alexander Popov d48880debc Added 'version_added' to the 'resrouce_tags' attribute in DOCUMENTATION section. 11 years ago
Alexander Popov 8c8ff79c8b Added code to create tags on the VPC resource 11 years ago
Alexander Popov 6dfafb0cf5 Updated module documentation, re: resource_tags 11 years ago
Alexander Popov 49e9c42770 Renamed vpc_id_tags to resource_tags 11 years ago
Alexander Popov 514e4b3742 Added multi VPC support
Initial commit

Refactored terminate_vpc method to support vpc_id_tags

Cleaned up find_vpc() method
11 years ago
Fabian Freyer efe7bfa74a Changed old variable names that referred to pkgin. 11 years ago
Fabian Freyer 880eaf38a6 Added support for pkgng multiple repositories.
Currently checking if pkgng >= 1.1.4, as specified in
https://wiki.freebsd.org/pkgng . I guess that's when using PKGSITE was
deprecated.
11 years ago
James Tanner 3d07db26e3 Update docstring in digital_ocean for backups_enabled version_added 11 years ago
jctanner bfd9323274 Merge pull request #5935 from zimbatm/do-backups
library/digital_ocean: Adds the missing backups_enabled create option
11 years ago
James Tanner 351ebd0b43 Update docstrings in ec2_ami_search 11 years ago
James Cammarata b10d174ab4 Merge branch 'silkapp-ec2-eip-reuse' into devel 11 years ago
James Cammarata 2b84a40d8e Renaming reuse parameter in ec2_eip and adding a version_added string 11 years ago
jctanner 7a45e04777 Merge pull request #4845 from lorin/ec2_ubuntu_ami
New module: ec2_ami_search
11 years ago
James Cammarata 89c091d689 Merge branch 'ec2-eip-reuse' of https://github.com/silkapp/ansible into silkapp-ec2-eip-reuse 11 years ago
James Tanner f0704159ae Update docstrings in ec2_vol 11 years ago
James Cammarata 67e9cbe637 Merge branch 'josephtate-devel' into devel 11 years ago
jctanner 7dcc8e2460 Merge pull request #5287 from ebrevdo/ec2_vol_existing
ec2_vol module: add support for name / id to mount volume on instance
11 years ago
James Cammarata 5d4980459f Merge branch 'drcapulet/ec2-sourcedestcheck' of https://github.com/drcapulet/ansible into drcapulet-drcapulet/ec2-sourcedestcheck 11 years ago
jctanner b2539ae5d8 Merge pull request #5454 from claco/rax_identity
Add rax_identity module
11 years ago
James Cammarata eabcbb830f Merge branch 'willthames-ec2_security_token' into devel 11 years ago
jctanner e658dc292b Merge pull request #5703 from ethercrow/fakes3
[s3] Compatibility with fakes3.
11 years ago
James Cammarata 8ca3bb4137 Updating profile/security_token version_added labels 11 years ago
Michael DeHaan 40b82a33c0 Merge pull request #5916 from tidzo/issue4992
Fix for #4992 - Add userdata to cloud/nova_compute
11 years ago
James Cammarata 430cce9df3 Merge branch 'ec2_security_token' of https://github.com/willthames/ansible into willthames-ec2_security_token 11 years ago
James Tanner cd3fcd843a Set version-added for new parameters in ec2_elb_lb and elasticache 11 years ago
Michael DeHaan 2e10e1e0d6 Merge pull request #5997 from jonasi/elasticache_vpc_security_groups
Elasticache vpc security groups
11 years ago
Michael DeHaan 2df40933f1 Merge pull request #6262 from willthames/ec2_tags_print
Allow ec2_tag module to print the tags of an instance
11 years ago
Michael DeHaan faef76b818 Merge pull request #6264 from sqs/cloud-rds-add-new-db-instance-types
Add new cloud/rds DB instance types (db.m3 and db.cr1 families)
11 years ago
Michael DeHaan 10f852a807 Update version_added for wait_timeout parameter on elb module. 11 years ago
Michael DeHaan f6878d4ada Merge pull request #6020 from bpennypacker/ec2_elb_timeout
cloud/ec2_elb module: Added wait_timeout parameter
11 years ago
Michael DeHaan 003a405182 Merge pull request #6104 from gianlucaborello/digitalocean_fix_deletion
Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id'
11 years ago
Michael DeHaan f824a846bc Merge pull request #6230 from joshuaconner/bugfix_nova_computer_partial_server_name_match
nova_compute: fix for partial match b/w params['name'] and an existing name
11 years ago
Michael DeHaan 1eed6f46bf Merge pull request #6306 from willthames/ec2_module_clearer_failures
Make it easier to determine whether instance creation or tagging fails
11 years ago
Michael DeHaan 3af6befbae Merge pull request #6324 from scottanderson42/bugfix/route53-characters
BUGFIX: route53 module won't round-trip * and @ in records
11 years ago
Michael DeHaan 5978567509 Merge pull request #6366 from cloudify/devel
Fix for #6365: cloudformation module fails to update if stack exists
11 years ago
Michael DeHaan fd9df5f429 Merge pull request #6372 from mriedelumab/devel
Returning 'NA' when no virtualization found
11 years ago
Michael DeHaan 247d688c13 Merge pull request #6233 from garethr/aws-autoscaling-groups
Added modules to manage ec2 autoscaling groups
11 years ago
Michael DeHaan 297b048d0e Fix other reference to APT_ENV_VARS. 11 years ago
Michael DeHaan c09d4b1c7a Update apt module so that environment variables are set correctly since not going through shell. Very sorry folks, it will be addressed. 11 years ago
Michael DeHaan 0f962dba14 Missing comma in argument spec. 11 years ago
James Tanner ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Cammarata 9730157525 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
11 years ago
Matthew Riedel 5875d19f4d Returning 'NA' when no virtualization found 11 years ago
Richard C Isaacson c6fbb0059b Some cleanup. 11 years ago
Federico Feroldi b9ab31ebd8 Fix for #6365: cloudformation module fails to update if stack exists 11 years ago
Charles Duffy 18f53d9219 #6341: use shared function for parsing systemd status; check rc code 11 years ago
Charles Duffy d59973295d #6341: check systemd service status with show subcommand 11 years ago
Jarno Keskikangas 37ef39d0fa Recognize rule changes even if ufw is in disabled state.
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
11 years ago
Jarno Keskikangas 4d5340587e Insert rule to a specific num. 11 years ago
Jarno Keskikangas 0247708199 Fix typo: 'reseted' -> 'reset'. 11 years ago
Jarno Keskikangas 2613e6fb14 Add protocol options 'esp' and 'ah'. 11 years ago
Jarno Keskikangas f4e8a86c87 Add functionality and reduce complexity.
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
11 years ago
Aleksey Ovcharenko 651c04a3ec New module [ufw]: this module handles Ubuntu UFW operations
* Updated documentation related to IPv6 usage.

BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.

Added @otnateos patch.
11 years ago
Hagai 748e8a7740 Add a package to missing list if npm list reported it as invalid 11 years ago
Michael DeHaan c79b5ea4b4 Merge pull request #6344 from alimony/patch-1
Touch up documentation strings for DigitalOcean.
11 years ago
Markus Amalthea Magnuson 3f681ebc52 Touch up documentation strings for DigitalOcean. 11 years ago
Dolph Mathews 8808e029f9 spelling correction for "separate"
s/seperate/separate/

http://en.wiktionary.org/wiki/separate
11 years ago
Richard C Isaacson aba86e3657 Cleaning up pep8 alerts. 11 years ago
Richard C Isaacson f3c1177265 Documentation cleanup. 11 years ago
Richard C Isaacson 7686204b43 Refactored a few things to be more inline with the Ansible way. Passing testing. 11 years ago
Charles Duffy 44ebd3f4f3 systemd template services must not discard template part 11 years ago
Richard C Isaacson a483e42583 unarchive module: Add creates functionality.
Closes GH-5354.

Forklift copy logic into unarchive. Provides integration unit tests.
11 years ago
Richard C Isaacson d6247a3583 Yum: Fix logic in yum. 11 years ago
Richard C Isaacson 47b2dc611c Look at the filename and if it has a version defined possibly process this as a downgrade. 11 years ago
Richard C Isaacson 9244283122 Spelling and formatting. 11 years ago
Cove Schneider 29f1528492 change order of copyright 11 years ago
Cove Schneider f47fe7af62 add sponsor copyright/attribution 11 years ago
Cove Schneider cbd1da6457 add yum module downgrade support 11 years ago
aresch a45bfbe06e Fix rpm_key on system with no gpg keys imported
Without the -a option, rpm command will fail (exit code 1) and execute_command() will fail causing an initial key import to not work.

[root@test ~]# rpm -q gpg-pubkey
package gpg-pubkey is not installed
[root@test ~]# echo $?
1
[root@test ~]# rpm -qa gpg-pubkey
[root@test ~]# echo $?
0
11 years ago
Scott Anderson db67c3d772 Fixes a bug that prevents round-tripping of * and @ 11 years ago
James Cammarata 5a235f9e99 Merge pull request #6318 from jimi-c/issue_5305_ec2_elb_None_issue
Adding a wait loop to ec2_elb for the initial lb state when registering
11 years ago
Michael DeHaan 616d7e53b1 Merge pull request #6305 from amree/fix-mysql-replication-port
Fixed SQL syntax error when running mysql_replication module
11 years ago
Michael DeHaan 7710867922 Merge pull request #6308 from muffl0n/file_fix_documentation
Module "file": Fix link to "path" in documentation
11 years ago
Michael DeHaan acd64bf5a1 Merge pull request #6313 from phenomenes/msg-encoding-fix
Don't use keyword `error` in encode
11 years ago
James Cammarata 9f2999df79 Un-escape newlines in delimiters for assemble module 11 years ago
Jimena Cabrera-Notari cc6e1ec261 Don't use keyword `error` in encode
This is not supported in Python 2.6. Just use positional arguments.
11 years ago
Sven Schliesing f62cc1e351 Fix link in documentation
c(dest) -> c(path)
11 years ago
willthames 4a093a9709 Make it easier to determine whether instance creation or tagging fails 11 years ago
Will Thames b9a7352e0a Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
11 years ago
amree 1d731e5c30 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 11 years ago
James Cammarata 25cf215f54 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
11 years ago
jctanner 6a615f18c5 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
11 years ago
Julien DAUPHANT 16bb6c88f5 Add version_added 1.6 for the params modprobe option 11 years ago
Julien DAUPHANT daa7416323 Add linux module parameters for the modprobe module 11 years ago
Alexander Popov e56cffe3a5 Renamed instance_tags to resource_tags based on community feedback. 11 years ago
Alexander Popov 3c4b14523b Renamed subnet's 'tags' attribute into 'instance_tags' to distinguish it from Ansible's own 'tags' and to conform to ec2 module naming for AWS tags. 11 years ago
Alexander Popov 428c69c08a Refactored subnet tagging to account for AWS delays; added 'tags' attribute to 'subnet' node in the returned json. 11 years ago
Alexander Popov 4dbac647bc Added documentation for subnets: tags: option 11 years ago
Alexander Popov 2a108b2aeb Added subnet tagging. 11 years ago
jctanner 40ee030790 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
11 years ago
Leo R. Lundgren dd62de0384 Fix whitespace (tabs -> spaces). 11 years ago
Leo R. Lundgren 347b425c67 Make irc module accept the nick being shortened by the server.
This can happen if the server has a NICKLEN setting which is less
than the length of the specified nick. With this patch we now grab
that nick and use it moving forward, instead of failing because we
didn't get back the one we specified, in the connection response.
11 years ago
Franck Cuny 6294264dc4 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
11 years ago
Michael DeHaan da2126eda5 Merge pull request #6279 from techtonik/patch-1
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274)
11 years ago
anatoly techtonik a48f0da9d8 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 11 years ago
Michael Scherer 5fd7b8010f Fix wrong module name for exception in nova compute
failed: [127.0.0.1] => {"failed": true, "parsed": false}
  invalid output was: Traceback (most recent call last):
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
      main()
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
      except exc.Unauthorized, e:
  NameError: global name 'exc' is not defined
11 years ago
jctanner 0e494242cf Merge pull request #6271 from jimkytola/docker-image-fix
Removes pluralization of manager tag attribute.
11 years ago
Jim Kytola 186d19f224 Removes pluralization of manager tag attribute. 11 years ago
ToBeReplaced 23d4ecc2a5 Add comment about mod_admin_extra
Fixes issue #6027.
11 years ago
willthames f568140ea5 Allow ec2_tag module to list the tags of an instance
Use the list argument to state to just collect the
tags of a resource through the AWS API.
11 years ago
Quinn Slack 635fdcb533 Add new cloud/rds DB instance types (db.m3 and db.cr1 families) 11 years ago
Joshua Conner 10f36e8c62 nova_compute: remove ternary statement 11 years ago
James Tanner 39e368b713 Fix debconf docstring indentation 11 years ago
James Tanner ff1ae57fbf Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf 11 years ago
James Tanner abd7c0b565 Update cpanm module to newer module patterns 11 years ago
James Tanner 4da0428d89 Merge branch 'module-cpanm' of git://github.com/franckcuny/ansible into franckcuny-module-cpanm 11 years ago
jctanner b1a3e367b6 Merge pull request #6196 from softzilla/feature/docker_py_0.3.0_ansible
docker_image: added support for docker_py >= 0.3.0, Docker API >= 1.8. Replace #6178
11 years ago
James Cammarata 7f1989dc9c Adding a wait loop to ec2_elb for the initial lb state when registering
Fixes #5305
11 years ago
jctanner 1e01fb856d Merge pull request #6242 from scottanderson42/rds-group-modules
Adds modules for managing Amazon RDS parameter and subnet groups.
11 years ago
Scott Anderson 5c9739ae9c Adds modules for managing Amazon RDS parameter and subnet groups. 11 years ago
Gareth Rushgrove a26bc3e2f9 correct name in documentation and example 11 years ago
Gareth Rushgrove 87265cd4b3 correct version added 11 years ago
Brian Coca 400a1aa49a didnt make 1.5 ... lets see 11 years ago
Brian Coca 68510ecda8 added better gentoo/funtoo support 11 years ago
Gareth Rushgrove c770462fad Added modules to manage ec2 autoscaling groups
Includes management of Launch Configuration and related Autoscaling
Groups
11 years ago
Michael DeHaan 90655cb7b0 Fix up examples in the assert docs to match the way things work. 11 years ago
Joshua Conner ce5939c507 nova_compute: fix for partial match b/w params['name'] and an existing name
When there is an Openstack instance that has a name that's a partial match
for module.params['name'], but a server with name module.params['name']
doesn't yet exist, this module would fail with a list index out of bounds
error. This fixes that by filtering by exact name and only then getting the
server from the list if the list is still not empty.
11 years ago
Eugene Brevdo fa3d84d59e Tiny bugfix in ec2_vol documentation. 11 years ago
Michael DeHaan 4b281ca5c7 Make the npm production parameter in the docs list the choices. 11 years ago
Michael DeHaan 6c43e0e010 Simplify file module parameter description. 11 years ago
Michael DeHaan bbb88517ef Since the ec2 parameter is named 'key_name' and 'keypair' is just an alias, use
the primary name of the parameter in the examples.
11 years ago
Michael DeHaan b2c8b8ba86 Merge pull request #6222 from csinchok/patch-1
Typo in rabbitmq_plugin docs
11 years ago
Michael DeHaan 9d3a344c06 Merge pull request #6223 from lvh/patch-2
Support ssh-ed25519 keys
11 years ago
Laurens Van Houtven 80e2c597a8 Support ssh-ed25519 keys
The newest version of OpenSSH supports a new, wonderful key type. authorized_key incorrectly discards pubkeys of this type as busted because it doesn't recognize type signature.
11 years ago
James Cammarata 57486b268a Use the no-user-groups option (-N) for useradd in the user module
If no group was specified, but a group by the same name as the user
exists, an error was raised in the situation where USERGROUPS_ENAB is
enabled in /etc/login.defs (which is the case for almost every major
linux distro). In this case, the user will be put in group 100 (which
is usually the "users" group on those same distros). This is currently
only done in the base class, as the issue may not exist on other
platforms like AIX or the BSDs.

Fixes #6210
11 years ago
Chris Sinchok 796ac6d01c Typo in rabbitmq_plugin docs
Should be "plugins", not "users".
11 years ago
Richard C Isaacson f17e549ff9 Typo fix. 11 years ago
Richard C Isaacson 809b714bfc Replace mode with octal renaming to mode.
Closes GH-6176

This way for mode we return in an octal format which is immediately usable compared to transforming it later.
11 years ago
Richard Isaacson cca7fd3c0c Merge pull request #1 from bcoca/stat_updaates
added octal representation of mode and made md5 checksumming optional
11 years ago
Andy Trevorah 1280269866 apt_repository: autoinstall python-apt if not available 11 years ago
Richard Isaacson 44da82c90f Merge pull request #6218 from risaacson/issues_6194
Copy Module: Add the ability to set directory attributes on recursive copy.
11 years ago
Richard C Isaacson 7b6c7366d1 Minor cleanup. 11 years ago
Richard C Isaacson 890202e4c0 copy module: cleanup and if directory_mode not set default to umask 11 years ago
jctanner 42a2586dfa Merge pull request #6171 from joshuaconner/update_to_docker-py_0.3.0
docker: update to docker-py 0.3.0, plus full port binding support etc. from #5639
11 years ago
Richard C Isaacson cf4a6b39cc Copy Module: Add the ability to set directory attributes on recursive copy.
Closes GH-6194.

These changes pass attribute modifications through to new directories during a recursive copy with an addition allowing for the directory mode to be set independantly.
11 years ago
James Tanner aeccbeeed2 add failsafe comment for install_repoquery 11 years ago
James Tanner 122a7021bc remove install_repoquery docstring 11 years ago
James Tanner 3f43fa529d Install yum-utils by default 11 years ago
James Tanner 58c78539bb Fix typo 11 years ago
James Tanner da210522f3 Fix up docstring type and extra info about list 11 years ago
James Tanner 79fb252dc9 Update docstring for rhn details 11 years ago
James Tanner f89e5315af Add install_repoquery parameter to the yum module 11 years ago
Michael DeHaan 829f959dce Merge pull request #6201 from cchurch/devel
Escape subversion parameters for running svn commands
11 years ago
Richard Isaacson 73fa767a6b Added instance_tenancy functionality per social request. 11 years ago
Gareth Armstrong 02477eef69 Fix issue 5621, rpm_key doesn't work for el5 11 years ago
Chris Church 5c2c29e71f Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 11 years ago
James Cammarata 32a2636dc7 Add expanduser calls on src/dest in the module too 11 years ago
James Cammarata 3274785350 Merge pull request #5689 from pgehres/devel
Adding the region to the output of the ec2 module's creation of a new in...
11 years ago
Pavel Antonov 21a7bace77 Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting 11 years ago
James Cammarata bb5da4c5f6 Merge branch 'devel' of https://github.com/josephtate/ansible into josephtate-devel
Conflicts:
	library/cloud/ec2
11 years ago
James Cammarata d6b912c429 Modifying the wait logic for newly created images to avoid tracebacks
Fixes #4619
11 years ago
James Cammarata e659d55d62 Merge branch 'devel' of https://github.com/muffl0n/ansible into muffl0n-devel 11 years ago
James Cammarata 8a7c68dc18 Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
11 years ago
Michael DeHaan 404765162d Merge pull request #6184 from patrys/patch-1
Properly match existing security group
11 years ago
Patryk Zawadzki da1efee21f Properly match existing security group
If we don't care about `vpc_id` then neither should the code.
11 years ago
Guido Kollerie a000f37132 Emphasize target is on remote host. List supported file types.
From the documentation it is not immediately clear that the 'target'
option refers to a location on the remote host. This change emphasizes that.
In addition to .sql files, .bz2 and .gz files are supported for dumps and
restores. This is now documented.
11 years ago
jctanner 6fa898c511 Merge pull request #5092 from willthames/ec2_snapshot
Module to create EC2 snapshots
11 years ago
jctanner 1277b45b3c Merge pull request #5941 from sivel/rax-name-search-opts
rax module: Use regex start and end of string with name base filters
11 years ago
Brian Coca 53d71a3949 added octal representation of mode and made md5 checksumming optional
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Dustin C. Hatch 467914e3c3 filesystem: Ignore blkid cache
Sometimes, `blkid` will incorrectly return no information about a block
device, even if it exists and has a valid filesystem. This causes the
*filesystem* module to fail if *force=no*. Instructing `blkid` to use
`/dev/null` as a cache file will force it to rescan the block device on
each run, making results more consistent.

Signed-off-by: Dustin C. Hatch <admiralnemo@gmail.com>
11 years ago
Joshua Conner 9c72b52c01 docker: add 'version_added' to the appropriate documentation entries 11 years ago
Chris Church 1d6bdd451b Fix setup module to gather facts from PowerPC Macs. 11 years ago
Joshua Conner 66eb91c2f8 docker: update to docker-py 0.3.0, plus full port binding support, container names, links 11 years ago
James Tanner 0cca4a3919 Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used 11 years ago
James Cammarata 03cb2f5ffa Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags 11 years ago
James Cammarata cb79947054 Fixing the unicode issue in uri for EL6 platforms
Fixes #5869
11 years ago
James Cammarata 6fe369fca0 Merge branch 'usermod_fix' of https://github.com/tknguyen79/ansible into tknguyen79-usermod_fix
Conflicts:
	library/system/user
11 years ago
James Cammarata 97eededc99 Handle unicode content in the uri module properly
Fixes #5869
11 years ago
Stefan J. Betz 789ae4697c Require force for LVM shrink and remove operations in lvol. Fixes #5774
Conflicts:
	library/system/lvol
11 years ago
Michael DeHaan 05bf80751b Merge pull request #6158 from risaacson/issues_5165
If you try to resize a lvol to the current size return a changed=False and don't fail.
11 years ago
Richard C Isaacson bf30707670 If you try to resize a lvol to the current size return a changed=False and don't fail.
This addresses GH-5165 and adds the ability to check if a lvol exists.

The tests for this don't fit nicely into the current integration tests so they are below.

```
---

- name: remove any existing lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: remove any existing lv=two of vg=main
  lvol: lv=two vg=main state=absent

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  ignore_errors: true
  register: lvol_result0

- name: Assert that we will get a "No size given."
  assert:
    that:
      - "'No size given.' in lvol_result0.msg"

- name: create lv=one of vg=main sized 30g
  lvol: lv=one size=30g vg=main state=present
  register: lvol_result1

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result1.changed == True"

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  register: lvol_result2

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result2.changed == False"

- name: remove lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: create lv=two of vg=main sized 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result3

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result3.changed == True"

- name: reduce lv=two of vg=main to 15G
  lvol: lv=two size=15G vg=main state=present
  register: lvol_result4

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result4.changed == True"

- name: increase lv=two of vg=main to 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result5

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result5.changed == True"

- name: create lv=two of vg=main sized 30G when already exists at 30G
  lvol: lv=two size=30g vg=main state=present
  register: lvol_result6

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result6.changed == False"

- name: remove lv=two of vg=main
  lvol: lv=two vg=main state=absent
```
11 years ago
Kyle Kelley b5eb4d2a71 Fix expires 11 years ago
James Cammarata be0be16e89 Merge branch '5853-python-2.5-apt_repository-fix' of https://github.com/timurbatyrshin/ansible into timurbatyrshin-5853-python-2.5-apt_repository-fix 11 years ago
James Cammarata 3b2d409906 Fixing several bugs in assemble and updating tests
Bugfixes:
* the remote_src param was not being converted to a boolean correctly,
  resulting in it never being used by the module as the default behavior
  was remote_src=True (issue #5581)
* the remote_src param was not listed in the generic file params, leading
  to a failure when the above bug regarding remote_src was fixed
* the delimiter should always end with a newline to ensure that the file
  fragments do not run together on one line

Fixes #5581
11 years ago
James Cammarata f03d6a67c8 Adding new tests for assemble role 11 years ago
Richard C Isaacson aaf0a182e1 Merge remote-tracking branch 'jeromew/ansible_script_creates' into issues_4986 11 years ago
Lukáš Lalinský 8d507f79b9 Don't require pycurl in apt_repository when it's not actually needed 11 years ago
Scott Patten dbde446358 In the route53 module, documenting that TXT and SPF requests
must be surrounded by quotes.

Otherwise you get a cryptic error message from Route 53.
11 years ago
Gianluca Borello bf79833c9d Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id' 11 years ago
James Cammarata 2157880029 Adding the backup destination to the resut dictionary for lineinfile 11 years ago
Matt Jeffery 8131feaade Normalise the module name when comparing against the module names in /proc/modules. 11 years ago
Daniel Jaouen 6748ef121b Update homebrew documentation. 11 years ago
Daniel Jaouen e3a39837e1 Add back homebrew `install_options` parameter. 11 years ago
Daniel Jaouen 155f6e4dd3 Update homebrew documentation. 11 years ago
Daniel Jaouen 097ce84336 Fix homebrew linked/unlinked output. 11 years ago
Daniel Jaouen 91ac44a5bb Fix linked/unlinked states. 11 years ago
Daniel Jaouen 02694b80de Update homebrew module. 11 years ago
Daniel Jaouen 911a3930a6 homebrew_cask: check err instead of out for "nothing to list". 11 years ago
Daniel Jaouen 55f636675c homebrew_cask: return False instead of True when nothing to list. 11 years ago
Daniel Jaouen 8a612ba5d4 Handle homebrew_cask "nothing to list" corner case. 11 years ago
Daniel Jaouen f7c3847391 Add module homebrew_cask 11 years ago
Michael DeHaan d5c7290b93 Merge pull request #6066 from jsmartin/riak_module_fix
Properly fetching the riak version
11 years ago
James Laska dbd3194e9c Resolves issue#6067 by allowing exact_count=0 11 years ago
muffl0n b0f00cc097 already call expanduser in action_plugin 11 years ago
James Martin 0e3356c40e Properly fetching the riak version, and properly setting the python interpreter. 11 years ago
Jan-Piet Mens 01e1991baa module update: mqtt notification now uses Paho as mosquitto.py being deprecated 11 years ago
C. Morgan Hamill 5776c95497 Add 'vgoptions' parameter to lvg module.
Allows specifying extra flags to pass to `vgcreate`.
11 years ago
Michael DeHaan 30611eaac5 Merge pull request #6036 from mxxcon/patch-1
docs_pull_request: Add parameters highlighting
11 years ago
Michael DeHaan 6b2bbbb9ff Merge pull request #6045 from garaden/pypi_mirrors_gone
Set use_mirrors default to "no" for the pip module
11 years ago