2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2017 Ericsson AB and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 # TODO: this is for xenial and needs to be adjusted for different distros
17 - name: configure NFS service
26 - name: configure NFS exports on ubuntu xenial
30 when: ansible_distribution_release == "xenial"
31 # TODO: the service name might be different on other distros and needs to be adjusted
32 - name: restart ubuntu xenial NFS service
34 name: nfs-kernel-server
36 when: ansible_distribution_release == "xenial"