7777 - The name of the check command.
7878 - Though this is not required to be defined in the director, you still have to supply a check_command in a host or host-template.
7979 type: str
80+ check_interval:
81+ description:
82+ - Your regular check interval.
83+ type: str
8084 disabled:
8185 description:
8286 - Disabled objects will not be deployed.
139143 display_name: foohosttemplate
140144 disabled: false
141145 check_command: dummy
146+ check_interval: 90s
142147 groups:
143148 - "foohostgroup"
144149 imports:
@@ -173,6 +178,7 @@ def main():
173178 display_name = dict (required = False ),
174179 groups = dict (type = "list" , elements = "str" , default = [], required = False ),
175180 check_command = dict (required = False ),
181+ check_interval = dict (required = False ),
176182 imports = dict (type = "list" , elements = "str" , required = False ),
177183 disabled = dict (type = "bool" , default = False , choices = [True , False ]),
178184 address = dict (required = False ),
@@ -197,6 +203,7 @@ def main():
197203 "display_name" : module .params ["display_name" ],
198204 "groups" : module .params ["groups" ],
199205 "check_command" : module .params ["check_command" ],
206+ "check_interval" : module .params ["check_interval" ],
200207 "imports" : module .params ["imports" ],
201208 "disabled" : module .params ["disabled" ],
202209 "address" : module .params ["address" ],
0 commit comments