diff --git a/roles/docker-discourse/handlers/main.yml b/roles/docker-discourse/handlers/main.yml index 9f60f0cd..b9d8cc4e 100644 --- a/roles/docker-discourse/handlers/main.yml +++ b/roles/docker-discourse/handlers/main.yml @@ -8,5 +8,5 @@ # DOCKER_CLIENT_TIMEOUT: 600 - name: recreate discourse command: - cmd: ./launcher rebuild discourse_application + cmd: ./launcher rebuild app chdir: "{{docker_compose_instance_directory}}" diff --git a/roles/docker-discourse/tasks/main.yml b/roles/docker-discourse/tasks/main.yml index ed236564..122f5304 100644 --- a/roles/docker-discourse/tasks/main.yml +++ b/roles/docker-discourse/tasks/main.yml @@ -45,8 +45,8 @@ mode: '700' state: directory -- name: "copy configuration to {{docker_compose_instance_directory}}containers/discourse_application.yml" +- name: "copy configuration to {{docker_compose_instance_directory}}containers/app.yml" template: - src: discourse_application.yml.j2 - dest: "{{docker_compose_instance_directory}}containers/discourse_application.yml" + src: app.yml.j2 + dest: "{{docker_compose_instance_directory}}containers/app.yml" notify: recreate discourse \ No newline at end of file diff --git a/roles/docker-discourse/templates/discourse_application.yml.j2 b/roles/docker-discourse/templates/app.yml.j2 similarity index 98% rename from roles/docker-discourse/templates/discourse_application.yml.j2 rename to roles/docker-discourse/templates/app.yml.j2 index a9673236..ffc10186 100644 --- a/roles/docker-discourse/templates/discourse_application.yml.j2 +++ b/roles/docker-discourse/templates/app.yml.j2 @@ -1,7 +1,7 @@ ## this is the all-in-one, standalone Discourse Docker container template ## ## After making changes to this file, you MUST rebuild -## /var/discourse/launcher rebuild discourse_application +## /var/discourse/launcher rebuild app ## ## BE *VERY* CAREFUL WHEN EDITING! ## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!