selinux.yml 704 B

1234567891011121314151617181920212223242526
  1. ---
  2. - name: Selinux... enable seboolean settings
  3. seboolean:
  4. name: "{{ item }}"
  5. state: yes
  6. persistent: yes
  7. with_items:
  8. - httpd_unified
  9. - httpd_graceful_shutdown
  10. - httpd_can_network_relay
  11. - httpd_can_network_connect
  12. - httpd_can_network_connect_db
  13. - daemons_enable_cluster_mode
  14. - httpd_use_fusefs
  15. - httpd_use_cifs
  16. - httpd_use_gpg
  17. - httpd_use_nfs
  18. - httpd_execmem
  19. - httpd_can_sendmail
  20. # if you have trouble with php-fpm and selinux in this nextcloud configuration :
  21. # # ausearch -c 'php-fpm' --raw | audit2allow -M my-phpfpm
  22. # # semodule -X 300 -i my-phpfpm.pp
  23. # # ausearch -c 'df' --raw | audit2allow -M my-df
  24. # # semodule -X 300 -i my-df.pp