diff --git a/library/ipadiscovery.py b/library/ipadiscovery.py index 41ac44f3d95bf0c3212fef11eab58157d6a66df5..16b7d78c612d983b84597d79228fda2fe5c707c9 100644 --- a/library/ipadiscovery.py +++ b/library/ipadiscovery.py @@ -52,12 +52,6 @@ options: ca_cert_file: description: A CA certificate to use. required: false - check: - description: Check if IPA client is installed and matching. - required: false - default: false - type: bool - default: no author: - Thomas Woerner ''' @@ -210,7 +204,6 @@ def main(): realm=dict(required=False), hostname=dict(required=False), ca_cert_file=dict(required=False), - check=dict(required=False, type='bool', default=False), ), supports_check_mode = True, ) @@ -221,7 +214,6 @@ def main(): opt_realm = module.params.get('realm') opt_hostname = module.params.get('hostname') opt_ca_cert_file = module.params.get('ca_cert_file') - opt_check = module.params.get('check') hostname = None hostname_source = None diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml index 540ee37f6acb9dac93c5eb01e370f7c5dc866034..001cd8759eab4e284e42fd9ac0e681bd3518e18b 100644 --- a/roles/ipaclient/tasks/install.yml +++ b/roles/ipaclient/tasks/install.yml @@ -17,8 +17,7 @@ servers: "{{ groups.ipaservers | default(omit) }}" realm: "{{ ipaclient_realm | default(omit) }}" hostname: "{{ ipaclient_hostname | default(ansible_fqdn) }}" - #ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}" - check: yes + ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}" register: ipadiscovery - name: Install - Set default principal if no keytab is given