diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-08 08:59:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 08:59:59 -0500 |
commit | 2af8419bab887c8552337333023ce357b1a18bc0 (patch) | |
tree | 48287070496cc7c9a674c75a2c27198e15d58c49 /playbooks | |
parent | bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d (diff) | |
parent | 58b3dd41a85e30ebdf3990d861f4c2bdb44e1125 (diff) | |
download | openshift-2af8419bab887c8552337333023ce357b1a18bc0.tar.gz openshift-2af8419bab887c8552337333023ce357b1a18bc0.tar.bz2 openshift-2af8419bab887c8552337333023ce357b1a18bc0.tar.xz openshift-2af8419bab887c8552337333023ce357b1a18bc0.zip |
Merge pull request #6394 from mgugino-upstream-stage/os_firewall-prerequisites
Add os_firewall to prerequisites.yml
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/openshift-etcd/private/config.yml | 1 | ||||
-rw-r--r-- | playbooks/openshift-loadbalancer/private/config.yml | 7 | ||||
-rw-r--r-- | playbooks/openshift-master/private/config.yml | 1 | ||||
-rw-r--r-- | playbooks/openshift-nfs/private/config.yml | 1 | ||||
-rw-r--r-- | playbooks/openshift-node/private/configure_nodes.yml | 1 | ||||
-rw-r--r-- | playbooks/openshift-node/private/containerized_nodes.yml | 1 | ||||
-rw-r--r-- | playbooks/prerequisites.yml | 6 |
7 files changed, 6 insertions, 12 deletions
diff --git a/playbooks/openshift-etcd/private/config.yml b/playbooks/openshift-etcd/private/config.yml index 3d6c79834..35407969e 100644 --- a/playbooks/openshift-etcd/private/config.yml +++ b/playbooks/openshift-etcd/private/config.yml @@ -19,7 +19,6 @@ hosts: oo_etcd_to_config any_errors_fatal: true roles: - - role: os_firewall - role: openshift_clock - role: openshift_etcd etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}" diff --git a/playbooks/openshift-loadbalancer/private/config.yml b/playbooks/openshift-loadbalancer/private/config.yml index 78fe663db..2636d857e 100644 --- a/playbooks/openshift-loadbalancer/private/config.yml +++ b/playbooks/openshift-loadbalancer/private/config.yml @@ -11,13 +11,6 @@ status: "In Progress" start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" -- name: Configure firewall load balancers - hosts: oo_lb_to_config:!oo_masters_to_config:!oo_nodes_to_config - vars: - openshift_image_tag: "{{ hostvars[groups.oo_first_master.0].openshift_image_tag }}" - roles: - - role: os_firewall - - name: Configure load balancers hosts: oo_lb_to_config vars: diff --git a/playbooks/openshift-master/private/config.yml b/playbooks/openshift-master/private/config.yml index afb8d6bd1..eb88fb352 100644 --- a/playbooks/openshift-master/private/config.yml +++ b/playbooks/openshift-master/private/config.yml @@ -180,7 +180,6 @@ | oo_collect('openshift.common.ip') | default([]) | join(',') }}" roles: - - role: os_firewall - role: openshift_master_facts - role: openshift_hosted_facts - role: openshift_clock diff --git a/playbooks/openshift-nfs/private/config.yml b/playbooks/openshift-nfs/private/config.yml index 6ea77e00b..3625efcc6 100644 --- a/playbooks/openshift-nfs/private/config.yml +++ b/playbooks/openshift-nfs/private/config.yml @@ -14,7 +14,6 @@ - name: Configure nfs hosts: oo_nfs_to_config roles: - - role: os_firewall - role: openshift_storage_nfs - name: NFS Install Checkpoint End diff --git a/playbooks/openshift-node/private/configure_nodes.yml b/playbooks/openshift-node/private/configure_nodes.yml index dc5d7a57e..32b288c8b 100644 --- a/playbooks/openshift-node/private/configure_nodes.yml +++ b/playbooks/openshift-node/private/configure_nodes.yml @@ -10,7 +10,6 @@ | oo_collect('openshift.common.hostname') | default([]) | join (',') }}" roles: - - role: os_firewall - role: openshift_clock - role: openshift_node - role: tuned diff --git a/playbooks/openshift-node/private/containerized_nodes.yml b/playbooks/openshift-node/private/containerized_nodes.yml index 5afa83be7..ef07669cb 100644 --- a/playbooks/openshift-node/private/containerized_nodes.yml +++ b/playbooks/openshift-node/private/containerized_nodes.yml @@ -12,7 +12,6 @@ }}" roles: - - role: os_firewall - role: openshift_clock - role: openshift_node openshift_ca_host: "{{ groups.oo_first_master.0 }}" diff --git a/playbooks/prerequisites.yml b/playbooks/prerequisites.yml index 0cc5fcef8..7b7868cfe 100644 --- a/playbooks/prerequisites.yml +++ b/playbooks/prerequisites.yml @@ -3,4 +3,10 @@ vars: skip_verison: True +# This is required for container runtime for crio, only needs to run once. +- name: Configure os_firewall + hosts: oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config:oo_nfs_to_config:oo_nodes_to_config + roles: + - role: os_firewall + - import_playbook: container-runtime/private/config.yml |