---

argument_specs:

  main:
    version_added: "0.0.1"
    short_description: Install and configure EasyWKS.
    description:
      - "Install and configure L(EasyWKS,https://git.kabelsalat.ch/s3lph/easywks)."
      - "Execution of this role can be limited using the following tags:"
      - "C(role::easywks:install): Install EasyWKS from distribution packages or upstream repositories."
      - "C(role::easywks:config): Render the EasyWKS configuration file."
      - "C(role::easywks): Apply all of the above."
    author: s3lph
    options:
      easywks_config:
        description:
          - The entire EasyWKS configuration file in a string.
        type: str
        default: ""
      easywks_service_http_enabled:
        description:
          - "If C(true), start and enable the EasyWKS HTTP service."
          - "If C(false), stop and disable the EasyWKS HTTP service."
        type: bool
        default: true
      easywks_service_lmtp_enabled:
        description:
          - "If C(true), start and enable the EasyWKS LMTP service."
          - "If C(false), stop and disable the EasyWKS LMTP service."
        type: bool
        default: true
      easywks_service_dnsd_enabled:
        description:
          - "If C(true), start and enable the EasyWKS LMTP service."
          - "If C(false), stop and disable the EasyWKS LMTP service."
        type: bool
        default: true