ansible/roles/newrelic-infra/tasks/main.yml in subspace-2.5.10 vs ansible/roles/newrelic-infra/tasks/main.yml in subspace-3.0.0.rc1

- old
+ new

@@ -1,14 +1,14 @@ --- - name: Add New Relic apt key apt_key: - url: https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg + url: https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg state: present become: true - name: create license key - copy: + copy: dest: "/etc/newrelic-infra.yml" content: | license_key: {{newrelic_license}} - name: Add New Relic apt repo @@ -25,9 +25,9 @@ become: true - name: Configure application log forwarding if enabled when: "{{ newrelic_logs|length }}" become: true - template: + template: dest: "/etc/newrelic-infra/logging.d/subspace.yml" src: logs.yml.j2 notify: Restart newrelic-infra