README.md 969 Bytes
Newer Older
Morten Linderud's avatar
Morten Linderud committed
1
2
3
4
<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
Morten Linderud's avatar
Yolo    
Morten Linderud committed
5
# lxc exec archmanweb pacman -Rdd man-db
Morten Linderud's avatar
Morten Linderud committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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>