Giter Club home page Giter Club logo

opencast_firewalld's Introduction

Ansible: Opencast Firewalld Role

This Ansible role provides a simple firewalld configuration for Opencast. The idea behind this set-up is to:

  • Generally allow network communication within the cluster
  • Allow communication via HTTP(S) from the outside world

Requirements

This role uses community.general.dig to look up the IP addresses for the given hostnames. Make sure to have on your host system:

Role Variables

  • opencast_firewall_internal_hosts
    • List of hosts between which to allow all network communication (default: groups["all"])
  • opencast_firewall_http_hosts
    • List of hosts to allow external HTTP communications to (default: groups["all"])
    • Often makes sense to set this to something like groups["opencast"]
  • opencast_firewall_https_hosts
    • List of hosts to allow external HTTPS communications to (default: opencast_firewall_http_hosts)
  • opencast_firewall_ipv4
    • Look up IPv4 addresses of hostnames
  • opencast_firewall_ipv6
    • Look up IPv6 addresses of hostnames

Example Playbook

Example of how to configure and use the role:

- hosts: servers
  become: true
  roles:
    - role: elan.opencast_firewalld
      opencast_firewall_http_hosts: '{{ groups["opencast"] }}'

opencast_firewalld's People

Contributors

jduehring avatar katrinihler avatar lkiesow avatar tibroc avatar

Watchers

 avatar  avatar  avatar

Forkers

jduehring

opencast_firewalld's Issues

Broken on Stream EL9

Attempting to deploy to develop.opencast.org:

TASK [elan.opencast_firewalld : Allow all internal communication (IPv4)] *********************************************************************
fatal: [develop.opencast.org]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'community.general.dig'. Error was a <class 'ansible.errors.AnsibleError'>, original message: The dig lookup requires the python 'dnspython' library and it is not installed. The dig lookup requires the python 'dnspython' library and it is not installed"}

I tried installing python3-dns and python3-py3dns to no avail.

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.