Skip to content

Commit

Permalink
PMM-12940 print environment file content.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Jul 19, 2024
1 parent 2d5ff84 commit c288afc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/packer/ansible/roles/podman-setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
group: admin
mode: '0644'

- name: Display the contents of the environment file
command: cat /home/admin/.config/systemd/user/pmm-server.env
register: command_output

- name: Print to console
debug:
msg: "{{command_output.stdout}}"

- name: Copy pmm-server systemd service file to user-specific directory
template:
src: pmm-server.service
Expand Down

0 comments on commit c288afc

Please sign in to comment.