Update playbook

This commit is contained in:
Gabriel Augendre 2020-11-12 15:07:07 +01:00
parent 8f001ddcd4
commit a378447e1d
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -6,10 +6,6 @@
PATH: /root/.poetry/bin:{{ ansible_env.PATH }} PATH: /root/.poetry/bin:{{ ansible_env.PATH }}
tasks: tasks:
- name: upgrade packages
pkgng:
name: '*'
state: latest
- name: install dependencies - name: install dependencies
pkgng: pkgng:
name: git,python38,py38-sqlite3,jpeg-turbo,nginx,curl,vim name: git,python38,py38-sqlite3,jpeg-turbo,nginx,curl,vim
@ -18,7 +14,7 @@
path: /usr/local/bin/python3 path: /usr/local/bin/python3
src: /usr/local/bin/python3.8 src: /usr/local/bin/python3.8
state: link state: link
- name: clone/update code - name: fetch code
git: git:
repo: https://git.sr.ht/~crocmagnon/blog repo: https://git.sr.ht/~crocmagnon/blog
dest: /srv/blog dest: /srv/blog