Code Monkey home page Code Monkey logo

Comments (6)

techraf avatar techraf commented on May 22, 2024 2

Yes and yes.

I am going to review the whole playbook anyway, so will gladly contribute.

from ansible-collection-hardening.

rndmh3ro avatar rndmh3ro commented on May 22, 2024

Yes there are actually more sysctl-settings missing. We forgot to add them back when we changed where the sysctl-vars are defined. It happened here: 8747be1, our testing was not good then.

If you want, you can fix this. It should just be a matter of adding all parameters according to linux-baseline in defaults/main.yml in the sysctl_config: block.

You'll have to test locally with vagrant though, because in docker setting sysctl-settings does not work.

from ansible-collection-hardening.

techraf avatar techraf commented on May 22, 2024

Do you want to maintain Ansible 1.9 compatibility?

Because with 2.x we could nicely combine dictionaries and allow defining only the delta settings instead of forcing user to define the whole sysctl_config.

1.9 is already three releases behind.

from ansible-collection-hardening.

rndmh3ro avatar rndmh3ro commented on May 22, 2024

As for 1.9 support, see this thread: #110
In short: No.

For combining, I guess you mean the combine filter. Yes, that's a good idea.
Do you want to create a PR?

from ansible-collection-hardening.

rndmh3ro avatar rndmh3ro commented on May 22, 2024

Hey @techraf, I went ahead and created a PR to overwrite single sysctl-settings. Would you mind taking a look? #120

from ansible-collection-hardening.

rndmh3ro avatar rndmh3ro commented on May 22, 2024

Closed by #120

from ansible-collection-hardening.

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.