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

README.md

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]
54.172.7.243  ansible_user=ec2-user
  1. Change the mondoo_registration_token in playbook.yml:
---
- hosts: mondoo-agents
  become: yes
  roles:
    - role: mondoolabs.mondoo
      vars:
        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.