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