forked from LibreSchool/libreschool-nfs
11 lines
293 B
YAML
11 lines
293 B
YAML
---
|
|
|
|
- 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
|