community.general/lib/ansible
Dag Wieers 14a9966984 Added cross-platform uptime fact
Having an uptime fact allows you to check after a reboot whether the system was effectively rebooted.

```yaml
  - name: Safeguard - Was system properly rebooted ?
    action: fail msg="System was not properly rebooted"
    when: ansible_uptime > 900
```

This patch has been tested on Linux, Solaris and HP-UX.
2014-06-05 11:58:00 +02:00
..
callback_plugins Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
inventory Fixed extension filtering in InventoryDirectory 2014-05-14 23:43:14 -07:00
module_utils Added cross-platform uptime fact 2014-06-05 11:58:00 +02:00
playbook Fix error passing play vars to an included playbook with empty vars 2014-06-04 13:22:50 -05:00
runner Add support for relative paths in the file lookup plugin for roles 2014-06-04 15:20:59 -05:00
utils Merge branch 'fix-7596' of https://github.com/kilburn/ansible into kilburn-fix-7596 2014-06-03 10:26:25 -05:00
__init__.py Version bump for 1.7 2014-05-05 16:37:46 -05:00
callbacks.py fix UnicodeEncodeError when prompt is unicode. 2014-05-21 23:43:19 +09:00
color.py Merge commit. 2014-03-16 17:08:26 -04:00
constants.py Adding a new system_warnings config option to supress warnings 2014-04-30 14:44:10 -05:00
errors.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
module_common.py Modify the way we set the localization environment 2014-05-01 10:34:53 -05:00