--- - name: install nsd package: name: nsd state: present - name: start and enable nsd service: name: nsd state: started enabled: yes