diff options
author | Sanjeev Rampal <srampal@cisco.com> | 2017-02-23 12:25:34 -0800 |
---|---|---|
committer | Sanjeev Rampal <srampal@cisco.com> | 2017-02-27 21:04:48 -0800 |
commit | 58818a6af147e457d56a1faf77b02d37bb538826 (patch) | |
tree | 6f9f4faaf19ae4fbac83979048aa327849609469 /roles/contiv/tasks/packageManagerInstall.yml | |
parent | c7f83e208ee433da74b7eb26644b30684a69649b (diff) | |
download | openshift-58818a6af147e457d56a1faf77b02d37bb538826.tar.gz openshift-58818a6af147e457d56a1faf77b02d37bb538826.tar.bz2 openshift-58818a6af147e457d56a1faf77b02d37bb538826.tar.xz openshift-58818a6af147e457d56a1faf77b02d37bb538826.zip |
Combined (squashed) commit for all changes related to adding Contiv support into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation.
Diffstat (limited to 'roles/contiv/tasks/packageManagerInstall.yml')
-rw-r--r-- | roles/contiv/tasks/packageManagerInstall.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/contiv/tasks/packageManagerInstall.yml b/roles/contiv/tasks/packageManagerInstall.yml new file mode 100644 index 000000000..2eff1b85f --- /dev/null +++ b/roles/contiv/tasks/packageManagerInstall.yml @@ -0,0 +1,12 @@ +--- +- name: Package Manager | Init the did_install fact + set_fact: + did_install: false + +- include: pkgMgrInstallers/centos-install.yml + when: ansible_distribution == "CentOS" and not is_atomic + +- name: Package Manager | Set fact saying we did CentOS package install + set_fact: + did_install: true + when: ansible_distribution == "CentOS" |