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/test/integration/targets/service/tasks
Pilou c5f37f6bd6 improve 'service' integration tests (#43655)
* service tests: check that daemon is really running

(spoiler: it isn't)

* service tests: add PIDFile directive in systemd unit

* service tests: check 'changed' too

* service tests: fix indentation & use changed test

* service tests: #16694 has been fixed a long time ago

* service tests: refactor

- always execute cleaning tasks
- move tests tasks in a dedicated file

* service tests: add test for #42786

* service tests: display value of ansible_service_mgr

* service tests: allow to run tests twice in a row

stop & disable ansible test service

* service tests: 'pattern' value must be a substring

'pattern' parameter is poorly named

* service tests: check ansible_test service status

* service tests: test daemon must handle SIGHUP

because 'initctl reload' sends SIGHUP, otherwise test daemon stops when
receiving the signal

* service tests: remove upstart override file too

and check that files were removed using raw module and stat command
2018-08-07 21:48:03 -07:00
..
main.yml improve 'service' integration tests (#43655) 2018-08-07 21:48:03 -07:00
systemd_cleanup.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
systemd_setup.yml improve 'service' integration tests (#43655) 2018-08-07 21:48:03 -07:00
sysv_cleanup.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
sysv_setup.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
tests.yml improve 'service' integration tests (#43655) 2018-08-07 21:48:03 -07:00
upstart_cleanup.yml improve 'service' integration tests (#43655) 2018-08-07 21:48:03 -07:00
upstart_setup.yml Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00