Do not deploy LDAP and KDC during installation as it adds too much complexity.

This commit is contained in:
Andreas B. Mundt 2019-11-26 18:52:43 +01:00
parent 284dadc2d3
commit 954ac5b0e6
4 changed files with 14 additions and 43 deletions

View file

@ -60,7 +60,7 @@
when: kadmin.stat.exists
- name: copy home from /etc/skel for dummy user foo
shell: cp -r /etc/skel {{ lan_homes }}/foo && chmod -R o-rwx {{ lan_homes }}/foo && chown -R foo:foo {{ lan_homes }}/foo
shell: cp -r /etc/skel {{ lan_homes }}/foo && chmod -R o-rwx {{ lan_homes }}/foo && chown -R 10000:10000 {{ lan_homes }}/foo
args:
creates: "{{ lan_homes }}/foo"
when: foo_pwd is defined and foo_pwd | length > 0
@ -76,18 +76,9 @@
notify: "restart dnsmasq"
when: dnsmasq.stat.exists
#############################
- name: allow nfs service in firewalld
firewalld:
zone: internal
service: nfs
permanent: yes
state: enabled
when: not run_in_installer|default(false)|bool
## Use firewall-offline-cmd when run during installation:
- name: allow nfs service in firewalld
command: "firewall-offline-cmd --zone=internal --add-service=nfs"
when: run_in_installer|default(false)|bool