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.
14 lines
358 B
14 lines
358 B
- name: 'Add git site {{ hostname }}' |
|
template: |
|
src: '50-git.conf.j2' |
|
dest: '/etc/apache2/sites-available/50-{{ hostname }}.conf' |
|
owner: root |
|
group: root |
|
mode: 0644 |
|
|
|
- name: 'Enable {{ hostname }}' |
|
command: 'a2ensite 50-{{ hostname }}' |
|
args: |
|
creates: '/etc/apache2/sites-enabled/50-{{ hostname }}' |
|
notify: |
|
- Reload apache2 |