Coder Social home page Coder Social logo

Comments (2)

drybjed avatar drybjed commented on August 23, 2024

If you use both roles (or the DebOps playbook), easier way to use them would be use debops.sshd role to configure ssh service. With that role, you can set ssh_allow list (or ssh_group_allow / ssh_host_allow) which in turn configures both ferm and tcpwrappers at the same time. *_ansible_controllers variables are meant to be used when ferm or tcpwrappers roles are used separately from rest of the DebOps roles.

As for tcpwrappers active specifically with ssh - at the moment debops.ferm role allows limited ssh access (too many connections in a specified time period and the host is blocked). But because debops.tcpwrappers lacks similar feature, use of both was cumbersome. I've deisgned a way to automatically allow access from all hosts in tcpwrappers, similar to what ferm does - it will be merged later in the day. After that, if you don't specify any hosts/networks in ssh_*_allow lists, access to ssh service in tcpwrappers will be allowed from all hosts by default.

debops_* variable namespace is already taken by debops.debops role, but I'm thinking of doing something similar as in debops.ansible role - change the name of variables to role_debops_* and reseve debops_* namespace specifically for playbooks / global variables. If you want to define global variables in inventory to use them in multiple roles without conflicts, I would use inventory_* namespace.

from debops-playbooks.

htgoebel avatar htgoebel commented on August 23, 2024

Thanks for the explanation. I just added a comment to both roles to make this clear.

In my case I ran both roles separately, because I stepped into problems (which I reported) when trying to run debops.

from debops-playbooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.