diff --git a/nas.yml b/nas.yml index b71dcd3902..e7a8db9122 100644 --- a/nas.yml +++ b/nas.yml @@ -1,6 +1,12 @@ --- - hosts: all + pre_tasks: + - name: Verify Ansible meets ansible-nas version requirements. + assert: + that: "ansible_version.full is version_compare('2.10', '>=')" + msg: "update Ansible to at least 2.10 to install ansible-nas" + roles: ### ### Requirements