diff --git a/defaults/main.yml b/defaults/main.yml index 1ca66ce..8aaedba 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -15,3 +15,4 @@ skip_satellite_org_id_list: - 0 source_display_name: "{{ satellite_url|urlsplit('hostname') }}" http_proxy: "" +cloud_connector_enabled: true diff --git a/tasks/main.yml b/tasks/main.yml index dc0afee..f4884fb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -121,7 +121,7 @@ - name: Enable Receptor systemd units systemd: unit: "receptor@{{ item }}.service" - enabled: yes + enabled: "{{ cloud_connector_enabled }}" state: started loop: "{{ account_dirs }}" tags: install_into_systemd