- 19 Jun, 2013 16 commits
-
-
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>
martin f. krafft committed -
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>
martin f. krafft committed -
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>
martin f. krafft committed -
bug fix for #3077, environment settings for script
Michael DeHaan committed -
changed get_mount_facts to ignore mount types 'none'
Michael DeHaan committed -
Michael DeHaan committed
-
datadog_event module: submit your events to DataDog service.
Michael DeHaan committed -
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Add OpenRC support to the service module.
Michael DeHaan committed -
Removed merge conflict header
Michael DeHaan committed -
Make 'ansible_ssh_user' available in templates
Michael DeHaan committed
-
- 18 Jun, 2013 23 commits
-
-
pkg option of apt is not required
Michael DeHaan committed -
Fix typo in PKGBUILD
Michael DeHaan committed -
spelling ansbile->ansible
Michael DeHaan committed -
You can use apt module with update_cache and without specifying a package. Update the docs to reflect this.
Jesse Keating committed -
Jim Tittsler committed
-
ansbile.cfg -> ansible.cfg
Buce committed -
Joshua Lund committed
-
-
Added placement_group parameter for cluster compute. Issue 3232.
Michael DeHaan committed -
Document the 'default' argument for vars_prompt.
Michael DeHaan committed -
Fixed a few small typos
Michael DeHaan committed -
-
Michael DeHaan committed
-
Joshua Lund committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
commit c36b66dc952dfff91043ecbca56cf3f1f8f00703 Merge: 240d7bf1 f4cf934 Author: Michael DeHaan <michael@ansibleworks.com> Date: Tue Jun 18 13:04:51 2013 -0400 Merge branch 'unevaluated-vars' of git://github.com/lorin/ansible into lorin_undefined Conflicts: lib/ansible/runner/__init__.py commit f4cf93436767f73b62a16067ab5e628830045896 Merge: 2531440 07a1365c Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Thu Jun 6 11:07:41 2013 -0400 Merge branch 'devel' into unevaluated-vars commit 253144045cbafd7d72836f1017c62ac4ba623186 Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Thu Jun 6 11:06:37 2013 -0400 Fail template from file on undefined vars If config option is set, raise an exception if templating from a file and a variable is undefined. commit aecb71d8b75257f0f3e11a9b176fc3737aecef8d Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Wed Jun 5 17:12:12 2013 -0400 Add fail_on_undefined flag Add a fail_on_undefined flag to the template and template_from_string methods. If this flag is true, then re-raise the ninja2.excpetions.UndefinedError instead of swallowing it. commit cbb1808f0585f01536240aee05a1bfd06c4b4647 Merge: d4bbf49 41425fb5 Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Wed Jun 5 16:14:12 2013 -0400 Merge branch 'devel' into unevaluated-vars commit d4bbf492b0b63c789d66ab60d0ec634d100fca82 Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Mon Jun 3 19:46:13 2013 -0400 template: Raise UndefinedError exception In template_from_string, raise an undefined error if it occurs. Have the caller catch it and throw an AnsibleUndefinedVariable commit c94780280515f1f3756fdc429b2b1e87b365e9b7 Merge: 8d919d6 be33bcf1 Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Mon Jun 3 10:09:43 2013 -0400 Merge branch 'devel' into unevaluated-vars commit 8d919d6c97b28a42f47ca7248c542695baf6175f Merge: 0f68ad8 b8630d2b Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Thu May 30 16:27:48 2013 -0400 Merge branch 'devel' into unevaluated-vars commit 0f68ad8193ac17488e339a258f8c63fdae399c26 Author: Lorin Hochstein <lorin@nimbisservices.com> Date: Thu May 30 14:32:03 2013 -0400 Optionally fail task on undefined variables This patch introduces a new configuration option called error_on_undefined_vars, which defaults to false. If this option is set to true, then a task which has unevaluated variables in its arguments will fail instead of running. Output looks like this: TASK: [set rabbitmq password] ************************************************* fatal: [10.20.0.7] => Undefined variables: rabbitmq_user, rabbitmq_password
Michael DeHaan committed -
Allow to use ansible_ssh_user variable in `sudo_user` or `when` clauses
Gilles Cornu committed -
Scott Sturdivant committed
-
Michael DeHaan committed
-
Docs: consistently format playbook EXAMPLES
Michael DeHaan committed -
Display default value in prompt when using vars_prompt
Michael DeHaan committed -
now mount/unmount binaries are searched for instead of hardcoded
Michael DeHaan committed
-
- 17 Jun, 2013 1 commit
-
-
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Brian Coca committed
-