Snapstromegon / ansible-role-uberspace-mail-domain

"uberspace mail domain" converted to an ansible role

Home Page:https://manual.uberspace.de/mail-domains.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: uberspace-mail-domain

This is part of the uberspace roles collection.

This is meant to be used on your Uberspace.

Please be aware, that I'm neither part of the Uberspace team, nor am I associated to them other than having some Uberspaces myself. This project was created, because I wanted to use the roles for myself and thought they were okay-ish enough to share them.

What is this (from the uberspace manual)

In order to use your own domain for mail with your Uberspace, you need to first set it up using our uberspace tool.

You can find the documentation of the replaced tool uberspace mail domain in the Uberspace Manual here.

Usage

Variable Choices/Default Description
domain The domain you want to recieve mails on
state
  • present
  • absent
"present" to be able to recieve mails, "absent" to remove the domain
domains [] A list of domain, state combinations to set multiple domains at once

Examples

Add Domain

- hosts: uberspace
  roles:
    - name: uberspace-mail-domain
      domain: isabell.example

Remove Domain

- hosts: uberspace
  roles:
    - name: uberspace-mail-catchall
      domain: isabell.example
      state: absent

Set multiple Domains

- hosts: uberspace
  roles:
    - name: uberspace-mail-domain
      domains:
        - domain: present.isabell.example
        - domain: absent.isabell.example
          state: absent

About

"uberspace mail domain" converted to an ansible role

https://manual.uberspace.de/mail-domains.html

License:ISC License