Mondoo Docs

Ansible Play

ansible.play MQL resource for querying Ansible infrastructure with cnquery and cnspec.

Ansible

Ansible Play

Use MQL in cnspec shell or policy:

ansible.play
Min version: latestDefaults: name

Relationships

Mini Map
Ansible
4 resources · 8 relationshipsClick to select, expand fields to see properties.

Fields (15)

FieldTypeDescription
anyErrorsFatalrequired
intWhether to finish fatal on any error
becomerequired
intBecome flag
becomeFlagsrequired
stringBecome flags
becomeMethodrequired
stringBecome method
becomeUserrequired
stringBecome user
handlers
[]ansible.handlerHandlers
hostsrequired
dictHosts
ignoreUnreachablerequired
intWhether to ignore unreachable hosts
maxFailPercentagerequired
intMaximum number of hosts to fail before quitting
namerequired
stringName of the play
remoteUserrequired
stringUser for the connection
rolesrequired
[]stringRoles
strategyrequired
stringStrategy
tasks
[]ansible.taskTasks
varsrequired
map[string]dictPlaybook variables