diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-03-11 12:25:32 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-03-11 12:25:32 +0200 |
commit | c22fb9098492cea7b1b90957ca88d7c8c454ea73 (patch) | |
tree | 6e566652c7b55288eae5206505687302c739dfd1 /ansible | |
parent | 6f63013306924bd2462e4fb6c7528910f1431327 (diff) | |
download | ansibleness-c22fb9098492cea7b1b90957ca88d7c8c454ea73.tar.gz |
exolobe1: don't install Radicle using its installer
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/exolobe1.yml | 52 |
1 files changed, 0 insertions, 52 deletions
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 |