diff options
author | Avesh Agarwal <avagarwa@redhat.com> | 2015-06-19 14:41:10 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-08-26 13:22:42 -0400 |
commit | 1b3fff6248fbd6788a26ee2b6c60f7731891c0f4 (patch) | |
tree | 6e2fc801a4366bf7e8075882e90f8383a638fb74 /playbooks/common/openshift-node/config.yml | |
parent | 2595194cc34db43de2d9f139ff7ed1cd41c47ab1 (diff) | |
download | openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.gz openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.bz2 openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.xz openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.zip |
Atomic Enterprise related changes.
Diffstat (limited to 'playbooks/common/openshift-node/config.yml')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 705f7f223..c6d19d131 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -22,7 +22,7 @@ annotations: "{{ openshift_node_annotations | default(None) }}" - name: Check status of node certificates stat: - path: "/etc/openshift/node/{{ item }}" + path: "{{ openshift.common.config_base }}/node/{{ item }}" with_items: - "system:node:{{ openshift.common.hostname }}.crt" - "system:node:{{ openshift.common.hostname }}.key" @@ -35,8 +35,8 @@ certs_missing: "{{ stat_result.results | map(attribute='stat.exists') | list | intersect([false])}}" node_subdir: node-{{ openshift.common.hostname }} - config_dir: /etc/openshift/generated-configs/node-{{ openshift.common.hostname }} - node_cert_dir: /etc/openshift/node + config_dir: "{{ openshift.common.config_base }}/generated-configs/node-{{ openshift.common.hostname }}" + node_cert_dir: "{{ openshift.common.config_base }}/node" - name: Create temp directory for syncing certs hosts: localhost @@ -89,9 +89,9 @@ path: "{{ node_cert_dir }}" state: directory - # TODO: notify restart openshift-node + # TODO: notify restart node # possibly test service started time against certificate/config file - # timestamps in openshift-node to trigger notify + # timestamps in node to trigger notify - name: Unarchive the tarball on the node unarchive: src: "{{ sync_tmpdir }}/{{ node_subdir }}.tgz" |