Skip to content

Commit

Permalink
NR-164383: fix assert_files role
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Feb 1, 2024
1 parent ae279ac commit 4574da8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions test/packaging/ansible/installation-root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,12 @@

- name: Assert root
include_role:
name: caos.ansible_roles.assert_ownership
vars:
username: "{{ agent_user }}"
user_processes:
- newrelic-infra-service

- name: Assert permissions
include_role:
name: caos.ansible_roles.assert_permissions
name: caos.ansible_roles.assert_files
vars:
processes:
newrelic-infra-service:
owner: "{{ agent_user }}"
files:
/usr/bin/newrelic-infra: "{{ bin_mode }}"

/usr/bin/newrelic-infra:
permissions: "{{ bin_mode }}"
...

0 comments on commit 4574da8

Please sign in to comment.