123456789101112131415161718192021222324252627282930313233343536373839404142 |
- ---
- - name: Package cache updated
- shell: pkg update -f
- - name: Dependencies installed
- pkgng:
- name: "py37-pip py37-supervisor"
- state: present
- - name: Supervisor enabled
- shell: sysrc supervisord_enable="YES"
- - name: 15Five source deployed
- git:
- repo: 'git@github.com:15five/fifteen5.git'
- dest: /root/fifteen5
- update: yes
- - name: Supervisor config file patched
- patch:
- src: supervisord.conf.patch
- dest: /usr/local/etc/supervisord.conf
- notify: Supervisor restarted
- - name: 15Five requirements up to date
- pip:
- requirements: /root/fifteen5/requirements/test.pip
- executable: pip
- - name: 15Five migrations up to date
- command: bash -lc "direnv exec /root/fifteen5 python /root/fifteen5/manage.py migrate"
- - name: 15Five supervisor file installed
- copy:
- src: fifteen5-supervisor.conf
- dest: /usr/local/etc/supervisor/conf.d/
- owner: root
- mode: 0644
- notify: Supervisor restarted
- - name: 15Five frontend files generated
- command: bash -lc "direnv exec /root/fifteen5 yarn && yarn build"
|