X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=roles%2Fnfs-client%2Ftasks%2Fmain.yml;h=320c683f73f9d96e70008c2404397e39f6806ff7;hb=455a8c989340ca74765c35562c8f5a52115b375b;hp=b00c2233fbf16ee690fdc0a8796b635a21ee9fcd;hpb=3bcd09fb5e0901a844e7178dcc1c8abb9b514677;p=AnsibleRoles.git diff --git a/roles/nfs-client/tasks/main.yml b/roles/nfs-client/tasks/main.yml index b00c223..320c683 100644 --- a/roles/nfs-client/tasks/main.yml +++ b/roles/nfs-client/tasks/main.yml @@ -19,7 +19,7 @@ - packages apt: > name=nfs-common - state=installed + state=present - name: ensure service "nfs-common" is enabled and started tags: @@ -29,4 +29,4 @@ enabled=yes name=nfs-common state=started - when: "ansible_distribution_major_version < '8'" + when: "ansible_distribution_major_version|int < 8"