cicd.yml 393 Bytes
Newer Older
1 2 3 4 5 6 7
---
- hosts: inters.co
  user: "{{ username }}"
  vars:
    repository: https://gitlab.common-lisp.net/idimitriou/website.git
  tasks:
    - name: pull new code from repository
Ioanna M. Dimitriou H's avatar
Ioanna M. Dimitriou H committed
8
      git: repo="{{ repository }}" dest="/home/{{ username }}/quicklisp/local-projects/ioa.re"
9 10 11 12
    - name: restart website
      systemd:
        name: ioa
        state: restarted
13 14
        user: yes

15 16 17 18