Skip to content

Commit

Permalink
Add tags to server restart workaround
Browse files Browse the repository at this point in the history
So the restart is done when needed even when selecting
a single tag
  • Loading branch information
lvps committed Sep 24, 2021
1 parent 740a00b commit 8b151c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@

# Required also to enforce TLS as TLS must be enabled beforehand (requiring a restart).
- name: "Restart {{ dirsrv_serverid }} to enable TLS, authentication, plugins"
tags: [ dirsrv_tls, dirsrv_cert, dirsrv_schema ] # Needed for all these tags
service:
name: "dirsrv@{{ dirsrv_serverid }}"
state: restarted
Expand Down

0 comments on commit 8b151c4

Please sign in to comment.