Commit 9a3791de by John Jarvis

creating directories first

parent 30a2bf55
...@@ -21,6 +21,18 @@ ...@@ -21,6 +21,18 @@
# #
# #
- name: create data and app directories
file: >
path={{ item }}
state=directory
owner=root
group=root
mode=0700
with_items:
- "{{ aws_data_dir }}"
- "{{ aws_app_dir }}"
- "{{ aws_log_dir }}"
- name: install system packages - name: install system packages
apt: > apt: >
pkg={{','.join(aws_debian_pkgs)}} pkg={{','.join(aws_debian_pkgs)}}
...@@ -50,18 +62,6 @@ ...@@ -50,18 +62,6 @@
dest={{ COMMON_BIN_DIR }}/s3cmd dest={{ COMMON_BIN_DIR }}/s3cmd
state=link state=link
- name: create data and app directories
file: >
path={{ item }}
state=directory
owner=root
group=root
mode=0700
with_items:
- "{{ aws_data_dir }}"
- "{{ aws_app_dir }}"
- "{{ aws_log_dir }}"
# The sync script and config file are now symlinks # The sync script and config file are now symlinks
# Remove them if they are regular files # Remove them if they are regular files
# This can be removed once we don't need to worry # This can be removed once we don't need to worry
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment