equal
deleted
inserted
replaced
64 register: keys_file |
64 register: keys_file |
65 |
65 |
66 - name: generate keys |
66 - name: generate keys |
67 become: yes |
67 become: yes |
68 become_user: "{{writefreely_user}}" |
68 become_user: "{{writefreely_user}}" |
69 command: "writefreely keys gen" |
69 command: "writefreely keys generate" |
70 args: |
70 args: |
71 chdir: "{{writefreely_dir}}/{{writefreely_instance}}/" |
71 chdir: "{{writefreely_dir}}/{{writefreely_instance}}/" |
72 when: not keys_file.stat.exists |
72 # when: not keys_file.stat.exists |
73 |
73 |
74 - name: check if db exists |
74 - name: check if db exists |
75 stat: |
75 stat: |
76 path: "{{writefreely_dir}}/{{writefreely_instance}}/writefreely.db" |
76 path: "{{writefreely_dir}}/{{writefreely_instance}}/writefreely.db" |
77 register: db_file |
77 register: db_file |