nspcc-dev / ansible-neofs-ir

Ansible role for NeoFS Inner Ring node
https://fs.neo.org
GNU General Public License v3.0
1 stars 1 forks source link

Add flag for skip downloads binaries #41

Closed Alexpast1423 closed 2 years ago

Alexpast1423 commented 2 years ago

There are scenarios in CI/CD environments when we already have binaries deployed on the target system and use the role for configuration only. For such cases we need a way to prevent the binaries to be overwritten. Sine the role doesn't have proper support for different installation types (source, download binaries, install packages, etc.), this PR adds a flag that can be replaced in future with a "dummy" install type.

realloc commented 2 years ago

Let's keep the role as generic as possible.

We now have three methods for binary to be delivered to the system:

The last one is not ready yet. For consistency, I suggest adding a simple debian package install task. There are no NeoFS Debian packages build or named properly as yet, hence we need to additionally define package names in role variables. This would solve the problem with binaries overwrite without breaking the role logic and evolution path.

Let me commit the code illustration soon.