tseho.server

ansible-role-server

Install

ansible-galaxy install tseho.server

See defaults for overridable options.

iptables

iptables are configured by default.

If you want to add one, see iptables_module and don't forget to trigger Save iptables.

- iptables:
    chain: INPUT
    action: insert
    ...
  notify: Save iptables

ACL on files

If you want to allow an user to write on a directory or file, you can use the role:

tasks:
 - import_role:
     name: tseho.server
     tasks_from: acl
   vars:
     server_writable_paths:
       - path: "/var/foo"
         user: "www-data"
About

Basic server config & security

Install
ansible-galaxy install tseho.server
GitHub repository
License
mit
Downloads
160
Owner
Software Engineer