Verified Commit 2039b75e authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

Added something



Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 63f31ef4
<pre>
# lxc launch images:archlinux/current archmanweb
# lxc file push --gid 0 --uid 0 -p ./id_rsa.pub archmanweb/root/.ssh/authorized_keys
# lxc exec archmanweb pacman -Sy python openssh
# lxc exec archmanweb systemctl enable --now sshd
# ansible-playbook man.archlinux.org
</pre>
Also things needs to be commented adhoc
<pre>
diff --git a/roles/archmanweb/defaults/main.yml b/roles/archmanweb/defaults/main.yml
index 0bcfdacd..ce501166 100644
--- a/roles/archmanweb/defaults/main.yml
+++ b/roles/archmanweb/defaults/main.yml
@@ -1,7 +1,7 @@
---
archmanweb_dir: '/srv/http/archmanweb'
archmanweb_cache_dir: '{{ archmanweb_dir }}/cache'
-archmanweb_domain: 'man.archlinux.org'
+ #archmanweb_domain: 'man.archlinux.org'
archmanweb_allowed_hosts: ["{{ archmanweb_domain }}"]
archmanweb_nginx_conf: '/etc/nginx/nginx.d/archmanweb.conf'
archmanweb_repository: 'https://gitlab.archlinux.org/archlinux/archmanweb.git'
</pre>
---
letsencrypt_validation_dir: ""
......@@ -4,3 +4,6 @@
[gemini.archlinux.org]
10.241.93.35
[man.archlinux.org]
10.241.93.237
---
- name: setup man.archlinux.org
hosts: man.archlinux.org
remote_user: root
roles:
- { role: archmanweb, archmanweb_version: 'v1.1' }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment