Skip to content

Handler name mismatch (Restart postfix | Restart_postfix) #47

@bykvaadm

Description

@bykvaadm

Handler:

- name: Restart postfix
  ansible.builtin.systemd:
    name: postfix
    state: restarted

Task:

- name: "2.1.21 | PATCH | Ensure mail transfer agents are configured for local-only mode"
  when:
    - not rhel10cis_is_mail_server
    - "'postfix' in ansible_facts.packages"
    - rhel10cis_rule_2_1_21
  tags:
    - level1-server
    - level1-workstation
    - automated
    - patch
    - postfix
    - NIST800-53R5_CM-7
    - rule_2.1.21
  notify: Restart_postfix
  ansible.builtin.lineinfile:
    path: /etc/postfix/main.cf
    regexp: "^(#)?inet_interfaces"
    line: "inet_interfaces = loopback-only"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions