template: >
dest=/etc/idmapd.conf
group=root
- mode=644
+ mode=0644
owner=root
src=idmapd.conf.j2
notify:
- packages
apt: >
name=nfs-common
- state=installed
+ state=present
- name: ensure service "nfs-common" is enabled and started
tags:
enabled=yes
name=nfs-common
state=started
+ when: "ansible_distribution_major_version|int < 8"