소스 검색

remove tags from create/delete-project playbooks

Grega Bremec 1 개월 전
부모
커밋
8fa27d46bc
2개의 변경된 파일5개의 추가작업 그리고 20개의 파일을 삭제
  1. 3 10
      playbooks/create-project.yml
  2. 2 10
      playbooks/delete-project.yml

+ 3 - 10
playbooks/create-project.yml

@@ -1,4 +1,6 @@
 ---
+# Creates an ICHP-like project in the cluster.
+#
 # Pass variables to this playbook on the command line (-e):
 #
 #   user:         the user requesting the project (role.requester)
@@ -21,16 +23,9 @@
     # Get auth info, and test comms.
     - include_role:
         name: check-env
-        apply:
-          tags:
-            - check
-      tags:
-        - check
+
     - include_role:
         name: create-ichp-project
-        apply:
-          tags:
-            - create
       vars:
         role:
           requester: "{{ user }}"
@@ -63,6 +58,4 @@
           #  ratio:          max limit-to-request ratio (x-to-1)
           #    cpu:            cpu lrr (4)
           #    memory:         memory lrr (4)
-      tags:
-        - create
 ...

+ 2 - 10
playbooks/delete-project.yml

@@ -1,4 +1,6 @@
 ---
+# Removes the (previously created) ICHP project from the cluster.
+#
 # Pass variables to this playbook on the command line (-e):
 #
 #   project:      the name of the project (role.name)
@@ -18,21 +20,11 @@
     # Get auth info, and test comms.
     - include_role:
         name: check-env
-        apply:
-          tags:
-            - check
-      tags:
-        - check
 
     - include_role:
         name: create-ichp-project
-        apply:
-          tags:
-            - delete
       vars:
         role:
           state: absent
           name: "{{ project }}"
-      tags:
-        - delete
 ...