summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-11 12:25:32 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-11 12:25:32 +0200
commitc22fb9098492cea7b1b90957ca88d7c8c454ea73 (patch)
tree6e566652c7b55288eae5206505687302c739dfd1 /ansible
parent6f63013306924bd2462e4fb6c7528910f1431327 (diff)
downloadansibleness-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.yml52
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