- file:
    path: /srv/post_data
    state: directory
    owner: root
    group: root
    mode: 0755
- copy:
    src: srv/post_data/post_data.sh
    dest: /srv/post_data/post_data.sh
    owner: root
    group: root
    mode: 0755
  notify: restart post_data
- copy:
    src: srv/post_data/post_data.conf
    dest: /srv/post_data/post_data.conf
    owner: root
    group: root
    mode: 0644
  notify: restart post_data
- template:
    src: srv/post_data/config.yaml.j2
    dest: /srv/post_data/config_yaml
    owner: root
    group: root
    mode: 0644
  notify: restart post_data
- copy:
    src: etc/systemd/system/post_data.service
    dest: /etc/systemd/system/post_data.service
    owner: root
    group: root
    mode: 0755
  notify: restart post_data
- systemd:
    name: post_data
    enabled: yes

- file:
    path: /srv/post_data
    state: directory
    owner: root
    group: root
    mode: 0755
- copy:
    src: srv/post_data/post_data.sh
    dest: /srv/post_data/post_data.sh
    owner: root
    group: root
    mode: 0755
  notify: restart post_data
- copy:
    src: srv/post_data/post_data.conf
    dest: /srv/post_data/post_data.conf
    owner: root
    group: root
    mode: 0644
  notify: restart post_data
- template:
    src: srv/post_data/config.yaml.j2
    dest: /srv/post_data/config.yaml
    owner: root
    group: root
    mode: 0644
  notify: restart post_data
- copy:
    src: etc/systemd/system/post_data.service
    dest: /etc/systemd/system/post_data.service
    owner: root
    group: root
    mode: 0755
  notify: restart post_data
- systemd:
    name: post_data
    enabled: yes

Fix typo config_yaml to config.yaml.
Fix typo config_yaml to config.yaml.
