Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Ansible Playbook Example

This playbook allows you to install the Mondoo agent via Ansible.

  1. Adapt the ansible hosts inventory. Add your host to the group.
[mondoo-agents]  ansible_user=ec2-user
  1. Change the mondoo_registration_token in playbook.yml:
- hosts: mondoo-agents
  become: yes
    - role: mondoolabs.mondoo
        mondoo_registration_token: "changeme"
  1. Run the playbook with the local hosts file
# download mondoo role
ansible-galaxy install mondoolabs.mondoo
# apply the playbook
ansible-playbook -i hosts playbook.yml
You can’t perform that action at this time.