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

23 lines
381B

  1. ---
  2. - import_tasks: setup_Debian.yml
  3. - name: enable modules
  4. apache2_module:
  5. name: "{{item}}"
  6. state: present
  7. with_items:
  8. - rewrite
  9. - ssl
  10. - name: default vhost
  11. template:
  12. src: default-vhost.j2
  13. dest: /etc/apache2/sites-available/000-default.conf
  14. notify: reload apache
  15. - name: ensure apache is started
  16. service:
  17. name: apache2
  18. state: started