gluster / gluster-ansible-features

Ansible role to enable a Gluster cluster with gluster-specific features like samba, ganesha etc.
GNU General Public License v3.0
10 stars 14 forks source link

installing nfs ganesha does not work. #48

Open kristvanbesien opened 3 years ago

kristvanbesien commented 3 years ago

Given the following playbook:

- name: install ganesha
  hosts: ganesha
  become: true
  vars:
    gluster_features_ganesha_volume: vol1
    gluster_features_ganesha_hostnames: 
    - "{{ groups['ganesha'] }}"
    gluster_features_ganesha_haname: ganesha
    gluster_features_ganesha_viplis: "192.168.21.21,192.168.21.22"
    gluster_features_ganesha_clusternodes:
    - "{{ groups['ganesha'] }}"
    gluster_features_ganesha_masternode: "{{ groups['ganesha'][0] }}"

  roles:
  - gluster.features

This fails at the "Copy the ssh keys to the local machine" task.

The reason is that it attempts to do this before those keys have been generated.