aboutsummaryrefslogtreecommitdiffstats
path: root/roles/sourcehut
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-24 18:18:53 +0100
committerbinary <me@rgoncalves.se>2020-11-24 18:18:53 +0100
commit8478e90356b6738a13eed3878000d0e112074960 (patch)
treebde4fd7ceb716cf174d455dd4cb622b6c3241cf9 /roles/sourcehut
parentbeef4995064888e8193731e77eb718fbff0916f2 (diff)
downloadinfrastructure-8478e90356b6738a13eed3878000d0e112074960.tar.gz
Draft for sourcehut
Diffstat (limited to 'roles/sourcehut')
-rw-r--r--roles/sourcehut/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/sourcehut/tasks/main.yml b/roles/sourcehut/tasks/main.yml
new file mode 100644
index 0000000..95eff76
--- /dev/null
+++ b/roles/sourcehut/tasks/main.yml
@@ -0,0 +1,14 @@
+
+# sourcehut ~~ roles/sourcehut/tasks/main.yml
+# configure sourcehut for alpine host
+
+---
+
+- name: enable sourcehut repository
+ shell: |
+ echo "https://mirror.sr.ht/alpine/v3.12/sr.ht" >> /etc/apk/repositories
+ wget -q -O /etc/apk/keys/alpine@sr.ht.rsa.pub https://mirror.sr.ht/alpine/alpine@sr.ht.rsa.pub
+ apk update
+
+- name: download sourcehut base packages
+ shell: echo a
remember that computers suck.