Commit 0be251a1 authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

join only if sssd conf not exist

parent b0f5a890
......@@ -4,3 +4,4 @@
realm-join:
cmd.run:
- name: echo -n "{{ pillar['sssd']['login']['pass']}}" | {{ sssd.command }} join -U {{ pillar['sssd']['login']['user']}} {{pillar['sssd']['realm']}} {{pillar['sssd']['ou']}} {% for opt in pillar['sssd']['opts'] %} {{opt.name}}={{opt.value}} {% endfor %}
- creates: /etc/sssd/sssd.conf
\ No newline at end of file
Supports Markdown
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