From af360c99503d8d311b835f9c51fdccd18c775f68 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 21 Apr 2020 12:02:56 +0200 Subject: [PATCH] Move scope files --- tasks/main.yml | 18 +++++++++--------- .../{ => scope}/cluster-role-binding.yaml.j2 | 0 templates/{ => scope}/cluster-role.yaml.j2 | 0 templates/{ => scope}/deploy.yaml.j2 | 0 templates/{ => scope}/ds.yaml.j2 | 0 templates/{ => scope}/probe-deploy.yaml.j2 | 0 templates/{ => scope}/psp.yaml.j2 | 0 templates/{ => scope}/sa.yaml.j2 | 0 templates/{ => scope}/svc.yaml.j2 | 0 templates/{ => scope}/weave_ingress.yaml.j2 | 0 10 files changed, 9 insertions(+), 9 deletions(-) rename templates/{ => scope}/cluster-role-binding.yaml.j2 (100%) rename templates/{ => scope}/cluster-role.yaml.j2 (100%) rename templates/{ => scope}/deploy.yaml.j2 (100%) rename templates/{ => scope}/ds.yaml.j2 (100%) rename templates/{ => scope}/probe-deploy.yaml.j2 (100%) rename templates/{ => scope}/psp.yaml.j2 (100%) rename templates/{ => scope}/sa.yaml.j2 (100%) rename templates/{ => scope}/svc.yaml.j2 (100%) rename templates/{ => scope}/weave_ingress.yaml.j2 (100%) diff --git a/tasks/main.yml b/tasks/main.yml index 803a65d..4a6a2c6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -66,14 +66,14 @@ context: "{{ my_context }}" resource_definition: "{{ lookup('template', item) | from_yaml }}" with_items: - - psp.yaml.j2 - - cluster-role-binding.yaml.j2 - - cluster-role.yaml.j2 - - sa.yaml.j2 - - svc.yaml.j2 - - ds.yaml.j2 - - probe-deploy.yaml.j2 - - deploy.yaml.j2 - - weave_ingress.yaml.j2 + - scope/psp.yaml.j2 + - scope/cluster-role-binding.yaml.j2 + - scope/cluster-role.yaml.j2 + - scope/sa.yaml.j2 + - scope/svc.yaml.j2 + - scope/ds.yaml.j2 + - scope/probe-deploy.yaml.j2 + - scope/deploy.yaml.j2 + - scope/weave_ingress.yaml.j2 tags: weave diff --git a/templates/cluster-role-binding.yaml.j2 b/templates/scope/cluster-role-binding.yaml.j2 similarity index 100% rename from templates/cluster-role-binding.yaml.j2 rename to templates/scope/cluster-role-binding.yaml.j2 diff --git a/templates/cluster-role.yaml.j2 b/templates/scope/cluster-role.yaml.j2 similarity index 100% rename from templates/cluster-role.yaml.j2 rename to templates/scope/cluster-role.yaml.j2 diff --git a/templates/deploy.yaml.j2 b/templates/scope/deploy.yaml.j2 similarity index 100% rename from templates/deploy.yaml.j2 rename to templates/scope/deploy.yaml.j2 diff --git a/templates/ds.yaml.j2 b/templates/scope/ds.yaml.j2 similarity index 100% rename from templates/ds.yaml.j2 rename to templates/scope/ds.yaml.j2 diff --git a/templates/probe-deploy.yaml.j2 b/templates/scope/probe-deploy.yaml.j2 similarity index 100% rename from templates/probe-deploy.yaml.j2 rename to templates/scope/probe-deploy.yaml.j2 diff --git a/templates/psp.yaml.j2 b/templates/scope/psp.yaml.j2 similarity index 100% rename from templates/psp.yaml.j2 rename to templates/scope/psp.yaml.j2 diff --git a/templates/sa.yaml.j2 b/templates/scope/sa.yaml.j2 similarity index 100% rename from templates/sa.yaml.j2 rename to templates/scope/sa.yaml.j2 diff --git a/templates/svc.yaml.j2 b/templates/scope/svc.yaml.j2 similarity index 100% rename from templates/svc.yaml.j2 rename to templates/scope/svc.yaml.j2 diff --git a/templates/weave_ingress.yaml.j2 b/templates/scope/weave_ingress.yaml.j2 similarity index 100% rename from templates/weave_ingress.yaml.j2 rename to templates/scope/weave_ingress.yaml.j2