community.general/lib/ansible/module_utils
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
..
__init__.py Add package file. 2013-10-26 11:10:54 -04:00
basic.py Fix error when using os.getlogin() without a tty 2014-06-03 09:36:19 -05:00
ec2.py Merge branch 'ec2_security_token' of https://github.com/willthames/ansible into willthames-ec2_security_token 2014-03-11 10:45:38 -05:00
facts.py Added cross-platform uptime fact 2014-06-05 11:58:00 +02:00
gce.py Add BSD license to module_utils/gce.py 2014-03-10 12:02:45 -07:00
known_hosts.py Fix known_hosts.py to work on older versions of python 2014-05-14 22:36:32 +02:00
rax.py Validate SSL certs accessed through urllib* 2014-03-10 16:06:52 -05:00
redhat.py add missing license header 2014-04-24 10:31:04 -04:00
urls.py Default use_proxy to True for fetch_url() 2014-05-19 23:04:13 -05:00