ipareplica: Replace ipaserver_master_password, remove ipaserver_setup_ntp

ipaserver_master_password and ipaserver_setup_ntp have been linked from
the ipaserver role before. With the move of the module_utils parts to the
specific role locations the use of ipaserver modules leads to the missing
dependency ansible_ipa_server, that is now only available in the server
role.

The ipaserver_master_password module has been replaced by the ipareplica
specific ipareplica_master_password module. The ipaserver_setup_ntp module
has been removed as the time related changes for replica are done in the
client install part.

Fixes: #59 (Module is missing interpreter line)
This commit is contained in:
Thomas Woerner
2019-04-03 15:14:14 +02:00
parent 2113c79111
commit 88f5a68e10
5 changed files with 98 additions and 22 deletions

View File

@@ -158,10 +158,6 @@
skip_conncheck: "{{ ipareplica_skip_conncheck }}"
register: result_ipareplica_prepare
- name: Install - Setup NTP
ipaserver_setup_ntp:
when: not ipaclient_no_ntp | bool
- name: Install - Add to ipaservers
ipareplica_add_to_ipaservers:
### server ###
@@ -175,15 +171,15 @@
- name: Install - Create dirman password
no_log: yes
ipaserver_master_password:
ipareplica_master_password:
dm_password: "{{ ipadm_password }}"
master_password: "{{ ipaserver_master_password | default(omit) }}"
register: result_ipaserver_master_password
master_password: "{{ ipareplica_master_password | default(omit) }}"
register: result_ipareplica_master_password
- name: Install - Set dirman password
no_log: yes
set_fact:
ipareplica_dirman_password: "{{ result_ipaserver_master_password.password }}"
ipareplica_dirman_password: "{{ result_ipareplica_master_password.password }}"
- name: Install - Setup certmonger
ipareplica_setup_certmonger: