owncloud-ansible/owncloud

Sync auto-generated config values at cluster install

JKawohl opened this issue · 5 comments

When installing ownCloud on several servers for one instance,

we can save time by not running the full owncloud playbook against the replica nodes.

One full blown installation should suffice, copying to the new instances should be quicker and less confusing.

thanks @enbrnz

- name: Automatically finish setup via the occ tool

We could add an if condition for /installing/ upgrading.

We should copy from primary node , when installation completed to replica nodes. Last step after turning off maintenance must be the copy to the replicas.

When utilizing a shared config folder, we can also skip the copy but will have to set up the shared storage.

xoxys commented

When installing ownCloud on several servers for one instance,

we can save time by not running the full owncloud playbook against the replica nodes.

One full blown installation should suffice, copying to the new instances should be quicker and less confusing.

No, that's not the Ansible way. Copying files between hosts is an ugly workaround.

No, that's not the Ansible way. Copying files between hosts is an ugly workaround.

I didn't mean copy in a sense of an actual copy command, I mean that we have to somehow set the instance-id and salt in the config.php on the replicas to the same values as the primary. This has to be done as the final step after primary has been fully set up.