From c22fb9098492cea7b1b90957ca88d7c8c454ea73 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 11 Mar 2024 12:25:32 +0200 Subject: exolobe1: don't install Radicle using its installer Signed-off-by: Lars Wirzenius Sponsored-by: author --- ansible/exolobe1.yml | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) (limited to 'ansible') diff --git a/ansible/exolobe1.yml b/ansible/exolobe1.yml index fca40e8..aaddf31 100644 --- a/ansible/exolobe1.yml +++ b/ansible/exolobe1.yml @@ -187,26 +187,6 @@ - shell: | env DEBIAN_FRONTEND=noninteractive dpkg-reconfigure libdvd-pkg - - - name: "install radicle using installer" - shell: | - filename="/home/liw/.radicle/bin/rad" - - install=false - if [ ! -e "$filename" ]; then - install=true - else - weekago="$(date -d 'week ago' +%s)" - mtime="$(stat -c %Y "$filename")" - if [ "$mtime" -lt "$weekago" ]; then - install=true - fi - fi - - if $install; then - curl -sSf https://radicle.xyz/install | sudo -u liw bash - fi - - name: "create liw/.radicle/keys" file: state: directory @@ -231,38 +211,6 @@ group: liw mode: 0644 - - - name: "install radicle using installer" - shell: | - if [ ! -e /home/liw/.radicle/bin/rad ]; then - curl -sSf https://radicle.xyz/install | sudo -u liw bash - fi - - - name: "create ~liw/.radicle/keys" - file: - state: directory - path: /home/liw/.radicle/keys - owner: liw - group: liw - mode: 0755 - - - name: "install radicle private key" - copy: - content: "{{ radicle_key }}" - dest: /home/liw/.radicle/keys/radicle - owner: liw - group: liw - mode: 0600 - - - name: "install radicle public key" - copy: - content: "{{ radicle_pub }}" - dest: /home/liw/.radicle/keys/radicle.pub - owner: liw - group: liw - mode: 0644 - - vars: ansible_python_interpreter: /usr/bin/python3 -- cgit v1.2.1