Chris Mague 8 년 전
부모
커밋
a832ed34a4
1개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 13 1
      tasks/binary_install.yml

+ 13 - 1
tasks/binary_install.yml

@@ -17,8 +17,20 @@
 - name: Ensure Consul Install Dir exists
   file:
     path="{{cloud_consul_install_dir}}"
-    mode=0700
+    mode=0755
+    state=directory
+  tags: 
+    - install
+
+- name: Ensure Consul App Dirs exist
+  file: >
+    path="{{cloud_consul_install_dir}}/{{item}}"
+    mode=0755
     state=directory
+  with_items:
+    - etc
+    - data
+    - bin
   tags: 
     - install