Fix / extend README

This commit is contained in:
Gašper Fele-Žorž 2025-09-02 11:22:49 +02:00
parent 0d1e32c626
commit 93b01e5d53
11 changed files with 267 additions and 32 deletions

View file

@ -24,7 +24,7 @@
- name: "Rename"
# Racunalnik najprej preimenujmo, da ne bosta v domeni obenem 2 z istim imenom
hostname:
name: "{{inventory_hostname}}"
name: "{{inventory_hostname}}-linux"
register: hostname_res
- name: Check whether we already joined
@ -33,7 +33,7 @@
- name: Join using realmd
expect:
command: realm join --user={{ad_join_user}} --computer-ou={{ou_path}} FRI1.UNI-LJ.SI
command: realm join --user={{ad_join_user}} --computer-ou={{ou_path}} {{domain_name}}
responses:
(?i)Password: "{{ad_join_password}}"
ignore_errors: yes

View file

@ -36,8 +36,8 @@
- name: "Join domain"
win_domain_membership:
domain_admin_user: "{{adjoin_user}}"
domain_admin_password: "{{adjoin_password}}"
domain_admin_user: "{{ad_join_user}}"
domain_admin_password: "{{ad_join_password}}"
dns_domain_name: "{{domain_name}}"
domain_ou_path: "{{ou_path}}"
hostname: "{{inventory_hostname}}"