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
Dag Wieers 72e7927dd5 win_scheduled_task: Added frequency: once and check_mode support (#22611)
* win_scheduled_task: Added frequency: once and check_mode support

This patch includes:
- Renamed `execute:` parameter to `executable:`
- Renamed `argument:` parameter to `arguments:`
- Implemented `frequency: once` support
- Implemented check_mode support
- Fix idempotency issue related to empty description
- Added integration tests

* Improve the integration test structure

I think this is a great way to test normal mode and check-mode from the same playbook.

* Small fixes after review
2017-03-15 07:11:24 -07:00
..
add_host Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
ansible Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
apache2_module Test apache2 force (#18500) 2016-12-12 14:19:47 -08:00
apt Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
apt_repository Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
args Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
asa_acl Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
asa_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
asa_config Check for removal not allowed errors (#19251) 2017-01-25 13:05:44 +00:00
assemble Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
async Fix infrequent PEP 8 issues. 2017-01-27 14:06:21 -08:00
async_extra_data Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
authorized_key authorized_key: support --diff (#19277) 2017-01-03 09:32:32 -05:00
become Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
binary Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
binary_modules Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
binary_modules_posix Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
binary_modules_winrm Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
blocks Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
callback_retry_task_name Fix 'task name is not templated in retry callback' (add task_name property to TaskResult) (#21214) 2017-02-24 12:33:24 -05:00
changed_when Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
check_mode Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
command_shell Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
conditionals Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection wait_for_connection: Wait for system to become reachable (#20011) 2017-03-01 11:00:49 -08:00
connection_chroot Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_docker Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_jail Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_libvirt_lxc Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_local Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_lxc Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_lxd Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_paramiko_ssh Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
connection_posix Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_ssh Add pipeline-ish method using dd for file transfer over SSH (#18642) 2017-01-19 12:31:14 -05:00
connection_winrm Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
copy Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
delegate_to Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
dellos6_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dellos6_config Use inventory_hostname_short (#20054) 2017-01-09 17:21:04 +00:00
dellos6_facts Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dellos9_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dellos9_config Use inventory_hostname_short (#20054) 2017-01-09 17:21:04 +00:00
dellos9_facts Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dellos10_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dellos10_config Use inventory_hostname_short (#20054) 2017-01-09 17:21:04 +00:00
dellos10_facts Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
dnf Installroot OS version check fix (#20180) 2017-01-12 18:02:35 -08:00
docker Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
embedded_module Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
environment Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
eos_banner add missing files (#22496) 2017-03-10 15:29:36 +00:00
eos_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
eos_config fixes issue with config parents on eos modules (#21923) 2017-02-25 16:40:13 -05:00
eos_eapi fixes eos_eapi to error on wrong transport (#21993) 2017-02-27 09:20:08 -05:00
eos_facts updates eos_facts integration test cases (#21988) 2017-02-27 07:43:00 -05:00
eos_system Test system (#22420) 2017-03-08 12:21:45 -07:00
eos_template Use inventory_hostname_short (#20054) 2017-01-09 17:21:04 +00:00
facts_d Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
failed_when Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
fetch Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
file Show diff when file: state=link changes the symlink target (#22243) 2017-03-06 11:29:20 -05:00
filters Fix hash filter for non-ascii strings and Python3 2017-02-15 10:50:10 -08:00
gathering_facts Fix and enable more tests for osx and freebsd. (#20482) 2017-01-19 17:10:33 -08:00
gem Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
get_url Fix and enable more tests for osx and freebsd. (#20482) 2017-01-19 17:10:33 -08:00
git Fix git clone tag with depth=1 2017-03-02 14:11:50 -08:00
group_by Fix group_by test to work with jinja2 >= 2.9. 2017-01-09 15:20:34 -08:00
groupby_filter Improve jinja2 test coverage. (#20533) 2017-01-20 16:38:52 -08:00
handlers tests: add handler listen test cases 2017-01-03 15:00:00 -08:00
hash Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
hg Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
hosts_field Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
ignore_errors Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
include_vars Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
includes Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
ios_command Enable more ios tests on Shippable. 2017-01-20 13:26:59 -08:00
ios_config Enable more ios tests on Shippable. 2017-01-20 13:26:59 -08:00
ios_facts iosxr tests: Initial work for 2.3 (#20883) 2017-01-31 19:10:14 +00:00
ios_system Test system (#22420) 2017-03-08 12:21:45 -07:00
ios_template Enable more ios tests on Shippable. 2017-01-20 13:26:59 -08:00
iosxr_command iosxr tests to work with 2.3 (#21998) 2017-02-27 14:37:06 +00:00
iosxr_config result.commands (not .updates) (#22139) 2017-03-01 13:10:40 +00:00
iosxr_facts iosxr tests: Initial work for 2.3 (#20883) 2017-01-31 19:10:14 +00:00
iosxr_system Test system (#22420) 2017-03-08 12:21:45 -07:00
iosxr_template Set block indentation to 1 on iosxr templates (#21105) 2017-02-07 21:13:20 +01:00
iterators Fix and enable more tests for osx and freebsd. (#20482) 2017-01-19 17:10:33 -08:00
junos_command update junos_command integration tests (#22213) 2017-03-02 16:46:23 -06:00
junos_config roll up of fixes and updates for junos modules (#22543) 2017-03-12 11:45:00 -05:00
junos_netconf roll up of fixes and updates for junos modules (#22543) 2017-03-12 11:45:00 -05:00
junos_template fixes candidate var type in junos shared lib (#22551) 2017-03-13 07:27:45 -04:00
known_hosts known_hosts: support --diff (#20349) 2017-02-08 09:56:03 -05:00
lineinfile Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
locale_gen Fix locale_gen to compare native strings rather than mixing byte and text strings 2017-01-04 10:11:33 -08:00
lookup_paths Fix regression in search path behaviour 2016-12-14 10:33:14 -05:00
lookup_properties Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
lookups Make password lookup treat /dev/null as a special case 2017-02-15 12:15:09 -08:00
loops Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
module_utils Module utils default path (#20913) 2017-02-02 17:48:53 -08:00
mount Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
mysql_db Enable MySQL tests on FreeBSD. 2017-02-14 12:39:48 -08:00
mysql_user Enable MySQL tests on FreeBSD. 2017-02-14 12:39:48 -08:00
mysql_variables Enable MySQL tests on FreeBSD. 2017-02-14 12:39:48 -08:00
net_command WIP: net_command: Initial tests for VyOS (#20147) 2017-01-17 11:06:34 +00:00
no_log Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
nxos_command Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
nxos_config roll up of fixes for nxos_config (#21949) 2017-02-25 16:36:00 -05:00
nxos_evpn_global roll up of bug fixs for nxos_evpn_global (#21961) 2017-02-26 06:45:26 -05:00
nxos_facts roll up of fixes for nxos_facts (#21954) 2017-02-25 17:48:09 -05:00
nxos_feature adds integration tests cases for nxos_feature (#21966) 2017-02-26 08:12:57 -05:00
nxos_mtu Test system (#22420) 2017-03-08 12:21:45 -07:00
nxos_nxapi roll up of fixes from nxos integration tests (#21948) 2017-02-25 13:17:04 +00:00
nxos_system Test system (#22420) 2017-03-08 12:21:45 -07:00
nxos_template fixes nxos_template integration test case (#21953) 2017-02-25 16:55:17 -05:00
ops_command Make tests run on fresh install (#19566) 2017-01-03 10:53:16 -05:00
parsing New module: cnos_vlan and various utility files (#21107) 2017-02-16 08:11:39 +00:00
ping Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
pip Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
postgresql add a intg test for issue #19835 (#21487) 2017-02-15 15:28:29 -05:00
prepare_eos_tests/tasks Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
prepare_http_tests Fix and enable more tests for osx and freebsd. (#20482) 2017-01-19 17:10:33 -08:00
prepare_ios_tests integration/targets/ios_* work to support IOS (#20414) 2017-01-20 20:18:12 +00:00
prepare_iosxr_tests iosxr tests: Initial work for 2.3 (#20883) 2017-01-31 19:10:14 +00:00
prepare_nxos_tests/tasks updates prepare_nxos_tests to use nxos_nxapi module (#22150) 2017-03-01 19:36:03 +00:00
prepare_tests/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_win_tests Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
pull_limit_inventory Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
pull_no_127 Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
pull_run Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
script Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
sefcontext Added tests for sefcontext module 2016-12-22 13:29:13 -08:00
service Run service test on py3 + unprivileged on docker. (#19841) 2017-01-04 15:55:57 -08:00
setup_mysql_db Enable MySQL tests on FreeBSD. 2017-02-14 12:39:48 -08:00
setup_postgresql_db Run postgresql tests on FreeBSD. (#20676) 2017-01-25 18:45:28 -08:00
slurp Test the slurp module 2017-02-15 11:14:03 -08:00
special_vars Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
stat Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
subversion Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
synchronize Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
tags Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
task_ordering Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
template Improve jinja2 test coverage. (#20533) 2017-01-20 16:38:52 -08:00
template_jinja2_latest Improve jinja2 test coverage. (#20533) 2017-01-20 16:38:52 -08:00
templating_settings Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
test_infra Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
unarchive Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
unicode Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
until Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
uri Warn when using the deprecated HEADER_ arguments (#20236) 2017-03-01 11:35:48 -05:00
var_blending Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
var_precedence Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
vault Add smoke/intg tests for vault cli (#21679) 2017-02-24 10:30:54 -05:00
vyos_command vyos: Don't run show commands that are over ANSIBLE_VYOS_TERMINAL_LENGTH (#18682) 2016-11-30 17:08:52 +00:00
vyos_config Vyos config fixes (#21862) 2017-02-25 21:14:40 -05:00
wait_for_connection wait_for_connection: Wait for system to become reachable (#20011) 2017-03-01 11:00:49 -08:00
win_async_wrapper make windows async ... async (#22624) 2017-03-14 16:37:55 -07:00
win_chocolatey win_chocolatey: Add integration tests (#21930) 2017-02-27 11:36:52 +00:00
win_command Fix broken Shippable 2017-01-31 16:47:16 -08:00
win_copy win_copy: added remote and content options (#21546) 2017-03-01 22:35:03 -08:00
win_feature Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_fetch Remove win_fetch from CI due to instability. 2017-01-24 17:33:11 -08:00
win_file Added fix for win_file with broken symlinks (#19146) 2017-02-08 18:49:49 -08:00
win_find Added win_find module (#19144) 2017-02-08 22:19:08 +00:00
win_get_url Test www.redhat.com instead of docs.ansible.com. 2017-02-21 20:24:22 -08:00
win_group Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_lineinfile Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_msi Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_package Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_path new module: win_path (#20073) 2017-01-17 20:21:04 -08:00
win_ping Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
win_raw Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
win_reg_stat Added win_reg_stat module (#19145) 2017-02-09 14:47:00 -08:00
win_regedit Adds integration test steps to win_regedit test to cover Extras 2090 (#15641) 2017-02-27 13:05:00 +00:00
win_region Added win_region module (#19147) 2017-02-20 11:50:27 +00:00
win_regmerge minor spelling changes 2016-12-13 13:51:13 -05:00
win_scheduled_task win_scheduled_task: Added frequency: once and check_mode support (#22611) 2017-03-15 07:11:24 -07:00
win_script temp disable Windows batch test 2017-02-24 11:10:14 -08:00
win_service win_service Added -Force option and minor cleanup (#22598) 2017-03-14 18:53:31 -07:00
win_setup Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_shell Fix broken Shippable 2017-01-31 16:47:16 -08:00
win_shortcut win_shortcut: Add missing $check_mode definition + bugfix + tests (#20911) 2017-02-02 10:29:56 +01:00
win_slurp Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_stat Fix win_stat test for changes from PR #20876 2017-02-03 12:58:11 -08:00
win_template Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
win_user Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
yum Installroot OS version check fix (#20180) 2017-01-12 18:02:35 -08:00
zypper Zypper: Fix update_cache in checkmode (#20143) 2017-01-11 18:47:16 +00:00
zypper_repository Add test for auto_import_keys in zypper_repository (#17898) 2016-12-09 09:47:56 -05:00