Compare commits
No commits in common. "f7fb7bcd346317d45bac3771f6a63c691b589fa4" and "1d479707f1c4381f34479019d7dc664fa60a705f" have entirely different histories.
f7fb7bcd34
...
1d479707f1
2 changed files with 2 additions and 16 deletions
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
hedy_base_url: "http://localhost:8080/"
|
||||
|
||||
hedy_admin_user: ~
|
||||
|
||||
hedy_user_username: hedy
|
||||
hedy_user_groupname: 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,
|
||||
# change host ('localhost' for Ansible host) and perhaps path.
|
||||
|
|
|
@ -17,17 +17,8 @@
|
|||
- {path: "{{ hedy_data_path }}", when: true}
|
||||
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 }}"
|
||||
when: "hedy_pull and hedy_container_image_self_build | bool"
|
||||
when: "hedy_container_image_self_build | bool"
|
||||
become: true
|
||||
become_user: "{{ hedy_builder_username }}"
|
||||
block:
|
||||
|
@ -36,8 +27,6 @@
|
|||
- name: Hedy container running
|
||||
community.docker.docker_container:
|
||||
name: "hedy"
|
||||
comparisons:
|
||||
env: strict
|
||||
image: "{{ hedy_docker_image }}"
|
||||
pull: "{{ hedy_pull and hedy_docker_image.endswith(':latest') }}"
|
||||
restart_policy: unless-stopped
|
||||
|
@ -50,4 +39,3 @@
|
|||
# https://github.com/hedyorg/hedy/wiki/Hedy-Development-Process#environment-variables
|
||||
fix_for_weblate: "true"
|
||||
save_snippet_hashes: "true"
|
||||
ADMIN_USER: "{{ hedy_admin_user|default(omit,omit) }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue