diff options
author | binary <me@rgoncalves.se> | 2020-11-24 18:18:53 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-24 18:18:53 +0100 |
commit | 8478e90356b6738a13eed3878000d0e112074960 (patch) | |
tree | bde4fd7ceb716cf174d455dd4cb622b6c3241cf9 /roles/sourcehut/tasks | |
parent | beef4995064888e8193731e77eb718fbff0916f2 (diff) | |
download | infrastructure-8478e90356b6738a13eed3878000d0e112074960.tar.gz |
Draft for sourcehut
Diffstat (limited to 'roles/sourcehut/tasks')
-rw-r--r-- | roles/sourcehut/tasks/main.yml | 14 |
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 |