설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

blog.yml 462B

1234567891011
  1. - name: Create directory for blog HTML
  2. file: state=directory path=/var/www/{{ domain }} group=www-data owner=www-data
  3. - name: Configure the Apache HTTP server for the blog
  4. template: src=etc_apache2_sites-available_blog.j2 dest=/etc/apache2/sites-available/{{ domain }} group=www-data owner=www-data
  5. notify: restart apache
  6. - name: Enable blog site
  7. command: a2ensite {{ domain }} creates=/etc/apache2/sites-enabled/{{ domain }}
  8. notify: restart apache