diff --git a/tasks/pkg-redhat.yml b/tasks/pkg-redhat.yml index 37b76c46..244df72e 100644 --- a/tasks/pkg-redhat.yml +++ b/tasks/pkg-redhat.yml @@ -156,7 +156,7 @@ description: Datadog, Inc. baseurl: "{{ datadog_agent5_yum_repo }}" enabled: true - includepkgs: "{{ agent_datadog_includepkgs }}" + includepkgs: "{{ agent_datadog_includepkgs | trim }}" repo_gpgcheck: false # we don't sign Agent 5 repodata gpgcheck: "{{ datadog_yum_gpgcheck }}" gpgkey: [ @@ -177,7 +177,7 @@ description: Datadog, Inc. baseurl: "{{ datadog_agent6_yum_repo }}" enabled: true - includepkgs: "{{ agent_datadog_includepkgs }}" + includepkgs: "{{ agent_datadog_includepkgs | trim }}" repo_gpgcheck: "{{ agent_do_yum_repo_gpgcheck }}" gpgcheck: "{{ datadog_yum_gpgcheck }}" gpgkey: [ @@ -198,7 +198,7 @@ description: Datadog, Inc. baseurl: "{{ datadog_agent7_yum_repo }}" enabled: true - includepkgs: "{{ agent_datadog_includepkgs }}" + includepkgs: "{{ agent_datadog_includepkgs | trim }}" repo_gpgcheck: "{{ agent_do_yum_repo_gpgcheck }}" gpgcheck: "{{ datadog_yum_gpgcheck }}" gpgkey: [ @@ -219,7 +219,7 @@ description: Datadog, Inc. baseurl: "{{ datadog_yum_repo }}" enabled: true - includepkgs: "{{ agent_datadog_includepkgs }}" + includepkgs: "{{ agent_datadog_includepkgs | trim }}" repo_gpgcheck: "{{ agent_do_yum_repo_gpgcheck }}" gpgcheck: "{{ datadog_yum_gpgcheck }}" gpgkey: [