File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ Description=Foreman socket
33
44[Socket]
55ListenStream={{ foreman_listen_stream }}
6+ SocketUser=apache
7+ SocketMode=0600
8+
9+ NoDelay=false
10+ ReusePort=true
11+ Backlog=1024
612
713[Install]
814WantedBy=sockets.target
Original file line number Diff line number Diff line change 1313 persistent : true
1414 when : ansible_facts['selinux']['status'] == "enabled"
1515
16+ # TODO: probably not the right boolean
17+ - name : Set daemons_enable_cluster_mode so Apache can connect to unix sockets
18+ ansible.posix.seboolean :
19+ name : daemons_enable_cluster_mode
20+ state : true
21+ persistent : true
22+
1623- name : Disable welcome page
1724 ansible.builtin.file :
1825 path : /etc/httpd/conf.d/welcome.conf
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ foreman_oauth_consumer_secret: abcdefghijklmnopqrstuvwxyz123456
2323foreman_plugins : " {{ enabled_features | features_to_foreman_plugins }}"
2424foreman_url : " https://{{ ansible_facts['fqdn'] }}"
2525
26+ foreman_listen_stream : /run/httpd.foreman.sock
27+ httpd_foreman_backend : " unix://{{ foreman_listen_stream }}|http://%{HTTP_HOST}/"
28+
2629httpd_server_ca_certificate : " {{ server_ca_certificate }}"
2730httpd_client_ca_certificate : " {{ client_ca_certificate }}"
2831httpd_server_certificate : " {{ server_certificate }}"
You can’t perform that action at this time.
0 commit comments