Closed thiagotalma closed 7 years ago
@thiagotalma The debops.ferm
role has a task and a set of variables that can be used to copy custom files like scripts. Do you that this would be enough, or do you need the other debops.resources
features?
In resources I copy several scripts that will be used in ferm. For example, scripts that are used to check the current ip of DDNS and write them to a file. A ferm rule will use this file to release ssh access.
But if it's a problem for you, I can solve it in other ways here. I just thought this change could be useful for more people.
No, I just wondered if you knew about those variables. I guess moving debops.resources
earlier in the common playbook should be fine.
The "resources" role should come before the role "ferm" so that it is possible to use in the rules the files that are written by the role "resources"