diff options
author | Clayton Coleman <ccoleman@redhat.com> | 2017-11-05 01:03:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-05 01:03:05 -0400 |
commit | 858afb085dab78018f90ff17871b83c1dd9ba5bd (patch) | |
tree | 8f1b7e5f3fed085ad1deee7ee2d613fac7d89d69 /roles/openshift_node_bootstrap_configmap/tasks | |
parent | f3d21a11f7e8f0602b593433ef0a36dcb362e5a6 (diff) | |
download | openshift-858afb085dab78018f90ff17871b83c1dd9ba5bd.tar.gz openshift-858afb085dab78018f90ff17871b83c1dd9ba5bd.tar.bz2 openshift-858afb085dab78018f90ff17871b83c1dd9ba5bd.tar.xz openshift-858afb085dab78018f90ff17871b83c1dd9ba5bd.zip |
Revert "Bootstrap enhancements."
Diffstat (limited to 'roles/openshift_node_bootstrap_configmap/tasks')
-rw-r--r-- | roles/openshift_node_bootstrap_configmap/tasks/create_config.yml | 32 | ||||
-rw-r--r-- | roles/openshift_node_bootstrap_configmap/tasks/standard.yml | 12 |
2 files changed, 0 insertions, 44 deletions
diff --git a/roles/openshift_node_bootstrap_configmap/tasks/create_config.yml b/roles/openshift_node_bootstrap_configmap/tasks/create_config.yml deleted file mode 100644 index 05080daa4..000000000 --- a/roles/openshift_node_bootstrap_configmap/tasks/create_config.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: create a temp dir for this work - command: mktemp -d /tmp/openshift_node_config-XXXXXX - register: mktempout - run_once: true - -- name: create node config template - template: - src: node-config.yaml.j2 - dest: "{{ mktempout.stdout }}/node-config.yaml" - -- name: "specialize the generated configs for {{ openshift_node_bootstrap_configmap_name }}" - yedit: - content: - src: "{{ mktempout.stdout }}/node-config.yaml" - edits: "{{ openshift_node_bootstrap_configmap_edits }}" - when: openshift_node_bootstrap_configmap_edits|length > 0 - run_once: true - -- name: create node-config.yaml configmap - oc_configmap: - name: "{{ openshift_node_bootstrap_configmap_name }}" - namespace: "{{ openshift_node_bootstrap_configmap_namespace }}" - from_file: - node-config.yaml: "{{ mktempout.stdout }}/node-config.yaml" - run_once: true - -- name: remove templated files - file: - dest: "{{ mktempout.stdout }}/" - state: absent - run_once: true diff --git a/roles/openshift_node_bootstrap_configmap/tasks/standard.yml b/roles/openshift_node_bootstrap_configmap/tasks/standard.yml deleted file mode 100644 index 637d7c7fc..000000000 --- a/roles/openshift_node_bootstrap_configmap/tasks/standard.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Build an infra node configmap - include: create_config.yml - vars: - openshift_node_bootstrap_configmap_name: node-config-infra - static: true - -- name: Build an infra node configmap - include: create_config.yml - vars: - openshift_node_bootstrap_configmap_name: node-config-compute - static: true |