We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a1a72 commit a85a59fCopy full SHA for a85a59f
playbooks/update_andes.yml
@@ -23,6 +23,16 @@
23
ansible.builtin.pip:
24
requirements: "{{ andes_dir }}/special_requirements.txt"
25
26
+ - name: add tweak in settings.py
27
+ ansible.builtin.lineinfile:
28
+ path: "{{ andes_dir}}/andes/settings.py"
29
+ line: SECURE_CROSS_ORIGIN_OPENER_POLICY = None
30
+
31
+ - name: add another tweak in settings.py
32
33
34
+ line: CSRF_TRUSTED_ORIGINS = ['http://iml-science-1.ent.dfo-mpo.ca']
35
36
- name: Django Check
37
command: /usr/bin/python3 {{ andes_dir }}/manage.py check
38
0 commit comments