Commit Graph

3926 Commits (8ca70ec4872d7c148b6c7419394c1a3f7298a4c5)

Author SHA1 Message Date
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
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
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