Skip time consuming VM syncing during installation, cleanup.
This commit is contained in:
parent
354075f530
commit
cb9f5fdb23
3 changed files with 14 additions and 16 deletions
|
@ -3,17 +3,15 @@ domains = {{ domain }}
|
||||||
config_file_version = 2
|
config_file_version = 2
|
||||||
|
|
||||||
[domain/{{ domain }}]
|
[domain/{{ domain }}]
|
||||||
default_shell = /bin/bash
|
krb5_realm = {{ domain | upper }}
|
||||||
|
ad_domain = {{ domain }}
|
||||||
|
id_provider = ad
|
||||||
|
access_provider = ad
|
||||||
|
use_fully_qualified_names = False
|
||||||
cache_credentials = True
|
cache_credentials = True
|
||||||
krb5_store_password_if_offline = True
|
krb5_store_password_if_offline = True
|
||||||
cache_credentials = True
|
default_shell = /usr/bin/bash
|
||||||
krb5_realm = {{ domain | upper }}
|
# default: # ldap_id_mapping = True
|
||||||
id_provider = ad
|
ad_gpo_access_control = disabled
|
||||||
#override_homedir = /home/%u
|
|
||||||
ad_domain = {{ domain }}
|
|
||||||
use_fully_qualified_names = False
|
|
||||||
ldap_id_mapping = True
|
|
||||||
access_provider = ad
|
|
||||||
ad_gpo_access_control = permissive
|
|
||||||
ad_gpo_ignore_unreadable = True
|
ad_gpo_ignore_unreadable = True
|
||||||
ad_maximum_machine_account_password_age = 0
|
ad_maximum_machine_account_password_age = 0
|
||||||
|
|
|
@ -111,4 +111,4 @@
|
||||||
command: rsync -a -i --files-from=/var/lib/libvirt/images/images.list rsync://server:/vmimages-download/ /var/lib/libvirt/images/
|
command: rsync -a -i --files-from=/var/lib/libvirt/images/images.list rsync://server:/vmimages-download/ /var/lib/libvirt/images/
|
||||||
register: result
|
register: result
|
||||||
changed_when: result.stdout | length > 0
|
changed_when: result.stdout | length > 0
|
||||||
when: (ansible_mounts | selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
when: not run_in_installer | default(false) | bool and (ansible_mounts | selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
||||||
|
|
Loading…
Add table
Reference in a new issue