Commit Graph

1970 Commits (ce833be30f30163d97dbd5359f5d6d7257b4116c)
 

Author SHA1 Message Date
John Jarvis eb97624de3 typo 12 years ago
John Jarvis abffe2e9a6 using instance_ids and state=absent for removing instances 12 years ago
Vincent Viallet e7f17e7989 Improve error messages on missing required variables. 12 years ago
Vincent Viallet c3846dd33b Consistent wait_timeout between doc and module 12 years ago
Vincent Viallet a04af8e461 Fix last bugs, complete all tests. 12 years ago
Vincent Viallet fa0595e72b Update documentation 12 years ago
Vincent Viallet 3efba3f529 Add linode cloud provider. 12 years ago
John Jarvis 0cc09a47e5 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.
12 years ago
Stephen Fromm ddee9187f0 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.
12 years ago
Mike Grozak da2fb08d47 Fixed typo 12 years ago
Mike Grozak 58618eef8d Updated documentaion for the file module 12 years ago
Mike Grozak ee813d3bd7 added possibility to force symlinks to none-existent destination (which might appear later) 12 years ago
Mike Grozak 4716b779f6 added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 12 years ago
Michael DeHaan 0ed5d18d60 Fixup versions of newly added modules. 12 years ago
Michael DeHaan 997bf64f3f Fix up some module docs formatting errors. 12 years ago
Michael DeHaan e6bc5ce124 YAML fix 12 years ago
Michael DeHaan 52ef5056d9 Merge pull request #3273 from jlund/ansiblecc-to-ansibleworkscom
Update all ansible.cc references in the documentation to point to ansibleworks.com
12 years ago
Michael DeHaan 531e290033 Merge branch 'PR_add_chdir_to_pip' of git://github.com/y-p/ansible into devel
Conflicts:
	library/packaging/pip
12 years ago
Michael DeHaan 78bc5fd729 Various code reformatting 12 years ago
Michael DeHaan 7b8101eebf Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 12 years ago
Michael DeHaan 2b5a7c69a9 Quote some strings in the docs 12 years ago
Michael DeHaan b5d25b9843 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
12 years ago
Michael DeHaan 28157b5a7a Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
12 years ago
Michael DeHaan f986665c5d Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
12 years ago
Michael DeHaan a85c97edfb Reformat examples 12 years ago
Vincent Viallet a8e6e7c312 Rename digital ocean module to digital_ocean, add documentation. 12 years ago
Vincent Viallet dc5a34efbe Ensure an existing ssh-key returns useful information (id + name) instead of a string; this way it can be used to register a variable to use in a later task. 12 years ago
Vincent Viallet 0d649ebe26 Add digital-ocean cloud support. 12 years ago
Michael DeHaan 1bbbf445b3 Merge branch 'digitalocean' of git://github.com/devo-ps/ansible into ocean 12 years ago
Michael DeHaan 71e6f1ee67 Merge branch 'purge' into devel 12 years ago
martin f. krafft 71f0cdc334 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Michael DeHaan fe871ecfd4 Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 12 years ago
Joshua Lund 166ea0e175 * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
12 years ago
Michael DeHaan 204fb803c6 Merge pull request #3259 from dirtyharrycallahan/b_setup
bug fix: modify get_device_facts to handle servers with multiple pci domains
12 years ago
Michael DeHaan 79a9629108 Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
12 years ago
Daniil 9d79bfa4ee Allow 'ec2.group' field to handle lists of groups 12 years ago
Michael DeHaan 909395f81a Merge pull request #3262 from j2sol/add-host-name
make name the parameter, with hostname as alias
12 years ago
Michael DeHaan e401602837 Merge pull request #3260 from lorin/migrate-noinput
django_manage: Pass --noinput to migrate
12 years ago
Michael DeHaan 9f97a1b208 Merge pull request #3264 from arturaz/devel
datadog_event module requires urllib2, not httplib2.
12 years ago
Bruce Pennypacker 85c8c87361 Set master_password for modify command 12 years ago
martin f. krafft a52f531c5b Always assume purged for older python-apt
Older python-apt modules don't export Package.installed_files and there
seems to be no other way to figure out if a package is
removed-but-not-purged, so we just always assume it's purged.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Arturas Slajus ce8c3a5685 datadog_event module requires urllib2, not httplib2. 12 years ago
martin f. krafft 3d1db80fe0 Introduce non-purged package status
A package may be removed but not purged with APT. The only way to
identify this state is by looking at the list of installed files of
a package. Even if the package has no files installed, this list will be
non-empty until the package is removed:

  # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files"
  <Package: name:'ruby1.8' id:1425> None [u'']

  # dpkg --purge ruby1.8
  (Reading database ... 27904 files and directories currently installed.)
  Removing ruby1.8 ...
  Purging configuration files for ruby1.8 ...

  # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files"
  <Package: name:'ruby1.8' id:1425> None []

See http://bugs.debian.org/712749 too.

If a package is not marked installed but it still 'has_files', then it
should be processed if the request is to purge it.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 1bf4438e60 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Jesse Keating c050f911af make name the parameter, with hostname as alias
name is used throughout Ansible, it's the "standard". This change
applies that standard to the add_host routine and updates the docs to
reflect that. Related to https://github.com/ansible/ansible/pull/3254
12 years ago
Lorin Hochstein 4f841e6f62 django_manage: Pass --noinput to migrate
The django 'migrate' command should receive the --noinput command,
otherwise it can block waiting for user input.
12 years ago
Patrick Callahan d76151d47b bug fix: modify get_device_facts to handle servers with multiple pci domains
On machines with multiple pci domains get_device_facts would fail to
find a matching pci device causing setup to fail. Also on some platforms
there is additional information between the pci information and 'host'.
Modified get_device_facts to call lspci with the -D option and modified
the regex to account for the pci domain and to be more selective.
12 years ago
Michael DeHaan 0596f474cf Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
12 years ago
Michael DeHaan 0a51cdbe1f Merge pull request #3219 from arturaz/devel
datadog_event module: submit your events to DataDog service.
12 years ago
Michael DeHaan 393bfd59b7 Merge branch 'file_hard' of git://github.com/bcoca/ansible into devel
Conflicts:
	library/files/file
12 years ago