mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Ansible.Basic - add required_by to module spec (#51407)
* Ansible.Basic - add required_by to module spec * fix typo in docs
This commit is contained in:
@@ -12,6 +12,9 @@ $spec = @{
|
||||
state = @{ type = "str"; choices = "absent", "present"; default = "present" }
|
||||
value = @{ type = "str" }
|
||||
}
|
||||
required_by = @{
|
||||
present = @("value")
|
||||
}
|
||||
required_if = @(,@("state", "present", @("value")))
|
||||
supports_check_mode = $true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user