Commit 71dd8db7 authored by Hinrikus Wolf's avatar Hinrikus Wolf

Merge branch 'master' of git.fsmpi.rwth-aachen.de:infra/ansible-shared/samba

parents 83e0b4a4 77b5d287
---
ad_admin_group: admin
ad_admin_password: samba-admin
......@@ -28,7 +28,7 @@
- name: discover our realm
command: realm discover -v "{{ domain }}"
- name: get a kerberos ticket
shell: echo "{{ lookup('passwordstore', 'samba-admin') }}" | kinit Administrator
shell: echo "{{ lookup('passwordstore', ad_admin_password) }}" | kinit Administrator
when: debian_version == "jessie"
no_log: True
- name: ensure pexpect is installed
......@@ -38,7 +38,7 @@
expect:
command: kinit Administrator
responses:
"Password for Administrator.*": "{{ lookup('passwordstore', 'samba-admin') }}"
"Passwor(d|t) for Administrator.*": "{{ lookup('passwordstore', ad_admin_password) }}"
when: debian_version == "stretch"
no_log: True
- name: leave any other realm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment