robertdebock.digitalocean_agent
Ansible Role DigitalOcean Agent
This role helps you install the DigitalOcean agent on your machine.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Here's a simple example of how to use this role, taken from molecule/default/converge.yml
. It runs tests whenever changes are made.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.digitalocean_agent
Make sure your system is prepared. In CI, this is done with molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
- role: robertdebock.ca_certificates
- role: robertdebock.apt_autostart
For more details, see this full explanation and example.
Requirements
You need to have the Python packages listed in requirements.txt.
State of Used Roles
Here are the roles that help prepare your system. You can also prepare your system in different ways.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.apt_autostart | ||
robertdebock.bootstrap | ||
robertdebock.ca_certificates |
Context
This role is part of many compatible roles. Check the documentation of these roles for more information.
Here’s an overview of related roles:
Compatibility
This role has been tested with the following container images:
Container | Tags |
---|---|
Amazon | Candidate |
EL | 9 |
Debian | All |
Fedora | All |
Ubuntu | All |
You need at least Ansible version 2.12. Tests have been done on:
- The previous version
- The current version
- The development version
If you find any issues, please report them in GitHub.
License
This project is licensed under the Apache-2.0.
Author Information
Created by robertdebock.
If you like my work, please consider sponsoring me.
Install digitalocean agent on your system.
ansible-galaxy install robertdebock.digitalocean_agent