Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Docs) Add info for air-gapped installation #622

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,25 @@ To deploy the Datadog Agent on hosts, add the Datadog role and your API key to y

The API key is required and its absence causes the role to fail. If you want to provide it through another way, outside of Ansible's control, specify a placeholder key and substitute the key at a later point.

### Air-gapped environments

To install Datadog in an air-gapped environment using a specific registry and images, use the Datadog Ansible collection along with the `datadog_installer_registry`, `datadog_installer_auth`, and `agent_datadog_config` variables.

**Note**: `agent_datadog_config` overrides the `installer_registry_config` setting.

For example:

```yaml
name: Datadog Agent Install
include_role:
name: datadog.dd.agent
vars:
datadog_installer_registry: "my.local.registry"
datagog_yum_repo: "my.local.repo"
datadog_api_key: "MY_DATADOG_API_KEY"
datadog_site: "MY_DATADOG_SITE"
```

## Role variables

These variables provide additional configuration during the installation of the Datadog Agent. They should be specified in the `vars` section of your playbook.
Expand Down