--- - name: Login to domain shell: "echo -n \"{{lookup('file', '/var/lib/nethserver/secrets/administrator') }}\" | kinit administrator" - name: Join to domain shell: "net ads join -k" # shell: "net ads join --no-dns-updates -k" # --no-dns-updates is not present in 16.04