1
0
Fork 0

Compare commits

..

No commits in common. "f7fb7bcd346317d45bac3771f6a63c691b589fa4" and "1d479707f1c4381f34479019d7dc664fa60a705f" have entirely different histories.

2 changed files with 2 additions and 16 deletions
defaults
tasks

View file

@ -1,12 +1,10 @@
--- ---
hedy_base_url: "http://localhost:8080/" hedy_base_url: "http://localhost:8080/"
hedy_admin_user: ~
hedy_user_username: hedy hedy_user_username: hedy
hedy_user_groupname: hedy hedy_user_groupname: hedy
hedy_base_path: /home/hedy hedy_base_path: /home/hedy
hedy_data_path: "{{ hedy_base_path }}/data" hedy_data_path: /home/hedy/data
# Building. Default is to build on the target. To build elsewhere, # Building. Default is to build on the target. To build elsewhere,
# change host ('localhost' for Ansible host) and perhaps path. # change host ('localhost' for Ansible host) and perhaps path.

View file

@ -17,17 +17,8 @@
- {path: "{{ hedy_data_path }}", when: true} - {path: "{{ hedy_data_path }}", when: true}
when: "item.when | bool" when: "item.when | bool"
- name: Ensure database file exists before mounting it
ansible.builtin.copy:
force: false
content: ""
dest: "{{ hedy_data_path }}/dev_database.json"
mode: 0600
owner: "{{ hedy_user_username }}"
group: "{{ hedy_user_groupname }}"
- delegate_to: "{{ hedy_builder_host }}" - delegate_to: "{{ hedy_builder_host }}"
when: "hedy_pull and hedy_container_image_self_build | bool" when: "hedy_container_image_self_build | bool"
become: true become: true
become_user: "{{ hedy_builder_username }}" become_user: "{{ hedy_builder_username }}"
block: block:
@ -36,8 +27,6 @@
- name: Hedy container running - name: Hedy container running
community.docker.docker_container: community.docker.docker_container:
name: "hedy" name: "hedy"
comparisons:
env: strict
image: "{{ hedy_docker_image }}" image: "{{ hedy_docker_image }}"
pull: "{{ hedy_pull and hedy_docker_image.endswith(':latest') }}" pull: "{{ hedy_pull and hedy_docker_image.endswith(':latest') }}"
restart_policy: unless-stopped restart_policy: unless-stopped
@ -50,4 +39,3 @@
# https://github.com/hedyorg/hedy/wiki/Hedy-Development-Process#environment-variables # https://github.com/hedyorg/hedy/wiki/Hedy-Development-Process#environment-variables
fix_for_weblate: "true" fix_for_weblate: "true"
save_snippet_hashes: "true" save_snippet_hashes: "true"
ADMIN_USER: "{{ hedy_admin_user|default(omit,omit) }}"