diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:23:43 -0500 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:52:13 -0500 |
commit | 0261e875679f1bf63c8d689da7fc7e014597885d (patch) | |
tree | 3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/gssproxy_client/tasks | |
download | selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip |
initial commit
Diffstat (limited to 'roles/gssproxy_client/tasks')
-rw-r--r-- | roles/gssproxy_client/tasks/main.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/gssproxy_client/tasks/main.yml b/roles/gssproxy_client/tasks/main.yml new file mode 100644 index 0000000..656b92a --- /dev/null +++ b/roles/gssproxy_client/tasks/main.yml @@ -0,0 +1,17 @@ +- name: generate gssproxy configuration + template: + src: etc/gssproxy/client.conf.j2 + dest: /etc/gssproxy/{{ gssproxy_priority }}-{{ gssproxy_name }}.conf + register: gssproxy_config + +- name: enable gssproxy + systemd: + name: gssproxy + enabled: yes + state: started + +- name: restart gssproxy + systemd: + name: gssproxy + state: restarted + when: gssproxy_config.changed |