25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

apache2.yml 501B

7 년 전
1234567891011121314151617181920212223
  1. ---
  2. - name: apache2 rewrite module
  3. apache2_module:
  4. name: "{{ item }}"
  5. state: present
  6. with_items:
  7. - ssl
  8. - rewrite
  9. notify: restart apache2
  10. - name: apache2 nextcloud vhost
  11. template:
  12. src: apache-vhost.conf.j2
  13. dest: /etc/apache2/sites-available/nextcloud.conf
  14. notify: restart apache2
  15. - name: apache2 nextcloud vhost enabled
  16. file:
  17. src: ../sites-available/nextcloud.conf
  18. dest: /etc/apache2/sites-enabled/nextcloud.conf
  19. state: link
  20. notify: restart apache2