diff options
author | Tomas Sedovic <tomas@sedovic.cz> | 2017-11-02 10:44:41 +0100 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-11-07 14:35:47 +1100 |
commit | 4fd33e96eed4d1d5eaca0af8f2ef3e81fcaf5498 (patch) | |
tree | ab24b62588b290d2d249b0b168f97aa580ceacd9 /roles/openshift_openstack | |
parent | bde35d577f4ccb786a65a84142fabe90eb903599 (diff) | |
download | openshift-4fd33e96eed4d1d5eaca0af8f2ef3e81fcaf5498.tar.gz openshift-4fd33e96eed4d1d5eaca0af8f2ef3e81fcaf5498.tar.bz2 openshift-4fd33e96eed4d1d5eaca0af8f2ef3e81fcaf5498.tar.xz openshift-4fd33e96eed4d1d5eaca0af8f2ef3e81fcaf5498.zip |
Simplify the template paths for the storage setup
Because the templates are present in a role, the `template` module is
able to look them up directly, without having to use `{{ role_path
}}/templates`.
Diffstat (limited to 'roles/openshift_openstack')
-rw-r--r-- | roles/openshift_openstack/tasks/container-storage-setup.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_openstack/tasks/container-storage-setup.yml b/roles/openshift_openstack/tasks/container-storage-setup.yml index 5cd48ca2c..82307b208 100644 --- a/roles/openshift_openstack/tasks/container-storage-setup.yml +++ b/roles/openshift_openstack/tasks/container-storage-setup.yml @@ -2,7 +2,7 @@ - block: - name: create the docker-storage config file template: - src: "{{ role_path }}/templates/docker-storage-setup-overlayfs.j2" + src: docker-storage-setup-overlayfs.j2 dest: /etc/sysconfig/docker-storage-setup owner: root group: root @@ -14,7 +14,7 @@ - block: - name: create the docker-storage-setup config file template: - src: "{{ role_path }}/templates/docker-storage-setup-dm.j2" + src: docker-storage-setup-dm.j2 dest: /etc/sysconfig/docker-storage-setup owner: root group: root @@ -26,7 +26,7 @@ - block: - name: create the docker-storage-setup config file for CentOS template: - src: "{{ role_path }}/templates/docker-storage-setup-dm.j2" + src: docker-storage-setup-dm.j2 dest: /etc/sysconfig/docker-storage-setup owner: root group: root |