From 120786672e1f50bc28c60de4117b135cb27ba7bd Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Wed, 6 Dec 2017 12:52:46 +0100 Subject: [PATCH] library/ipadiscovery: Drop unused check parameter --- library/ipadiscovery.py | 8 -------- roles/ipaclient/tasks/install.yml | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/library/ipadiscovery.py b/library/ipadiscovery.py index 41ac44f3..16b7d78c 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 540ee37f..001cd875 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 -- GitLab