Skip to content
Snippets Groups Projects
mc3.yml 618 B
---
- name: Config for mc3.coop
  block:

    - name: mc3 templates present
      git:
        repo: https://git.coop/mc3coop/ssh-templates.git
        dest: /var/www/mc3
        version: master
        clone: true
        update: true
        force: true

    - name: Debian default /var/www/html/index.html absent
      file:
        path: /var/www/html/index.html
        state: absent

    - name: WSH Apache config in place
      template:
        src: templates/mc3.conf.j2
        dest: /etc/apache2/conf-available/mc3.conf
        owner: root
        group: root
        mode: "0644"

  tags:
    - apache
...