Commit Graph

6050 Commits (524c7bd791db3069f2c5c87955c1bef3d1c65b78)
 

Author SHA1 Message Date
Bruce Pennypacker 19b8de7ede get file/path facts via 'stat' 11 years ago
Arturas Slajus 9be93d6ac7 Better error for fireball + sudo mode. 11 years ago
Lorin Hochstein f69f364b90 Add GPL header and copyright 11 years ago
Serge van Ginderachter f000dcd526 add more support for different size formats 11 years ago
Lorin Hochstein 06d92f1103 Add htpasswd module
Add a new module for managing entries in an htpasswd file, used
for basic authentication with web servers such as Apache and Nginx
11 years ago
Michael DeHaan 6304b7e793 Merge pull request #3332 from jlaska/rhn_register_cfgfile_fix
rhn_register - Correctly load up2date configuration
11 years ago
James Laska 4311412b44 Correctly load up2date configuration
Previously, a configuration file name of None was being passed into
up2dateInitConfig().  This resulted in a correct configuration import,
but failed to properly save the configuration back to disk in the event
a different serverURL was supplied.  This change removes support for
customizing the up2date filename entirely, and relies on up2date to
choose the default config filename.
11 years ago
Michael DeHaan f42e3bf010 Merge pull request #3323 from lorin/rabbit-pw-force
Doc: rabbitmq_user pw change and force
11 years ago
Michael DeHaan da34aec0fe Merge pull request #3322 from stoned/hacking-env-setup
Handle login shell bash processes hence match $0 with "*bash"
11 years ago
Lorin Hochstein 1bcc60992c Doc: rabbitmq_user pw change and force
Document that need to add force=yes to change password of
existing user
11 years ago
Stoned Elipot 6d2e94966c Handle login shell bash processes hence match $0 with "*bash" 11 years ago
martin f. krafft 3839dcd56c Remove extra $ character
Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft 85b8538e0e Expand usage of Python 2.6 if statement
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
Michael DeHaan 64995bfc22 Merge pull request #3314 from benjixx/fix-digitalocean-arguments
fix wrong argument_spec in digital_ocean module
11 years ago
Dale Sedivec b32131c867 expanduser on each component of plug-in paths
ansible.constants was calling expanduser (by way of shell_expand_path)
on the entire configured value for the library and *_plugins
configuration values, but these values have always been interpreted as
multiple directories separated by os.pathsep.  Thus, if you supplied
multiple directories for one of these values, typically only the first
(at least on *nix) would have e.g. "~" expanded to HOME.

Now PluginLoader does expansion on each individual path in each of
these variables.
11 years ago
martin f. krafft 3df2e15277 Let update-rc.d set changed flag properly
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189). This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
Benjamin Schwarze 31bc25063e fix wrong argument_spec in digital_ocean module
as 'required' and 'default' are mutually exclusive removed 'required' in preference of 'default'
11 years ago
John Jarvis a61ec2e6b3 typo 11 years ago
John Jarvis c85b0bb05f using instance_ids and state=absent for removing instances 11 years ago
Vincent Viallet 7b0b9016b5 Improve error messages on missing required variables. 11 years ago
Mark Mandel 73dda68e18 Don't turn on sudo for all tasks when setting the sudo_user or ask_sudo_pass, 11 years ago
Vincent Viallet c124411c36 Consistent wait_timeout between doc and module 11 years ago
Vincent Viallet 2eaf5ee206 Fix last bugs, complete all tests. 11 years ago
Vincent Viallet 17a55d6adf Update documentation 11 years ago
Vincent Viallet 9c26b9ddce Add linode cloud provider. 11 years ago
Ninety Thirty 7b1e87b62d Added flexible filename handling for main files
tasks, handlers, and vars main files can now be any of main, main.yml, or main.yaml
11 years ago
John Jarvis 3a5f095693 Adds termination support to the ec2 module
Pass in the `instances` output of the ec2 module
to terminate a list of instances that were previously provisioned.

Useful for automated testing.
11 years ago
Stephen Fromm 76d848331f Add submodule support to git module
This does two things:
* add --recursive option to git clone command in clone().  This will
  initialize all submodules when cloning a remote repository.
* Add submodule_update() and call that from fetch().  submodule_update()
  calls two git commands iff the file .gitmodules exists in the
  repository:
  * 'git submodule sync' - synchronizes the submodules' remote URL
    configuration setting to the value in .gitmodules.
  * 'git submodule update --init --recursive' - initialize and update
    registered submodules to the commit specified in the index of the
    containing repository.

If a repository was cloned without --recursive, submodule_update() will
ensure that the submodules are initialized and updated.
11 years ago
Michael DeHaan c7c5ac1ab6 Merge pull request #3288 from espro/devel
Update ansible.cfg
11 years ago
espro 3eeacaba81 Updated ansible.cfg to be more consistent
Updated the example ansible.cfg to be more consistent in spacing/commented lines
11 years ago
espro a00c7b0c08 Comment remote_user in ansible.cfg
remote_user should not be set in example config. This file is used in rpm .spec for /etc/ansible/ansible.cfg
11 years ago
espro e2cf3b2d29 Update ansible.cfg
Previous commit made config invalid.
11 years ago
James Laska eb2ae8b3c2 Reference major_release, not major_version 11 years ago
Mike Grozak bba19cb998 Fixed typo 11 years ago
Mike Grozak 541b086883 Updated documentaion for the file module 11 years ago
Mike Grozak 6c44e264c9 added possibility to force symlinks to none-existent destination (which might appear later) 11 years ago
Mike Grozak 57154b04bb added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 11 years ago
martin f. krafft bbbc214ffb Remove bashisms, replace with POSIX constructs
This replaces double conditional brackets with single ones and gets ris
of bashisms, so that the tool should be sourcable from any POSIX shell.

Constructs like [ $foo = "$bar"* ] yield filesystem-globbing behaviour
according to POSIX. A compliant way is to use case statements.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft 9f4988dbfd Quote variables in shell script
In case paths contain spaces, it's better to consistently quote
variables, and to use $() instead of `` for external invocations.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft 4b9f8fc294 Replace external command with shell construct
dirname/basename do not need an external process, shell variable
expansion can be made to do the same a bit faster.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft 013cd38929 Remove shebang line
The env-setup script is not intended to be run directly, so it does not
need a shebang line, which might even create the wrong expectations.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft fd02443d42 Enable negated patterns
A host pattern of the form '!foo' by itself does not work, but
'all:!foo' does. If the first pattern is a negation, this commit
automatically prepends 'all'.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
Michael DeHaan 995ef374db Fixup versions of newly added modules. 11 years ago
Michael DeHaan 85ef79443a Fix a documentation formatting warning. 11 years ago
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors. 11 years ago
Michael DeHaan 231d9b101d YAML fix 11 years ago
Michael DeHaan b72109a04b Merge pull request #3273 from jlund/ansiblecc-to-ansibleworkscom
Update all ansible.cc references in the documentation to point to ansibleworks.com
11 years ago
Michael DeHaan 727cee509c Merge branch 'PR_add_chdir_to_pip' of git://github.com/y-p/ansible into devel
Conflicts:
	library/packaging/pip
11 years ago
Michael DeHaan 4c51a6141b Merge remote branch 'origin/devel' into devel 11 years ago
Michael DeHaan 010440dc47 Merge pull request #3114 from laggyluke/roles_combine_vars
Added basic support for hash_behaviour=merge in roles
11 years ago