diff --git a/tasks/main.yml b/tasks/main.yml index 36771ce..e1b55fb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 diff --git a/vars/main.yml b/vars/main.yml new file mode 100644 index 0000000..375d30c --- /dev/null +++ b/vars/main.yml @@ -0,0 +1,2 @@ +atom_release: v1.20.0 +atom_deb_checksum: sha256:4029f2d323cab956f9c007e1bf50ac1d991abe245c34c47a930d1d6f0951f7cb