Commit Graph

5798 Commits (c55adc9ac9d4e67aeeb1b0e1d58e4e013538f164)
 

Author SHA1 Message Date
Michael DeHaan 49eb772667 Update changelog 11 years ago
Michael DeHaan 4c43264033 Various code reformatting 11 years ago
Michael DeHaan db94171f5b Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 11 years ago
Michael DeHaan 2ed9b52481 Quote some strings in the docs 11 years ago
Michael DeHaan 3570c191c0 Update changelog 11 years ago
Michael DeHaan dbbb2bc269 Merge remote branch 'origin/devel' into devel 11 years ago
Michael DeHaan e1abda42a9 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
11 years ago
Michael DeHaan 3060e66e77 Update CHANGELOG 11 years ago
Michael DeHaan 7b7cd855c4 Merge pull request #3091 from sdossett/with_inventory_hostnames
with_inventory_hostnames inventory based lookup plugin
11 years ago
Michael DeHaan fc45470162 Merge branch 'with_inventory_hostnames' of git://github.com/sdossett/ansible into inv_hostnames 11 years ago
Michael DeHaan c80ad67d7e Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
11 years ago
Michael DeHaan b1596073c5 update changelog 11 years ago
Michael DeHaan 2e680019c9 Merge remote branch 'origin/devel' into devel 11 years ago
Michael DeHaan faaa90ed03 Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
11 years ago
Michael DeHaan c9c45ac597 Reformat examples 11 years ago
Vincent Viallet cc1cb01540 Rename digital ocean module to digital_ocean, add documentation. 11 years ago
Vincent Viallet 66b5689afb 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. 11 years ago
Vincent Viallet 60d1ff125e Add digital-ocean cloud support. 11 years ago
Michael DeHaan f9a09e10e5 Merge branch 'digitalocean' of git://github.com/devo-ps/ansible into ocean 11 years ago
Michael DeHaan 5ac1e7d0ca Merge pull request #3209 from madduck/generalise-hacking-dir-path-discovery
Generalise hacking dir path discovery
11 years ago
Michael DeHaan 4553b3d0cf Merge branch 'generalise-hacking-dir-path-discovery' of git://github.com/madduck/ansible into envsetup2 11 years ago
Michael DeHaan 0ce7996bb6 Merge pull request #3266 from trbs/20130619_first_found
enable use of multiple terms in first_found
11 years ago
Michael DeHaan ffb94f2e71 Merge branch 'purge' into devel 11 years ago
martin f. krafft 6a7dac6176 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>
11 years ago
Michael DeHaan 50fa88f28a Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 11 years ago
Joshua Lund 0f81d1630f * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
11 years ago
Michael DeHaan 6d6df1959c Merge pull request #3259 from dirtyharrycallahan/b_setup
bug fix: modify get_device_facts to handle servers with multiple pci domains
11 years ago
Michael DeHaan d2721526de Small tweak, don't merge conditionals, just evaluate each in turn. 11 years ago
Michael DeHaan 58f5bfb4c1 Merge pull request #3252 from tgerla/gettingstarted
Explicitly mention the Linux requirement for the Ansible machine, remove...
11 years ago
Michael DeHaan 20104bf14d Correct description in CHANGELOG 11 years ago
Michael DeHaan 6ff05e0fc0 Update CHANGELOG 11 years ago
Michael DeHaan d9c0a5c37d Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
11 years ago
Daniil 07bea63533 Allow 'ec2.group' field to handle lists of groups 11 years ago
Michael DeHaan e8db983684 Merge pull request #3267 from SirScott/changelog
It's WITH_ITEMS_USES_LIST not WITH_ITEMS_WANTS_LIST.
11 years ago
Scott Sturdivant 46c7809e6e It's WITH_ITEMS_USES_LIST not WITH_ITEMS_WANTS_LIST. 11 years ago
Michael DeHaan 0bd92d8196 Merge pull request #3262 from j2sol/add-host-name
make name the parameter, with hostname as alias
11 years ago
Michael DeHaan 5b1babbdc0 Merge pull request #3260 from lorin/migrate-noinput
django_manage: Pass --noinput to migrate
11 years ago
Michael DeHaan d0a4f2d1e4 Merge pull request #3264 from arturaz/devel
datadog_event module requires urllib2, not httplib2.
11 years ago
trbs 87c7fa9138 enable use of multiple terms in first_found 11 years ago
Bruce Pennypacker 9098908cc8 Set master_password for modify command 11 years ago
martin f. krafft ae42144752 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>
11 years ago
Arturas Slajus 0ea0a2c6d7 datadog_event module requires urllib2, not httplib2. 11 years ago
martin f. krafft 420f7d7ac6 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>
11 years ago
martin f. krafft 8e37a2bec9 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>
11 years ago
George Miroshnykov c642ba77ae Added basic support for hash_behaviour=merge in roles
Dict vars passed to roles are now properly merged
instead of simply overriding dict vars that are
coming from vars_files.
11 years ago
Jesse Keating 1074896105 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
11 years ago
Lorin Hochstein 1ef1b03bf6 django_manage: Pass --noinput to migrate
The django 'migrate' command should receive the --noinput command,
otherwise it can block waiting for user input.
11 years ago
Patrick Callahan b5b862fe6f 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.
11 years ago
Tim Gerla f2cf8d3e67 Fine-tune Ansible control system OS requirements a bit 11 years ago
Michael DeHaan fc2d25eb82 Merge pull request #3127 from bennojoy/devel
bug fix for #3077, environment settings for script
11 years ago