Skip to content

Commit

Permalink
On Debian 11 make sure that pcsd-ruby service is started in addition to
Browse files Browse the repository at this point in the history
pcsd service. In situations that pcsd service already existed on system
and was stopped, the pcsd-ruby seems to be not started automatically,
this should address this shortcoming as without pcsd-ruby the node
authorization is failing.

This was reported in Issue #28 and tested on Debian 11.7.
  • Loading branch information
OndrejHome committed Jun 6, 2023
1 parent d05d315 commit 5f4ace7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@
enabled: true
state: 'started'

- name: (Debian 11) Enable and start PCSD-ruby service
service:
name: 'pcsd-ruby'
enabled: true
state: 'started'
when:
- ansible_distribution|lower == 'debian'
- ansible_distribution_major_version == '11'

- name: Setup firewall
include_tasks: "firewall.yml"
when: cluster_firewall|bool
Expand Down

0 comments on commit 5f4ace7

Please sign in to comment.