summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-03-23 10:49:57 -0400
committerRussell Teague <rteague@redhat.com>2017-03-27 15:48:50 -0400
commit2c7a6849096a2e1e5b8799cdc07753ab3852c561 (patch)
tree8276ee7d1db5f4488e00bbd8a1b7696bc13604b2 /roles/etcd
parenta22e780b21eacf9ae7fc067d9f26e1a01c1d4558 (diff)
downloadopenshift-2c7a6849096a2e1e5b8799cdc07753ab3852c561.tar.gz
openshift-2c7a6849096a2e1e5b8799cdc07753ab3852c561.tar.bz2
openshift-2c7a6849096a2e1e5b8799cdc07753ab3852c561.tar.xz
openshift-2c7a6849096a2e1e5b8799cdc07753ab3852c561.zip
Use meta/main.yml for role dependencies
Diffstat (limited to 'roles/etcd')
-rw-r--r--roles/etcd/meta/main.yml1
-rw-r--r--roles/etcd/tasks/system_container.yml4
2 files changed, 1 insertions, 4 deletions
diff --git a/roles/etcd/meta/main.yml b/roles/etcd/meta/main.yml
index 532f9e313..e0c70a181 100644
--- a/roles/etcd/meta/main.yml
+++ b/roles/etcd/meta/main.yml
@@ -16,6 +16,7 @@ galaxy_info:
- cloud
- system
dependencies:
+- role: lib_openshift
- role: os_firewall
os_firewall_allow:
- service: etcd
diff --git a/roles/etcd/tasks/system_container.yml b/roles/etcd/tasks/system_container.yml
index 3b80164cc..72ffadbd2 100644
--- a/roles/etcd/tasks/system_container.yml
+++ b/roles/etcd/tasks/system_container.yml
@@ -1,8 +1,4 @@
---
-- name: Load lib_openshift modules
- include_role:
- name: lib_openshift
-
- name: Pull etcd system container
command: atomic pull --storage=ostree {{ openshift.etcd.etcd_image }}
register: pull_result