1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/system
Amin Vakil b25f0f3cd2 New module: shutdown (#700)
* New module: shutdown

* Add symlink to plugin

* Fix

Signed-off-by: Amin Vakil <info@aminvakil.com>

* Fix

* Fix

* Add seealso

* Fix seealso

* Add future-import, metaclass boilerplate

* Change pre_shutdown_delay to delay

* Cleanup before executing shutdown

* Fix

* Remove unused connect_timeout paramater

* Improve documentation

* Remove deprecated function and calling it

* Remove double calling delay function

* Remove unneeded call in check delay function

* Make check mode more realistic

* Remove extra blank line

* Remove unnecessary imports and fix copyright year

* Add shutdown_command and integration test

* Fix integration test

* Don't fail on local AND enabled check_mode

* Add copyright

* Skip ubuntu1804 as systemd-sysv is not installed on container

* Ignore ubuntu 18 on task

* Readd integration tests

* Do not run integration test on ubuntu 18

* Improve integration test and add delay, msg testing

* Fix ubuntu 18 integration test

* Remove unnecessary condition

(cherry picked from commit c475effeed)
2020-08-18 08:29:38 +02:00
..
aix_devices.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_filesystem.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_inittab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_lvg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_lvol.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
alternatives.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
awall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
beadm.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
capabilities.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
cronvar.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
crypttab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dconf.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dpkg_divert.py Add version_added for all new features (#214) 2020-06-13 15:01:19 +02:00
facter.py Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
filesystem.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
gconftool2.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
interfaces_file.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
iptables_state.py New module: iptables_state (#271) 2020-08-18 08:29:31 +02:00
java_cert.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
java_keystore.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
kernel_blacklist.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
launchd.py launchd: new module to control services on macOS hosts (#305) 2020-07-22 16:54:58 +03:00
lbu.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
listen_ports_facts.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
locale_gen.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
lvg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
lvol.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
make.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
mksysb.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
modprobe.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
nosh.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
ohai.py Fix M(). (#591) 2020-06-29 14:59:15 +02:00
open_iscsi.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
openwrt_init.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
osx_defaults.py osx_defaults: fix handling negative integers (#676) 2020-07-21 16:12:21 +02:00
pam_limits.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pamd.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
parted.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pids.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
puppet.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
python_requirements_facts.py Initial commit 2020-03-09 09:11:07 +00:00
python_requirements_info.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
runit.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
sefcontext.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
selinux_permissive.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
selogin.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
seport.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
shutdown.py New module: shutdown (#700) 2020-08-18 08:29:38 +02:00
solaris_zone.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svc.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
syspatch.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
timezone.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
ufw.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
vdo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
xfconf.py Added uint type to xfconf module (#696) 2020-07-28 10:40:40 +03:00
xfs_quota.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00