Register community Ansible modules
This commit is contained in:
parent
eb03970129
commit
fba61dbc5a
2 changed files with 8 additions and 0 deletions
4
types.go
4
types.go
|
|
@ -264,6 +264,10 @@ var KnownModules = []string{
|
|||
"ansible.builtin.group_by",
|
||||
"ansible.builtin.meta",
|
||||
"ansible.builtin.setup",
|
||||
"community.general.ufw",
|
||||
"ansible.posix.authorized_key",
|
||||
"community.docker.docker_compose",
|
||||
"community.docker.docker_compose_v2",
|
||||
|
||||
// Short forms (legacy)
|
||||
"shell",
|
||||
|
|
|
|||
|
|
@ -462,6 +462,10 @@ func TestTypes_KnownModules_Good_ContainsExpected(t *testing.T) {
|
|||
"ansible.builtin.systemd",
|
||||
"ansible.builtin.debug",
|
||||
"ansible.builtin.set_fact",
|
||||
"community.general.ufw",
|
||||
"ansible.posix.authorized_key",
|
||||
"community.docker.docker_compose",
|
||||
"community.docker.docker_compose_v2",
|
||||
}
|
||||
for _, mod := range fqcnModules {
|
||||
assert.Contains(t, KnownModules, mod, "expected FQCN module %s", mod)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue