Commit Graph

4040 Commits (aaf766595bffb0a0843a70bffe95bd4edb3802a0)
 

Author SHA1 Message Date
Brent Langston 1886ef40f1 Make the default URI a constant 11 years ago
Brent Langston bf42535341 Allow custom hipchat urls 11 years ago
Colin Mattson 3b710005ad Clarify documentation for apt pkg, state, install_recommends 11 years ago
Michael DeHaan 1f25eb596f Fix documentation for twilio module. 11 years ago
willthames 7d24940d74 Allow state=absent for ec2_vol
Add methods to the module to make it more readable and allow reuse
11 years ago
Maykel Moya f967181318 ec2_group: Document group_desc rule param 11 years ago
willthames 0b87bbe839 Allow npm to install to a directory that doesn't yet exist
If path is specified but does not exist, create it.
Fail if path is specified but is not a directory
11 years ago
James Tanner 7c263fcdad Fixes #6590 add set_remote_user parameter to synchronize
This allows usage of custom ssh configs for remote hosts where
the inventory user does not match the configured user.
11 years ago
Michael DeHaan 595689a9ef Update documentation YAML syntax. 11 years ago
Maykel Moya fb1f1ab842 ec2_group: Add documentation for rules_egress 11 years ago
Maykel Moya a1b8fb88a1 ec2_group: rules are not a required task argument 11 years ago
Maykel Moya 8bd25ee1a4 ec2_group: Request a fresh group object after creation
When a group is created, an egress_rule ALLOW ALL to 0.0.0.0/0 is added
automatically but it's not reflected in the object returned by the AWS API
call. After creation we re-read the group for getting an updated object.
11 years ago
Maykel Moya ad0ca929b5 ec2_group: Auto create missing groups referenced in rules
Suppose a pair of groups, A and B, depending on each other. One solution
for breaking the circular dependency at playbook level:

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

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

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

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

Concrete example:

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

- ec2_group:
    name: mysql-server
    description: MySQL Server
    rules:
      - proto: tcp
        from_port: 3306
        to_port: 3306
        group_name: mysql-client
11 years ago
Maykel Moya 3231034b6e ec2_group: Deduplicate rule parsing/validation code 11 years ago
Maykel Moya 0240435459 ec2_group: Add support for handling egress rules 11 years ago
jjshoe 2a80987436 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 5b5af14921 Only unlink the symlink tempfile on error if it was created in the
previous operation.
11 years ago
Michael DeHaan 5e557c6d29 Update cpanm 11 years ago
Brian Coca a395eb3aba 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 4fd957620a 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 35f9e62422 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 a063987d0e authorized_key: Be more specific about manage_dir
- Explain which properties are managed when manage_dir is True.
11 years ago
Michael DeHaan ff5560f00c Update comments about redis config. 11 years ago
Michael DeHaan fbb15ad52f Merge branch 'devel' of git://github.com/mleventi/ansible into devel 11 years ago
Michael DeHaan 7f36630dd5 Add capabilities module. 11 years ago
nate@bx.psu.edu 2daee9ed20 Bugfix for xattrless files and the capabilities module. 11 years ago
nate@bx.psu.edu c19e4a7d0b Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8). 11 years ago
Michael DeHaan 4888b9266f Merge pull request #6549 from mattjbray/docker-tty-stdin_open-params
docker: add tty and stdin_open options
11 years ago
Michael DeHaan 319fceb64d add notes about new AWS modules. 11 years ago
Michael DeHaan 65a84667a2 Merge pull request #6540 from Zeekin/devel
Add cloud modules ec2_scaling_policy and ec2_metricalarm
11 years ago
Michael DeHaan 3fde0e3826 Add notes about new notification module. 11 years ago
Michael DeHaan e20d173115 Merge branch 'devel' of git://github.com/tksmd/ansible into devel 11 years ago
Michael DeHaan 62ea445b47 Add note about IRC library default change. 11 years ago
Michael DeHaan 430969781c Merge pull request #5443 from nirvinehh/devel
irc module: Make default irc color none; add color none
11 years ago
James Tanner 69d40b861f Fixes #6582 Re-add regex to ignore untracked files that were never tracked 11 years ago
James Cammarata 2d4315020d Merge pull request #6571 from bcoca/file_fixes_copydir
fixed issue with directory permissions on copy
11 years ago
James Tanner 6c8980c1a4 Fixes #6567 put the git wrapper script in the module temp dir 11 years ago
Brian Coca 402cd11c52 fixed issue with directory permissions on copy #6552 11 years ago
James Tanner 9efcbd8ef2 Fixes #6548 correct issues from rhn_register refactoring 11 years ago
Michael DeHaan d10de23f39 Merge pull request #6565 from fabianfreyer/devel
Fixed bug that occurred when pkgsite not specified
11 years ago
Michael DeHaan ae42f4d4a5 Merge pull request #6564 from joehack3r/devel
Update example to include delete on termination
11 years ago
Michael DeHaan 43440c1034 Merge pull request #6561 from patrickheeney/slack-url-fix
Fix domain name in slack module
11 years ago
Fabian Freyer a061440828 Fixed bug that occurred when pkgsite not specified 11 years ago
joehack3r e4842b5df2 Update example to include delete on termination 11 years ago
James Tanner 12340279c4 Merge pull request #6220 from trevorah/ansible.git
apt_repository: autoinstall python-apt if not available
11 years ago
patrickheeney 72014bce01 Fix domain name in slack module 11 years ago
James Cammarata e12c462d3d Merge branch 'threatgrid-issues/6341' into devel 11 years ago
Michael DeHaan 2556dfb0bc Merge pull request #6544 from ramondelafuente/feature/notification-slack
A module for notifications through the Slack.com platform
11 years ago
Michael DeHaan 8676f55f1d Merge pull request #6556 from andreaskern/patch-1
add param to note example for ssh-keyscan
11 years ago
James Cammarata f46760ef37 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