--- - name: netplan apply command: netplan apply - name: restart nginx service: name: nginx state: restarted