Hi!
I try run command “corosync-keygen -l creates=/etc/corosync/authkey” and send this key to all of my servers but I stil have problem with it. Can You help me?
Just it looks like that and doesnt work:
-
name: Generate corosync key
shell: corosync-keygen -l creates=/etc/corosync/authkey
run_once: true
notify: -
restart_corosync
-
ha_authkey_warning
-
name: Synchronizacja
synchronize: src=etc/corosync/authkey dest=/etc/corosync/authkey
delegate_to: 192.168.10.186 -
name: Generate corosync configuration
template: src=corosync.conf.j2 dest=/etc/corosync/corosync.conf force={{ corosync.force_update }}
notify: restart_corosync