Skip to content

Commit

Permalink
And debug again!
Browse files Browse the repository at this point in the history
  • Loading branch information
javierm committed Oct 16, 2023
1 parent 42b3103 commit ef93b96
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions roles/puma/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@
environment:
XDG_RUNTIME_DIR: "/run/user/{{ current_uid.stdout }}"

- name: Debug puma status
systemd:
name: "{{ puma_service_unit_name }}"
register: puma_status

- debug:
var: puma_status.status.ActiveState

- name: collect facts about system services
service_facts:
register: services_state

- name: Debug
debug:
var: services_state

- name: Make sure Nginx has write access to the puma socket
shell: "chmod o+w tmp/sockets/*"
args:
Expand Down

0 comments on commit ef93b96

Please sign in to comment.