Sfoglia il codice sorgente

improve installation commands

master
parent
commit
491fed14a8
2 ha cambiato i file con 11 aggiunte e 1 eliminazioni
  1. +9
    -1
      tasks/main.yml
  2. +2
    -0
      vars/main.yml

+ 9
- 1
tasks/main.yml Vedi File

@@ -1,3 +1,11 @@
---

- name: download atom deb package
get_url:
url: https://github.com/atom/atom/releases/download/{{atom_release}}/atom-amd64.deb
dest: /opt/atom-amd64.deb
checksum: "{{atom_deb_checksum}}"

- name: install atom
apt:
deb: https://github.com/atom/atom/releases/download/v1.19.7/atom-amd64.deb
deb: /opt/atom-amd64.deb

+ 2
- 0
vars/main.yml Vedi File

@@ -0,0 +1,2 @@
atom_release: v1.20.0
atom_deb_checksum: sha256:4029f2d323cab956f9c007e1bf50ac1d991abe245c34c47a930d1d6f0951f7cb

Loading…
Annulla
Salva