Commit Graph

3477 Commits (8388ce626f2266dfee23b3002ef9844275ee9505)

Author SHA1 Message Date
James Cammarata 8880819395 Merge branch 'devel' of https://github.com/mtpereira/ansible into mtpereira-devel 11 years ago
Matthew Phipps de99cc6fbf Remove use_mirrors from pip module
PyPI moved to a CDN on 2013-05-26, so mirrors are now largely
unnecessary and pip removed the functionality in 1.5. More importantly
(and why I wrote this request): on 2014-02-15 the mirror directory was
taken offline, so mirrors may not work anymore even for pip versions
that support them.
11 years ago
Matthew Phipps 63ff6c8493 pip module wasn't adding -e when using VCS 11 years ago
jeromew 7a14cb61c4 Add creates= and removes= to the script: action 11 years ago
Nils Pascal Illenseer 858004984b Fix zfs create command for properties with spaces
If a property value contains one or more spaces, the zfs command will fail.
With value quoted this behavior is fixed.
11 years ago
James Cammarata daa3253b52 Merge branch 'devel' of https://github.com/calebbrown/ansible into calebbrown-devel 11 years ago
James Cammarata 9c9a940af6 Merge branch 'fix-5679' of https://github.com/jirutka/ansible into jirutka-fix-5679 11 years ago
Richard C Isaacson 7d670f8308 Merge remote-tracking branch 'berendt/fixing_permissions' into pull_4703 11 years ago
James Cammarata 1544c93bf2 Merge branch 'fix-postgres_user_to_understand_pg_namespaces' of https://github.com/alanfairless/ansible into alanfairless-fix-postgres_user_to_understand_pg_namespaces 11 years ago
James Cammarata 87bf16930e Merge branch 'postgres_alter_role' of https://github.com/jinnko/ansible into jinnko-postgres_alter_role
Conflicts:
	library/database/postgresql_user
11 years ago
mxxcon 4e4be3edc0 docs_pull_request: Add parameters highlighting
Added highlighting to parameter references in docs so that they standout a bit better.
11 years ago
Michael DeHaan 56befa9468 Document ansible_managed changing the template. 11 years ago
Michael DeHaan 6f9ca7cfa5 Some minor docs corrections. 11 years ago
James Cammarata 9dd9487692 Merge branch 'mohangk-fix_rds_modify_security_group' into devel 11 years ago
James Cammarata 7eb2a4c290 Merge branch 'fix_rds_modify_security_group' of https://github.com/mohangk/ansible into mohangk-fix_rds_modify_security_group 11 years ago
Richard Isaacson bab91f9ed8 Merge pull request #6015 from angstwad/docfix
Spelling correction.
11 years ago
Richard Isaacson ffeb507761 Merge pull request #5645 from resmo/fix/apt_pkg_version
apt: fixed pkg=<name>=<version> fails if package is not yet installed.

Tested and it fixes the problem on more recent versions of apt.
11 years ago
Paul Durivage 0dbd5d3e18 Spelling correction 11 years ago
Amir H. Hajizamani cf5b1620b7 Remove superfluous/invalid quote
Allow the example to be copy-pasted with minimal confusion about the error.
11 years ago
Peter Gehres b5761750c4 Adding the region to the output of the ec2 module's creation of a new instance. 11 years ago
Michael DeHaan c91ceddfac Add the start of an integration test structure using Ansible playbooks, also added an assert action plugin to make writing those easier. 11 years ago
James Cammarata 0d79132757 Merge pull request #5998 from jimi-c/issue_3978_boto_ssl_cert_validation
Adding 'validate_certs' option to EC2 modules
11 years ago
James Cammarata fdb7c733c1 Updating CHANGELOG for the new validate_certs feature
Also removing validate_cert option from the cloudformation module docs,
as it does not use the standard ec2 connection.
11 years ago
Richard Isaacson 686f87e42e Merge pull request #5944 from sean-/devel
Fix broken behavior when removing all auxiliary groups from a user. See #5933 for more details.

Tests by hand correct and passes "make clean tests".
11 years ago
James Cammarata 056d54ebd3 Adding 'validate_certs' option to EC2 modules
When disabled, the boto connection will be instantiated without validating
the SSL certificate from the target endpoint. This allows the modules to connect
to Eucalyptus instances running with self-signed certs without errors.

Fixes #3978
11 years ago
Will Thames c8127ea874 ec2 module fails when state is not absent
tagged_instances is initialised in a scope not visible
when state is not absent.
11 years ago
Pavel Antonov e02cf2aab7 Refactore unused code 11 years ago
Pavel Antonov dddd4b2522 Added modules description and examples 11 years ago
Pavel Antonov df41ed90b8 Docker supports links and port binding. Added docker_image module 11 years ago
Michael DeHaan 0cdf8d3162 Merge pull request #5981 from angstwad/docfix
Documentation updates to rax_files, rax_files_objects
11 years ago
James Cammarata a1b7a93b69 Modified cloudformation module to use common ec2 module functions
Fixes #3688
11 years ago
Michael DeHaan e89dafc6c1 Merge pull request #5039 from bpennypacker/airbrake
airbrake: Made the reporting URL an optional parameter
11 years ago
Paul Durivage f18db0dd20 Doc updates 11 years ago
Robin Roth 660fa9183c remove check for version string
this check does not get used anywhere and is not needed as zypper/rpm can handle version information directly
11 years ago
Richard Isaacson eb4a730933 Merge pull request #5969 from risaacson/pull_5136
Updates for the unarchive module and action_plugin.
11 years ago
Richard C Isaacson 598b9c6b7c Cleanup per notes.
Some small changes to per notes from @mpdehann.
11 years ago
Richard C Isaacson cb7c2b7524 Updates for the unarchive module and action_plugin.
There is a bit going on with the changes here. Most of the changes are cleanup of files so that they line up with the standard files.

PR #5136 was merged into the current devel and brought up to working order. A few bug fixes had to be done to get the code to test correctly. Thanks out to @pib!

Issue #5431 was not able to be confirmed as it behaved as expected with a sudo user.

Tests were added via a playbook with archive files to verify functionality.

All tests fire clean including custom playbooks across multiple linux and solaris systems.
11 years ago
Richard C Isaacson e6c9705058 Merge remote-tracking branch 'pib/unarchive_remote' into pull_5136 11 years ago
Michael DeHaan f07091ed69 Merge pull request #5962 from sivel/rax-facts-docs-update
rax_facts and rax_keypair modules: update docs
11 years ago
Matt Martz e8952a5a99 The OpenStack auth attributes apply to rax_keypair also 11 years ago
jctanner fe94c0cd05 Merge pull request #5957 from sivel/rax-no-default-disk-config
rax module: Don't set a default for disk_config
11 years ago
Matt Martz 8095aa6584 Don't set a default disk_config. Defaulting to 'auto', causes issues with new images 11 years ago
Sean Chittenden 5e0cf6663a Fix broken behavior when removing all auxiliary groups from a user
(e.g. 'groups=' in the user module).
11 years ago
Matt Martz bd3c7c3efa The name parameter for search_opts is a regex string, so make sure we include start and end of string characters 11 years ago
Mohan Krishnan fb3c8c90e5 Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC 11 years ago
Brian Coca f475de2316 hopefully last batch of fixes
- removed previous 'typification' of input as it needs it is typed by
  module as strings and needs to be output as strings, making it
  useless.
- now checks for vtype and value against None when question is specified
- simplified set_selections as vtype and value should have a string
  value going in.
- added example of querying questions for a package
- added module requirement of question,vtype and value being required
  together.
11 years ago
Brian Coca a1de284dba made changes as per feedback:
- field names are more consistent with debconf
- values are now 'booleanized' or accepted as list/set objects when
  pertinent
- updated docs to reflect all of the above and debconf cli tools
  required
11 years ago
Michael DeHaan d3c1b8de78 Merge pull request #5883 from amirhhz/improve-ec2-module-docs
Improve ec2 module docs
11 years ago
Scott Anderson baf508a379 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 11 years ago
Jon Chen 970997c764 fix linode typo 11 years ago
Jesse Keating 4593e3c357 Make sure requested version tag gets downloaded
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.

This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.

The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
11 years ago
Richard Isaacson 66967bde14 Merge pull request #5905 from artursvonda/update-postgresql-docs
Added port documentation to postgresql_db and postgresql_user.
11 years ago
James Tanner a62af82757 Make ec2 exact_count and count mutually exclusive 11 years ago
James Tanner 70ebb05190 Return a tagged_instances list for hosts that matched the count_tag 11 years ago
Richard Isaacson 5a15762739 Merge pull request #5826 from romeotheriault/fix_follow_redirects
A fix for uri module regarding following redirects. The old behavior would follow redirects either way. This change clarifies the functionality and makes it a bit more explicit. Comparing the old behavior to the new 'yes' == 'all', 'no' == 'safe' and now 'no' will not follow any redirects. Historic behavior is still supported and documented with a push to the new values.
11 years ago
Arturs Vonda 6d85082586 Added port documentation to postgresql_db and postgresql_user 11 years ago
jctanner 6e7f684958 Merge pull request #5901 from jctanner/ec2_tag_exact_count_2
Add exact_count and count_tag to the ec2 module.
11 years ago
James Tanner f101768a9d Make an example that sets the instance Names 11 years ago
James Tanner 005ef837d9 Update docstrings 11 years ago
James Tanner fd919062cb Add exact_count and count_tag to the ec2 module. 11 years ago
Afterburn 398c71c1b7 small change to docs 11 years ago
Afterburn 2fe00ac8c9 small change to docs 11 years ago
Brian Coca 0233584343 fixed main() issue created in prev fix, now values are empty string if they were None
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
jctanner 0bc0315171 Merge pull request #5880 from willthames/ec2_modules_refactor
Create a common EC2 connection argument spec for EC2 modules
11 years ago
Will Thames 7600c664fe Create a common EC2 connection argument spec for EC2 modules
Refactor the currently well-factored ec2 modules (i.e. those that already use ec2_connect) to
have a common argument spec. The idea is that new modules can use this spec without duplication
of code, and that new functionality can be added to the ec2 connection code (e.g. security
token argument)
11 years ago
willthames 27fc3b8006 Module to create EC2 snapshots
Two methods of creating a snapshot
* use volume_id
* use device_name and instance_id

The latter is more useful with inventory
11 years ago
jctanner a1d2b5f257 Merge pull request #5363 from bcoca/acl_improved
acl module: acl now supports 'default'
11 years ago
Brian Coca 54a79bfc75 fixed docstring and changed type to etype avoiding python builtin
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca de956c57fe changes names to name in example 11 years ago
Brian Coca 453d473728 fixes as per feedback 11 years ago
Richard Isaacson 66f47c2096 Merge pull request #5891 from offby1/devel
Clarify doc for get_url
11 years ago
James Tanner 7268fe43e7 Use new syntax for module snippets in rabbitmq_policy and update changelog 11 years ago
jctanner cda3f06117 Merge pull request #4957 from retr0h/rabbitmq_policy
Added module to handle rabbit policies [1]
11 years ago
jctanner 7fcf6cebfe Merge pull request #5881 from willthames/ec2_keys
Minor tweaks to simplify examples and documentation
11 years ago
jctanner c13161993a Merge pull request #5410 from willthames/rds_snapshot
rds module: add snapshot capabilities
11 years ago
Eric Hanchrow 7e557663c2 Clarify doc for get_url
Move a sentence from doc for the "force" option to that for the "dest" option.
11 years ago
James Cammarata 77d5a18392 When force=yes, get_url should always download the specified file
This is accomplished by not setting the If-Modified-Since header,
and setting "cache-control: no-cache" instead. Note that if the
file content has not changed, the module will still report that
changed=false, as the md5's of the tmp file and existing file are
compared before swapping

Fixes #5104
11 years ago
jctanner f50f29f304 Merge pull request #5051 from deontologician/patch-1
Added -FF flag to rsync invocation in synchronize
11 years ago
jctanner 825a20780f Merge pull request #5127 from ovcharenko/patches
synchronize module: Added existing_only options to skip creating new files on receiver
11 years ago
jctanner 1f9de0c076 Merge pull request #5187 from 42wim/devel
Add support for --copy-links in synchronize
11 years ago
Tom Dymond 486d14cb2d Reworked PR to avoid repeating the command 11 years ago
Amir H. Hajizamani 843f4e7d7c Neaten up example YAML with 2-space indenting 11 years ago
Amir H. Hajizamani 7c38e8a225 Example should put instance_ids list in quotes for avoid YAML error 11 years ago
Amir H. Hajizamani b0bc2bd86a Fix missing quote mark in route53 doc example 11 years ago
willthames e0c245f1ae Minor tweaks to simplify examples and documentation
Made a few things more consistent with the bulk of the other EC2
modules and removed an unnecessary check that is handled by
AnsibleModule
11 years ago
jctanner a877b8b030 Merge pull request #5624 from mattsoftware/route53_ttl
Enable changes to ttl of a record to be propogated to route53
11 years ago
jctanner 5967b463c9 Merge pull request #5554 from ttarabul/devel
Use /etc/rc.conf.local for sevice configuration on FreeBSD
11 years ago
Tom Dymond cf80f9b68b Add option to enable the sysctl -e option 11 years ago
Matthew Jones 31ac3e71df Allow strings containing single and double quotes to be used as passwords for postgres_user 11 years ago
Timur Batyrshin 658c15930e reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 11 years ago
Richard C Isaacson 292d84165e Clean up stray space at the end of a line after a period. 11 years ago
Richard Isaacson f5ed7e1f0a Merge pull request #5828 from mxxcon/patch-1
Updated htpasswd docs to have choices for crypt_scheme
11 years ago
Pedro Romano 30c8f514a2 Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
and some APIs require it.
11 years ago
Timur Batyrshin db173453ba further compatibility with older versions of python-apt (#5853) 11 years ago
James Cammarata fcb760c36c Merge pull request #5843 from jimi-c/issue_4088
Adding no_log: capability for tasks
11 years ago
James Cammarata 75e3b59bbd Adding no_log: capability for tasks
Fixes #4088
11 years ago
Michael Porter 8ccbf13a13 (#5822) Use `mkstemp` to open a temporary file (as NamedTemporaryFile doesn't take a `delete` argument in Python < 2.6) 11 years ago
Michael DeHaan a1afd6987c Update copy
Update copy documentation to reference synchronize module
11 years ago
James Cammarata 9574f89471 Detect remote_user change in accelerate daemon and allow a restart
Fixes #5812
11 years ago
jctanner 086f879df9 Merge pull request #5823 from kustodian/authorized_keys
Updated authorized_key module documentation regarding manage_dir
11 years ago
Matt Martz 7498f212fc Update docs for rax_facts to include parameters added for other OpenStack clouds 11 years ago
mxxcon ffac1b5c7f Updated docs to have choices for crypt_scheme 11 years ago
jctanner 086cf0acb7 Merge pull request #5745 from angstwad/cf-module-revert
Add Rackspace Cloud Files module
11 years ago
jctanner 434c78f263 Merge pull request #5744 from angstwad/revert
Add Rackspace Cloud Files containers module
11 years ago
jctanner 203a66eb48 Merge pull request #4865 from claco/rax_queue
Add rax_queue module to create/delete Rackspace Cloud Queues
11 years ago
jctanner 360f06b41d Merge pull request #5806 from sivel/rax-mod-utils-improvements
Rax mod utils improvements
11 years ago
jctanner 6c1f75c688 Merge pull request #5132 from sivel/rax-keypair
Add rax_keypair module
11 years ago
jctanner 6265128c9e Merge pull request #4941 from sivel/rax-clb-shared-vip
Add ability to specify a VirtualIP ID for sharing a VIP with another LB
11 years ago
Manuel Tiago Pereira e563f847ec Fixes #5819: Added --executables to gem uninstall command. 11 years ago
Romeo Theriault 8ea59e8ce5 fix following redirects 11 years ago
kustodian a7839208c7 Updated authorized_key module documentation regarding manage_dir
Added a warning in the documentation about manage_dir when selecting an alternate directory for authorized_keys
11 years ago
Wim 06576fed25 Add support for --copy-links 11 years ago
James Cammarata cdc34477be Merge branch 'devel' of https://github.com/aclindsa/ansible into aclindsa-devel 11 years ago
Richard Isaacson c997f03b95 Merge pull request #5821 from risaacson/issue5781
If a executable is defined but not found the module should fail.
11 years ago
Aaron Lindsay 59ac969d2b Add move_home option to user module 11 years ago
Richard C Isaacson f0c4dace8d If a executable is defined but not found the module should fail. Addresses https://github.com/ansible/ansible/issues/5781. 11 years ago
jctanner 48c477ffc8 Merge pull request #5790 from geerlingguy/patch-3
Mention shell module in command documentation
11 years ago
jctanner b411cce6f3 Merge pull request #5784 from geerlingguy/patch-1
Update wait_for documentation - remove extra quote
11 years ago
Michael DeHaan 83f43b82ad ansible -> ansibleworks 11 years ago
Richard C Isaacson 7a2df2733f Tested implementation adding action option for (add, delete, unique). 11 years ago
Richard C Isaacson c198217900 Rough cut implementation based on @resmo's comments. 11 years ago
Richard C Isaacson cd871384de Rough cut implementation based on @resmo's comments. 11 years ago
Richard C Isaacson b00939acff Change to dynamically pick up the command from the PATH. 11 years ago
Richard C Isaacson 9650c118cf Formating and syntax fixes that were pointed out during code review. 11 years ago
Richard C Isaacson ec04e30186 Added user option. 11 years ago
Richard C Isaacson 3a7e579bc2 First commit of the at module being very basic. 11 years ago
Matt Martz 07c76d7ec9 Update rax module DOCUMENTATION with new auth options 11 years ago
Brian Coca 46dfe07181 be permissive with BSD with service enabled upper/lower/mixed cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
James Tanner 3ec043ec17 Fixes #5750 Fail on missing ~/.ssh and ignore accept_hostkey if stricthoskeychecking is off 11 years ago
James Tanner 1584d8f01b Add ec2_vol snapshot example from #4189 11 years ago
jctanner fca8ec3d3c Merge pull request #4508 from willthames/ec2_vol_snapshot
Added ability to create EC2 volume from snapshot
11 years ago
James Tanner 5cbe24913f Fix start/stop example in ec2 11 years ago
James Tanner 1641361057 Merge branch 'feat/ec2_start_stop' of git://github.com/Geryon/ansible into Geryon-feat/ec2_start_stop 11 years ago
Jeff Geerling bb2cdb11fd Mention shell module in command documentation
Users who use the command module for pretty much all shell commands may be stymied when they try using a command with <, >, $VAR, etc., and not know that they can use the `shell` module instead. This documentation fix clarifies this.
11 years ago
jctanner b8d3c0f865 Merge pull request #5506 from mohangk/fix_elb_register_new_instance
Fix exception being thrown for new instance registration with ELB
11 years ago
jctanner ff6b44e3e4 Merge pull request #5787 from jirutka/fix-sysctl-bool
sysctl: parse bool value as 0/1 and refactor a little bit
11 years ago
jctanner 821858ed08 Merge pull request #5380 from dhml/devel
ec2_group: rules can't reference containing group fix #5309
11 years ago
Jakub Jirutka 8c9a63bcd0 sysctl: parse bool value as 0/1 and refactor a little bit 11 years ago
Jeff Geerling 40e5f641e4 Update wait_for documentation - remove extra quote
The timeout is in seconds (int), and the extra quote at the end could throw someone off if they're copying and pasting the example.
11 years ago
Mohan Krishnan 0f95961e33 Fix exception being thrown for new instance
Currently if we are trying to register an instance that has not yet
been registered with the elb an exception is thrown.
11 years ago
willthames de659af82b Added the ability to add volumes to instances at creation time
This allows a volume to be cloned from a snapshot, a brand new
volume to be created, or an ephemeral volumes to be associated
at time of instance creation.

This avoids any race conditions associated with creating extra volumes
after instance creation (e.g. writes happening before the volume is
mounted).

In addition, this allows the root volume to be edited
11 years ago
James Tanner 17f0c9e477 Refactor ec2_elb_lb to use shared module snippet code 11 years ago
James Tanner 512c02b7d2 Fix missing description key 11 years ago
James Tanner 53b7a495ca Merge branch 'add_ec2_elb_lb_module' of git://github.com/jsdalton/ansible into jsdalton-add_ec2_elb_lb_module 11 years ago
Christopher H. Laco 745a480e5c Add rax_queue module to create/delete Rackspace Cloud Queues 11 years ago
Paul Durivage 2090e75e12 Use dict constructors 11 years ago
Paul Durivage d8bf5033ec Fix revert artifacts, doc update 11 years ago
James Tanner 4b80156267 Standardize some parameters in ec2_key 11 years ago
jctanner cbb2a4ce9b Merge pull request #5256 from zbal/ec2_keys
Add ec2_key module.
11 years ago
Paul Durivage b24474ae58 Remove dict comprehension; use dict constructor 11 years ago