##### SUMMARY
`esc_period` is mandatory even with `state: absent` - should be optional in that case.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
zabbix_action

##### ANSIBLE VERSION
latest

##### CONFIGURATION
Not relevant.

##### OS / ENVIRONMENT
Not relevant.

##### STEPS TO REPRODUCE
```yaml
  - name: "Report problems to Zabbix administrators"
    event_source: 'trigger'
    state: absent
```

##### EXPECTED RESULTS
Action, if exists, is removed.

##### ACTUAL RESULTS
```paste below
"msg": "missing required arguments: esc_period"
```
"""Get script by script name
        Args:
            script_name: script name
        Returns:
            script matching script name
        """
        try:
            if script_name is None:
                return {}
            script_list = self._zapi.script.get({
                'output': 'extend',
                'selectInventory': 'extend',
                'filter': {'name': [script_name]}
            })
            if len(script_list) < 1:
                self._module.fail_json(msg="Script not found: %s" % script_name)
            else:
                return script_list[0]
        except Exception as e:
            self._module.fail_json(msg="Failed to get script '%s': %s" % (script_name, e))
class Action(object):