Commit ca3f0548 authored by eric pellegrini's avatar eric pellegrini

fixed regression in nfs server setup play

parent 9a2888b0
---
- hosts: nfs_clients
- hosts: nfs_server
remote_user: "{{ cluster_users.0.name }}"
become: True
remote_user: root
environment: "{{ proxy_settings }}"
......@@ -11,8 +9,8 @@
- name: setup and configure nfs clients
import_role:
name: roles/nfs-clients
name: roles/nfs-server
vars:
server_ip: "{{ (groups['nfs_server'] | map('extract',hostvars,['ansible_default_ipv4','address']) | list)[0] }}"
mount_points: "{{ nfs.mount_points }}"
network_cidr: "{{ nfs.network_cidr }}"
shared_directories: "{{ nfs.mount_points.keys() | list }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment