Commit Graph

3356 Commits (84467a8f124a0341f9d45d3c15b48fd7e5e1c1f0)

Author SHA1 Message Date
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
Paul Durivage 0a0ed538b2 Resolve revert conflicts 11 years ago
Paul Durivage 0cabb2fcc4 Imperfect revert w/ artifacts.
Revert "Revert "Merge pull request #5540 from angstwad/cf-container-module""

This reverts commit c3408f205e.

Conflicts:
	library/cloud/rax_files
11 years ago
Paul Durivage 95a436980a Doc updates; fix YAML problems 11 years ago
jctanner 3c455685bc Merge pull request #5603 from willthames/ec2_keypair_not_mandatory
key_name is not required when creating ec2 instances
11 years ago
Paul Durivage 48b09d85b4 Revert "Revert "Merge pull request #5496 from angstwad/cf-module""
This reverts commit b11d62270f.

Conflicts:
	library/cloud/rax_files_objects
11 years ago
Paul Durivage d298d3bfb4 Update documentation; fix YAML problems 11 years ago
James Tanner b11d62270f Revert "Merge pull request #5496 from angstwad/cf-module"
This reverts commit a807e3b9c8, reversing
changes made to df8ecdeded.
11 years ago
James Tanner c3408f205e Revert "Merge pull request #5540 from angstwad/cf-container-module"
This reverts commit bedc616f74, reversing
changes made to a807e3b9c8.
11 years ago
James Tanner bec35cc0c1 Revert "Fix docstrings in rax_files_objects"
This reverts commit e759832dd6.
11 years ago
James Tanner e759832dd6 Fix docstrings in rax_files_objects 11 years ago
jctanner bedc616f74 Merge pull request #5540 from angstwad/cf-container-module
Add module support for Rackspace Cloud Files Containers
11 years ago
jctanner a807e3b9c8 Merge pull request #5496 from angstwad/cf-module
Module support for Rackspace Cloud Files
11 years ago
jctanner df8ecdeded Merge pull request #5210 from sivel/rax-dns-record
rax_dns_record: Add rax_dns_record module
11 years ago
jctanner 339ab7b077 Merge pull request #5208 from sivel/rax-dns
Add rax_dns module
11 years ago
James Tanner 86ba8f4dff Fix git module parameters to conform to code standards 11 years ago
James Tanner 18050d50ec Fixes #4108 Add sshopts and keyfile parameters to the git module 11 years ago
Caleb Brown 19f7db3065 Fix a bug in "hg" module so that `pull` is not set to a version.
There is a bug in the `hg` module where if a `tag` is used it won't
properly be able to update to it.

This problem is exhibited on repository where a tag is moved from an
older commit to a newer commit.
11 years ago
James Cammarata 1ca6e4bbb1 Adding a check for pending tranasctions to the yum module
Fixes #4649
11 years ago
jctanner 07b6d6ffd6 Merge pull request #5690 from sivel/rax-regex-fix
rax module: Fix regex match
11 years ago
jctanner 5e886b8ca6 Merge pull request #5699 from jpmens/un1
module unarchive: documentation typos
11 years ago
jctanner 62d96620e1 Merge pull request #5704 from zimbatm/default-grove-service
notify/grove: set the service to "ansible" by default
11 years ago
Rene Moser a412eae9cd digital_ocean: added requirements in DOCUMENTATION 11 years ago
zimbatm fe4d203b9a notify/grove: set the service to "ansible" by default 11 years ago
Jan-Piet Mens d0912b84ef documentation typos 11 years ago
Matt Martz 89fbc64b60 Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more 11 years ago
Michael DeHaan c91ba3a7c7 Merge pull request #5680 from biolds/devel
Mark stat module as supporting check_mode
11 years ago
jctanner 297a28aa79 Merge pull request #5333 from mvermaes/yum_fix
yum module: Attempt #2 to cause yum to fail on invalid url
11 years ago
jctanner 7b76ad9e62 Merge pull request #5676 from simonz05/bugfix-sysctl-multivalue2
Correctly compare values returned by 'sysctl -e -n'
11 years ago
Jakub Jirutka 012e3ae206 Fixes #5679: lineinfile ignores newline in line argument 11 years ago
Laurent Defert f93b951bdd Mark stat module as supporting check_mode 11 years ago
Simon Zimmermann 3db808c840 correctly compare the values, better func name 11 years ago
Simon Zimmermann 055b404f13 Correctly compare values as returned from 'sysctl -e -n' 11 years ago
Simon Zimmermann 7495095496 fix str format error due to missing '%' in sysctl module 11 years ago
James Tanner 3bd99903a4 Fixes #5661 Handle null values for sysctl parameters 11 years ago
Michael DeHaan 2a46022bc7 Merge pull request #5658 from rishid/devel
Add support for Scientific Linux for hostname module
11 years ago
jctanner 450bb37c8c Merge pull request #5655 from scottgilbert/devel
Allow keystring passed to authorized_key to contain blank lines and comments
11 years ago
James Tanner 19cb22b6df Fixes #5656 quote values with multiple columns before calling
the sysctl command. Calling sysctl should also not be true by default
11 years ago
rishid 34f9349b5e Add support for Scientific Linux for hostname module
hostname module was lacking support for Scientific Linux, this commit adds it.
11 years ago
Scott Gilbert 0aedd0c0b2 Allow keystring passed to authorized_key to contain blank lines and comments 11 years ago
James Tanner 2c39576e80 Remove unused variable from authorized_key 11 years ago
jctanner 1f1fa6c09a Merge pull request #5322 from bcrochet/neutron-fip-select
quantum_* modules: Neutron name change, keeping backward compatibility
11 years ago
Rene Moser 849aab0a12 apt: fixed pkg=<name>=<version> fails if package is not yet installed.
Reported and patch provided by https://github.com/msolo. Closes GH-5625.
11 years ago
willthames 238da3cb02 ec2_elb module: Minor improvements to documentation
ELB(s) cause a weird formatting behaviour - it appears as EL**s**
Added choices documentation to the state option
11 years ago
James Tanner e22af253bb Fixes #5486 Keep authorized key options in tact and ordered 11 years ago
James Tanner c627358c37 sysctl module: append newline character to lines in the file 11 years ago
Michael DeHaan 6f49642286 All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
Fixing for standardization purposes.
11 years ago
René Moser 0f2bc0dad8 subversion: use LANG=C to prevent regex failures
Fixes bug GH-5549.
11 years ago
Michael Vermaes c55d144c50 Fail yum on invalid url with .rpm suffix 11 years ago
Matt Paine d392e067bf Enable changes to ttl of a record to be propogated to route53 11 years ago
jctanner 332d3d6a0e Merge pull request #5490 from rgbj/devel
user module/OpenBSD: using login_class always makes status 'changed'
11 years ago
jctanner 7d09c97621 Merge pull request #5472 from RSpiertz/apt_repository
apt_repository: don't crash if default_file doesn't exist
11 years ago
jctanner 09f7b11d1d Merge pull request #5435 from jkleckner/fix-mysql-dump-import
mysql_db module: make dump and import to use port argument
11 years ago
jctanner 6e39adb89e Merge pull request #5426 from lichesser/debian_release_4565
setup module: Partial fix for #4565, reporting Debian release version. Works only for Debian 7 and later
11 years ago
James Tanner fbba0bb3fc Fixes #5601 Do not append extra args when checking for pip command options 11 years ago
jctanner 2e1d92c2ec Merge pull request #5141 from kisielk/hg
hg module: Don't modify hgrc when running purge
11 years ago
jctanner e4d0ce5b08 Merge pull request #5383 from janitha/devel
Fixes #5381 bug when easy_install is used with virtualenv
11 years ago
jctanner daf90e776e Merge pull request #5349 from sergevanginderachter/httpmonbugfix
bigip_monitor_http: two small bug fixes
11 years ago
jctanner 48cebedae1 Merge pull request #5323 from zroger/django-manage-virtualenv-fix
django_manage module: need not require virtualenv in PATH
11 years ago
James Tanner 17c50cc81e sysctl module: fail if reloading the file did not succeed 11 years ago
jctanner 9ed379b7f8 Merge pull request #5282 from rhaido/hard_link_fix
file module: Added to the file module the functionality to force conversion hard link...
11 years ago
Michael DeHaan a7fbafe955 Merge pull request #5616 from resmo/fix/zypper_repo
zypper_repository: claims to support check_mode, but does not.
11 years ago
Michael DeHaan 5a305a60f7 Merge pull request #5604 from dbrgn/devel
apt_key module: Case insensitive presence checking
11 years ago
Michael DeHaan 28013885a1 Merge pull request #5613 from Oneiroi/mysql_user_grant_documentation
Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous
11 years ago
Rene Moser 62fd0b1269 zypper_repository: claims to support check_mode, but does not. Fixes GH-5614. 11 years ago
David Busby b4f86abafd Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous 11 years ago
Danilo Bargen 7436da08fe apt_key module: Case insensitive presence checking
Right now key_present() is case sensitive, only uppercase key IDs work. By using "grep -i", lowercase IDs should work too.
11 years ago
James Tanner ca05584495 Fixes #5469 Refactor sysctl module into object oriented code,
and add a sysctl_set parameter to manage the values in /proc
11 years ago
willthames 8fb5a66944 keypair is not absolutely required when creating ec2 instances 11 years ago
James Tanner eeee1e1c5a Set accept_hostkey to False by default in the git module and fail
early if the key is unknown
11 years ago
James Tanner 8665b0638a Add an "accept_hostkey" parameter to the git module to help automatically
accept hostkeys for git repos and prevent task hangs when the key is unknown
11 years ago
Michael DeHaan ea4bb9f57d Merge pull request #5562 from sivel/rax-clb-node-to-dict
rax_clb module: Ensure the id attribute is returned for a node
11 years ago
Matt Martz e3adaa648a Ensure the id attribute is returned for a node 11 years ago
willthames c06b63ce82 Added ability to create EC2 volume from snapshot
ec2_vol module now takes optional snapshot argument
Added relevant module argument handler and documentation
11 years ago
inetfuture(Aaron Wang) 64acd60d24 Fix npm documentation typo. 11 years ago
Tyler 2f813f7660 keep /usr/local/etc/rc.conf for backwards compatibility 11 years ago
Tyler 1a655b2dd7 Use /etc/rc.conf.local for sevice configuration on FreeBSD
/etc/rc.conf.local is the preferred location for system-specific
startup configuration, and /usr/local/etc/rc.conf generally isn’t used.

see:
http://www.freebsd.org/doc/handbook/configtuning-core-configuration.html
11 years ago
Paul Durivage a85e021640 Completed documentation and examples 11 years ago
Paul Durivage e822ddd910 Add rax_files_objects module for Rackspace Cloud Files support
This squashed commit fixed typos, changed to Py 2.4 compatible exceptions
11 years ago
Michael DeHaan 7bf2250ddf Merge pull request #5543 from jlund/improved-password-documentation
Improved the documentation for password generation
11 years ago
lichesser 7201972a56 Remove debugging code
I guess this is left over from testing
11 years ago
Joshua Lund 3b4f3f8ca3 Improved the documentation for password generation 11 years ago
Paul Durivage 41be035a43 Add module support for Rackspace Cloud Files Containers 11 years ago
James Tanner c8bd14925d Fixes #5369 Do not pass --force-yes to aptitude 11 years ago
James Tanner dee960716b Fixes #5353 create etc/hostname file in debian if it does not exist 11 years ago
jctanner 7520bac8ce Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
11 years ago
Michael DeHaan 1e6926b9ab Merge pull request #5528 from dverhelst/devel
Adding support for detecting RHEV Hypervisor in ansible_virtualization_type
11 years ago
jctanner 9a69b1b0ec Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
11 years ago
jctanner aa1f9f24c3 Merge pull request #5264 from drewlll2ll/file-fix
file module: Fixed missing prev_state == 'directory' in file
11 years ago
Alan Fairless 7a86083850 Fix postgresql_user to understand PG namespaces
Previously postgresql_user quoted user supplied identifers to create
grant statements that look like this:

    GRANT SELECT on "tablename" to "user";

Which only works if the tablename is not in a namespace.  If you supply
a namespaced tabelname like "report.revenue" then it creates this
incorrect statement:

    GRANT SELECT on "report.revenue" to "user";

Which will not find the "revenue" table in the "report" namespace, but
will rather look for a table named "report.revenue" in the current
(default public) namespace.  The correct form is:

    GRANT SELECT on "report"."revenue" to "user";

This approach could have the unfortunate effect that code that
previously relied on the other behavior to grant privileges on tables
with periods in their names may now break.  PostgreSQL users
typically shouldn't name tables as such, and users can still access the
old behavior and use tablenames with periods in the if they must by
supplying their own quoting.
11 years ago
Michael DeHaan e0cd4a45c6 Merge pull request #5489 from daghoidahl/devel
Use "brew list <name>" instead of grepping the output of "brew list". Fix for #5488
11 years ago
Paul Beattie e96377685e Fixed typo in example documentation 11 years ago
James Tanner 191be7b951 Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command 11 years ago
Aleksey Ovcharenko c57445c5f3 Downgraded module version_added. 11 years ago
rgbj f2150b101e On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter 11 years ago
Dag Høidahl 279098bd03 Use "brew list <name>" instead of grepping the output of "brew list".
Some brew packages are not listed with their package name, e.g. libjpeg.
11 years ago
jctanner 89abc35e59 Merge pull request #5167 from jaspernbrouwer/devel
service_module: Fixed false positive on initctl as enable_cmd
11 years ago
Michael DeHaan 2f811c40d7 Basic docsite formatting fixups 11 years ago
James Tanner 86719ce77f Fixes #5040 setup module: do not add primary interface info to the secondary interface data 11 years ago
Jim Kleckner dacef1915a Add quotes to password argument for dump/import
The password is passed on a command line for dump and import and needs
quoting.

Ideally, this would not be passed on a command line at all - any ideas?
Or at least have a stronger form of quoting so that embedded single
quotes will be escaped.
11 years ago
Rutger Spiertz 763c0305c1 apt_repository: don't crash if default_file doesn't exist 11 years ago
Jinn Koriech aebae13c9b postgresql_user module: Gracefully handle ALTER ROLE on read-only postgres servers. 11 years ago
Michael DeHaan 99616d0c80 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 11 years ago
Michael DeHaan d4cd1fba8b add a note about raw/endraw 11 years ago
Jim Kleckner edca1d69cf Fix documentation example for the fail module
The example for the fail module doesn't work:
  http://www.ansibleworks.com/docs/modules.html#fail

The current text shows:
    - fail: msg="The system may not be provisioned according to the CMDB status."
      when: "{{ cmdb_status }} != 'to-be-staged'"

The "when" documentation indicates that the argument is already a Jinja2
expression:
  http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement

Thus, the following is
      when: cmdb_status != "to-be-staged"

is preferred even though the following could work but generates a
deprecation warning:
      when: {{cmdb_status != "to-be-staged"}}
11 years ago
Jim Kleckner f532b449d7 Fix mysql_db dump and import to use port argument
The code for mysql_db did not pass the port argument when state=dump or
state=import.
11 years ago
Mikhail Sobolev 8733b5da8b fix short/full description for elasticache 11 years ago
Michael DeHaan cfcdc3403e Use task names in examples. 11 years ago
Michael DeHaan 4765032fcb Merge branch 'devel' of git://github.com/beefsalad/ansible into devel 11 years ago
Michael DeHaan 1260225fc9 Merge pull request #5427 from bcoca/template_docs2
added more usefull example for jinja2 overrides
11 years ago
beefsalad 5b2fda6fa6 added descriptions for yum options
Updated main description to state that the yum module will handle package groups.  Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
11 years ago