Commit Graph

1915 Commits (6a1d6ee25f5d8a0ceb312a7ac8f6b92e57031b0b)
 

Author SHA1 Message Date
Jesse Keating 6a1d6ee25f Elapsed time should account for the delay 11 years ago
Jesse Keating 49846ae945 Remove a trailing quote 11 years ago
Michael DeHaan d5c78558b7 Merge pull request #3350 from billwanjohi/devel
validate files: fix usage error in example tasks
11 years ago
Michael DeHaan 3dc560a1a2 Fixup previous apt_key patch to enable file based modes to work. 11 years ago
billwanjohi 45e5005140 validate files: fix usage error in example command
visudo requires the -f option to check any other file than the default.
I've added this to the example ansible tasks.
11 years ago
James Laska ab745fa0b6 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
Lorin Hochstein 12c189231c Doc: rabbitmq_user pw change and force
Document that need to add force=yes to change password of
existing user
11 years ago
Benjamin Schwarze 7cc00f9a03 fix wrong argument_spec in digital_ocean module
as 'required' and 'default' are mutually exclusive removed 'required' in preference of 'default'
11 years ago
Michael DeHaan 0ed5d18d60 Fixup versions of newly added modules. 11 years ago
Michael DeHaan 997bf64f3f Fix up some module docs formatting errors. 11 years ago
Michael DeHaan e6bc5ce124 YAML fix 11 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
11 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
11 years ago
Michael DeHaan 78bc5fd729 Various code reformatting 11 years ago
Michael DeHaan 7b8101eebf Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 11 years ago
Michael DeHaan 2b5a7c69a9 Quote some strings in the docs 11 years ago
Michael DeHaan b5d25b9843 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
11 years ago
Michael DeHaan 28157b5a7a Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
11 years ago
Michael DeHaan f986665c5d Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
11 years ago
Michael DeHaan a85c97edfb Reformat examples 11 years ago
Vincent Viallet a8e6e7c312 Rename digital ocean module to digital_ocean, add documentation. 11 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. 11 years ago
Vincent Viallet 0d649ebe26 Add digital-ocean cloud support. 11 years ago
Michael DeHaan 1bbbf445b3 Merge branch 'digitalocean' of git://github.com/devo-ps/ansible into ocean 11 years ago
Michael DeHaan 71e6f1ee67 Merge branch 'purge' into devel 11 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>
11 years ago
Michael DeHaan fe871ecfd4 Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 11 years ago
Joshua Lund 166ea0e175 * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
11 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
11 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
11 years ago
Daniil 9d79bfa4ee Allow 'ec2.group' field to handle lists of groups 11 years ago
Michael DeHaan 909395f81a Merge pull request #3262 from j2sol/add-host-name
make name the parameter, with hostname as alias
11 years ago
Michael DeHaan e401602837 Merge pull request #3260 from lorin/migrate-noinput
django_manage: Pass --noinput to migrate
11 years ago
Michael DeHaan 9f97a1b208 Merge pull request #3264 from arturaz/devel
datadog_event module requires urllib2, not httplib2.
11 years ago
Bruce Pennypacker 85c8c87361 Set master_password for modify command 11 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>
11 years ago
Arturas Slajus ce8c3a5685 datadog_event module requires urllib2, not httplib2. 11 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>
11 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>
11 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
11 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.
11 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.
11 years ago
Michael DeHaan 0596f474cf Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
11 years ago
Michael DeHaan 0a51cdbe1f Merge pull request #3219 from arturaz/devel
datadog_event module: submit your events to DataDog service.
11 years ago
Michael DeHaan 393bfd59b7 Merge branch 'file_hard' of git://github.com/bcoca/ansible into devel
Conflicts:
	library/files/file
11 years ago
Michael DeHaan e4f3c4e286 Clarify module docs 11 years ago
Michael DeHaan 03f1578768 Merge conflict 11 years ago
Michael DeHaan 69ff91505c Merge remote branch 'origin/devel' into devel 11 years ago
Michael DeHaan f53bc323a5 Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
11 years ago
Michael DeHaan 9cdb513751 Merge pull request #3255 from jlund/sha256-example-cleanup
Removed merge conflict header
11 years ago