Skip to content
Snippets Groups Projects
Commit 6b09a9d6 authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Switching to use of unscd, and version bump.

parent 7c3f9a1c
No related branches found
Tags fuss/10.0.23
No related merge requests found
......@@ -37,6 +37,7 @@
- include: "{{includes}}/install-package-apt.yml"
with_items:
- unscd
- nslcd,libpam-ldapd,libnss-ldapd,python-ldap
- name: Setup /etc/nslcd.conf
......
......@@ -51,12 +51,24 @@
#- name: Wait a little, otherwise next commands can fail
# pause: seconds=2
- name: get installed packages
package_facts:
manager: auto
- name: stop nscd to avoid cache problem
service:
name: nscd
state: stopped
ignore_errors: yes
when: "'nscd' in ansible_facts.packages"
- name: stop unscd to avoid cache problem
service:
name: unscd
state: stopped
ignore_errors: yes
when: "'unscd' in ansible_facts.packages"
- name: Give full privileges to 'Domain Admins' group
command: net rpc rights grant 'Domain Admins' {{item}} -U admin%{{pass}}
with_items:
......@@ -91,3 +103,11 @@
name: nscd
state: started
ignore_errors: yes
when: "'nscd' in ansible_facts.packages"
- name: restart unscd to avoid cache problems
service:
name: unscd
state: started
ignore_errors: yes
when: "'unscd' in ansible_facts.packages"
fuss-server (10.0.23) unstable; urgency=medium
* Moving from nscd to unscd
-- Simone Piccardi <piccardi@truelite.it> Fri, 21 Aug 2020 18:47:06 +0200
fuss-server (10.0.22) unstable; urgency=medium
* Typo fix.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment