File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
+ - name : Replace add_header X-Frame-Options DENY with CSP frame-ancestors self in automation-controller.nginx.conf
3
+ ansible.builtin.lineinfile :
4
+ path : /etc/nginx/conf.d/automation-controller.nginx.conf
5
+ regexp : ' ^(.*)add_header X-Frame-Options \"DENY\"\;'
6
+ line : >-
7
+ \1add_header Content-Security-Policy "frame-ancestors 'self';";
8
+ backrefs : yes
9
+ owner : root
10
+ group : root
11
+ mode : ' 0644'
12
+ register : add_header_csp
13
+ retries : 10
14
+ until : add_header_csp is not changed
15
+
2
16
- name : Apply our systemd service file (instead of RPM file)
3
17
ansible.builtin.template :
4
18
src : code-server.service.j2
12
26
name : code-server
13
27
enabled : true
14
28
state : restarted
15
- daemon_reload : true
29
+ daemon_reload : true
You can’t perform that action at this time.
0 commit comments