diff options
author | Russell Teague <rteague@redhat.com> | 2017-11-22 14:07:08 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-11-22 14:07:08 -0500 |
commit | bf19d26f2be591b9cb4e3379c015bfe5f31b4f0a (patch) | |
tree | 0a434c141abb0d6c4f672c7df3ac6aae468a638d /roles/contiv/tasks | |
parent | 71e090a7a301ffd5ccef6bb78a28bfae96130ce6 (diff) | |
download | openshift-bf19d26f2be591b9cb4e3379c015bfe5f31b4f0a.tar.gz openshift-bf19d26f2be591b9cb4e3379c015bfe5f31b4f0a.tar.bz2 openshift-bf19d26f2be591b9cb4e3379c015bfe5f31b4f0a.tar.xz openshift-bf19d26f2be591b9cb4e3379c015bfe5f31b4f0a.zip |
Include Deprecation - openshift-node
Diffstat (limited to 'roles/contiv/tasks')
-rw-r--r-- | roles/contiv/tasks/main.yml | 6 | ||||
-rw-r--r-- | roles/contiv/tasks/netmaster.yml | 8 | ||||
-rw-r--r-- | roles/contiv/tasks/netplugin.yml | 6 | ||||
-rw-r--r-- | roles/contiv/tasks/ovs.yml | 2 | ||||
-rw-r--r-- | roles/contiv/tasks/packageManagerInstall.yml | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/roles/contiv/tasks/main.yml b/roles/contiv/tasks/main.yml index 40a0f9e61..cb9196a71 100644 --- a/roles/contiv/tasks/main.yml +++ b/roles/contiv/tasks/main.yml @@ -5,10 +5,10 @@ recurse: yes state: directory -- include: download_bins.yml +- include_tasks: download_bins.yml -- include: netmaster.yml +- include_tasks: netmaster.yml when: contiv_role == "netmaster" -- include: netplugin.yml +- include_tasks: netplugin.yml when: contiv_role == "netplugin" diff --git a/roles/contiv/tasks/netmaster.yml b/roles/contiv/tasks/netmaster.yml index cc52d3a43..6f15af8c2 100644 --- a/roles/contiv/tasks/netmaster.yml +++ b/roles/contiv/tasks/netmaster.yml @@ -1,8 +1,8 @@ --- -- include: netmaster_firewalld.yml +- include_tasks: netmaster_firewalld.yml when: has_firewalld -- include: netmaster_iptables.yml +- include_tasks: netmaster_iptables.yml when: not has_firewalld and has_iptables - name: Netmaster | Check is /etc/hosts file exists @@ -70,8 +70,8 @@ state: started register: netmaster_started -- include: aci.yml +- include_tasks: aci.yml when: contiv_fabric_mode == "aci" -- include: default_network.yml +- include_tasks: default_network.yml when: contiv_default_network == true diff --git a/roles/contiv/tasks/netplugin.yml b/roles/contiv/tasks/netplugin.yml index e861a2591..0b2f91bab 100644 --- a/roles/contiv/tasks/netplugin.yml +++ b/roles/contiv/tasks/netplugin.yml @@ -1,8 +1,8 @@ --- -- include: netplugin_firewalld.yml +- include_tasks: netplugin_firewalld.yml when: has_firewalld -- include: netplugin_iptables.yml +- include_tasks: netplugin_iptables.yml when: has_iptables - name: Netplugin | Ensure localhost entry correct in /etc/hosts @@ -19,7 +19,7 @@ line: '::1 ' state: absent -- include: ovs.yml +- include_tasks: ovs.yml when: netplugin_driver == "ovs" - name: Netplugin | Create Netplugin bin symlink diff --git a/roles/contiv/tasks/ovs.yml b/roles/contiv/tasks/ovs.yml index 0c1b994c7..5c92e90e9 100644 --- a/roles/contiv/tasks/ovs.yml +++ b/roles/contiv/tasks/ovs.yml @@ -1,5 +1,5 @@ --- -- include: packageManagerInstall.yml +- include_tasks: packageManagerInstall.yml when: source_type == "packageManager" tags: - binary-update diff --git a/roles/contiv/tasks/packageManagerInstall.yml b/roles/contiv/tasks/packageManagerInstall.yml index e0d48e643..d5726476c 100644 --- a/roles/contiv/tasks/packageManagerInstall.yml +++ b/roles/contiv/tasks/packageManagerInstall.yml @@ -3,7 +3,7 @@ set_fact: did_install: false -- include: pkgMgrInstallers/centos-install.yml +- include_tasks: pkgMgrInstallers/centos-install.yml when: (ansible_os_family == "RedHat") and not is_atomic |