Skip to content

Commit

Permalink
include datadog_skip_install
Browse files Browse the repository at this point in the history
  • Loading branch information
rockaut committed Apr 11, 2022
1 parent f84dd07 commit cad4a50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ role_version: 4.14.0
# define if the datadog-agent services should be enabled
datadog_enabled: yes

# Whether the play should skip the agent install as a whole.
datadog_skip_install: no

# Whether the datadog.conf / datadog.yaml, system-probe.yaml, security-agent.yaml and checks config under conf.d are managed by Ansible
datadog_manage_config: yes

Expand Down
2 changes: 1 addition & 1 deletion tasks/set-parse-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Initialize skip install flag to false
set_fact:
datadog_skip_install: no
datadog_skip_install: "{{ datadog_skip_install | default(false) }}"

- include_tasks: parse-version.yml
when: datadog_agent_version | default('', true) | length > 0
Expand Down

0 comments on commit cad4a50

Please sign in to comment.