summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-11-27 13:05:42 -0500
committerMichael Gugino <mgugino@redhat.com>2017-11-27 13:05:42 -0500
commit08fca0216aeddf24f8c1a4e33fa522021fad249f (patch)
treee0c76624405a4ffeee5f3d2890d7999f54058aaa /playbooks/openshift-etcd
parent9dbcf7bfda85d33f2d0d9653ab5a3cab714b3514 (diff)
downloadopenshift-08fca0216aeddf24f8c1a4e33fa522021fad249f.tar.gz
openshift-08fca0216aeddf24f8c1a4e33fa522021fad249f.tar.bz2
openshift-08fca0216aeddf24f8c1a4e33fa522021fad249f.tar.xz
openshift-08fca0216aeddf24f8c1a4e33fa522021fad249f.zip
Remove openshift_clock from meta depends
This commit adds openshift_clock role to required plays instead of using meta_depends.
Diffstat (limited to 'playbooks/openshift-etcd')
-rw-r--r--playbooks/openshift-etcd/private/ca.yml1
-rw-r--r--playbooks/openshift-etcd/private/config.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/openshift-etcd/private/ca.yml b/playbooks/openshift-etcd/private/ca.yml
index ac5543be9..c9f186e72 100644
--- a/playbooks/openshift-etcd/private/ca.yml
+++ b/playbooks/openshift-etcd/private/ca.yml
@@ -2,6 +2,7 @@
- name: Generate new etcd CA
hosts: oo_first_etcd
roles:
+ - role: openshift_clock
- role: openshift_etcd_facts
tasks:
- include_role:
diff --git a/playbooks/openshift-etcd/private/config.yml b/playbooks/openshift-etcd/private/config.yml
index f49a3ecaa..3d6c79834 100644
--- a/playbooks/openshift-etcd/private/config.yml
+++ b/playbooks/openshift-etcd/private/config.yml
@@ -20,6 +20,7 @@
any_errors_fatal: true
roles:
- role: os_firewall
+ - role: openshift_clock
- role: openshift_etcd
etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"