Skip to content
Snippets Groups Projects
Commit 71dd8db7 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

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

parents 83e0b4a4 77b5d287
No related branches found
No related tags found
No related merge requests found
---
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment