diff --git a/extraconfig/services/openshift-cns.yaml b/extraconfig/services/openshift-cns.yaml index 1cbad0f725..bb204e3b47 100644 --- a/extraconfig/services/openshift-cns.yaml +++ b/extraconfig/services/openshift-cns.yaml @@ -195,8 +195,4 @@ outputs: glusterfs_ip: {{hostvars.raw_get(host)['storage_ip']}} glusterfs_devices: {{openshift_gluster_disks | to_nice_yaml() | indent(8) }} - ansible_user: {{ hostvars.raw_get(host)['ansible_user'] | default(hostvars.raw_get(host)['ansible_ssh_user']) | default('root') }} - ansible_host: {{ hostvars.raw_get(host)['ansible_host'] | default(host) }} - ansible_become: true - openshift_schedulable: true {% endfor %} diff --git a/extraconfig/services/openshift-master.yaml b/extraconfig/services/openshift-master.yaml index fe16a19673..0cd079c5e4 100644 --- a/extraconfig/services/openshift-master.yaml +++ b/extraconfig/services/openshift-master.yaml @@ -149,11 +149,13 @@ outputs: image: {get_param: DockerOpenShiftBaseImage} openshift_enable_excluders: false openshift_deployment_type: origin + openshift_use_dnsmasq: true openshift_use_external_openvswitch: true openshift_docker_selinux_enabled: false # Disable services we're not using for now openshift_enable_service_catalog: false template_service_broker_install: false + containerized: true # Needed for containerized deployment skip_version: true # Fatal and Errors only @@ -266,15 +268,6 @@ outputs: new_nodes: {} {% if groups['openshift_glusterfs'] | default([]) %}glusterfs: {}{% endif %} - - name: generate openshift global defaults - copy: - dest: "{{playbook_dir}}/openshift/global_defaults.yml" - content: | - containerized: true - openshift_master_cluster_method: native - openshift_use_dnsmasq: true - openshift_use_external_openvswitch: true - - name: generate openshift global vars copy: dest: "{{playbook_dir}}/openshift/global_vars.yml" @@ -423,7 +416,6 @@ outputs: ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i '{{playbook_dir}}/openshift/inventory' - --extra-vars '@{{playbook_dir}}/openshift/global_defaults.yml' --extra-vars '@{{playbook_dir}}/openshift/global_vars.yml' {% if groups['openshift_glusterfs'] | default([]) %} --extra-vars '@{{playbook_dir}}/openshift/global_gluster_vars.yml' diff --git a/extraconfig/services/openshift-node.yaml b/extraconfig/services/openshift-node.yaml index 95392cb985..61b6966d2e 100644 --- a/extraconfig/services/openshift-node.yaml +++ b/extraconfig/services/openshift-node.yaml @@ -99,7 +99,6 @@ outputs: ansible_user: "{{ hostvars[item]['ansible_user'] | default(hostvars[item]['ansible_ssh_user']) | default('root') }}" ansible_host: "{{ hostvars[item]['ansible_host'] | default(item) }}" ansible_become: true - containerized: true openshift_node_group_name: '{{tripleo_node_group_name}}' etcd_ip: "{{hostvars[item][openshift_master_network + '_ip']}}" openshift_ip: "{{hostvars[item][openshift_master_network + '_ip']}}"