소스 검색

using role prep-work (premature add in prev commit)

Grega Bremec 3 년 전
부모
커밋
d8ca4b827e
1개의 변경된 파일11개의 추가작업 그리고 7개의 파일을 삭제
  1. 11 7
      prepare-deploy-sno1.yml

+ 11 - 7
prepare-deploy-sno1.yml

@@ -3,14 +3,18 @@
   hosts: utility.lab.example.com
   become: true
   gather_facts: false
+  vars:
+    node:
+      ip: 192.168.50.18
+      mac: 01-52-54-00-00-32-12
+      name: node
+      role: SNO
+      cluster: sno1
   roles:
     - role: check-env
+      tags: check
     - role: deploy-infra
-      vars:
-        node:
-          ip: 192.168.50.18
-          mac: 01-52-54-00-00-32-12
-          name: node
-          role: SNO
-          cluster: sno1
+      tags: infra
+    - role: prep-work
+      tags: prep
 ...