Hi Guys,

I'm not sure why the below yaml gives me an error ?

- name: Install Gluster and create file system on Cluster
  hosts: localhost
  connection: local
  tasks:
  - name: create gluster volume
    gluster_volume:
      state: present
      name: gluster_vol1
      bricks: /bricks/brick1/g1
      rebalance: yes
      cluster:
        - 192.168.1.9
        - 192.168.1.7
    run_once: true


Error message below:

TASK [create gluster volume]
****************************************************************************************
An exception occurred during task execution. To see the full traceback, use
-vvv. The error was: None
fatal: [localhost]: FAILED! => {"changed": false, "msg": "error running
gluster (/usr/sbin/gluster --mode=script peer status) command (rc=255):
ERROR: failed to create logfile \"/var/log/glusterfs/cli.log\" (Permission
denied)\nERROR: failed to open logfile /var/log/glusterfs/cli.log\n"}

Any assistance would be appreciated.

Thanks and Regards,
Ameya Agashe

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAG9tf-_XkO36j9jxc%3DDo7r0P3Bh4VXJm9pUzzmwYDUvVC%2By6cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to