aboutsummaryrefslogtreecommitdiffstats
path: root/roles/gssproxy_client/tasks/main.yml
blob: 656b92a1cce43523419e6301d0f9504fc5aab5be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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