Hello Tomasz, I think the issue is that elasticluster.sh runs ElastiCluster in a Docker container, which has no access to the host filesystem (where your additional playbook is located) -- that also explains why you get the same error regardless of whether the file exists or not. A similar issue exists if you try to run `./elasticluster.sh sftp`.
At the moment, additional playbooks will only work if you install from sources. As for the future, I can see a couple of options: 1. Designate a special directory in the filesystems where additional playbooks should be located (e.g., `$HOME/.elasticluster/playbooks`), which could be automatically made visible to the Docker container by `./elasticluster.sh`. Doing so wouldn't fix the issue with SFTP though. 2. Make the entire host filesystem available in the Docker container under a special directory `/host`. Doing so would make all files available, but the paths would need to change (you have to prefix them with `/host`) which I think would be counter-intuitive to most people. 3. Scan command-line arguments: those that match existing file names are made available to the Docker container ad-hoc. Doing so would be mostly transparent but brittle: if a playbook tries to copy a file, that file won't be found (because it's not mentioned on the command line, only the playbook is) leading to a puzzling error. Any comments or thoughts? Solution 1. is the easiest to implement so I would probably go with that, but please chime in if you have other ideas or suggestions. The problem is effectively unsolvable, in that Docker *wants* to isolate container filesystems. Perhaps Snap or Flatpak could be better positioned for this use case but I don't know them nearly as well and I'm not sure how good is their support across different Linux distributions. Ciao, R -- You received this message because you are subscribed to the Google Groups "elasticluster" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticluster/CAJGE3zXkS%3DX8e19M1wFf42fzvadXcHg9FNGvizJKKx2e%3DPw%3DPw%40mail.gmail.com.
