# HG changeset patch # User Luke Hoersten # Date 1593352801 18000 # Node ID 19fa7aa47bf1fb6488d7ca014b8e925186ee8a97 # Parent 15edca738a317ee159bfab33983d875ff06f445f Minor writefreely change. diff -r 15edca738a31 -r 19fa7aa47bf1 writefreely/tasks/main.yaml --- a/writefreely/tasks/main.yaml Sun Jun 28 08:59:54 2020 -0500 +++ b/writefreely/tasks/main.yaml Sun Jun 28 09:00:01 2020 -0500 @@ -25,25 +25,18 @@ mode: "0755" notify: migrate db -- name: create root dir +- name: create instance dir become: yes file: - path: "{{writefreely_dir}}" + path: "{{item}}" state: "directory" owner: "{{writefreely_user}}" group: "{{writefreely_user}}" mode: "0755" notify: reload service - -- name: create instance dir - become: yes - file: - path: "{{writefreely_dir}}/{{writefreely_instance}}" - state: "directory" - owner: "{{writefreely_user}}" - group: "{{writefreely_user}}" - mode: "0755" - notify: reload service + loop: + - "{{writefreely_dir}}" + - "{{writefreely_dir}}/{{writefreely_instance}}" - name: install static content become: yes