884c437e7b | ||
---|---|---|
.. | ||
ftp | ||
mirror | ||
nginx | ||
rsync | ||
system/tasks | ||
README.md | ||
mirror.txt |
README.md
TODO
- modify configs when appropriate
- net.ipv4.ip_forward=1 for both host and vm
- create 3 users
- local (does nothing?)
- mirror (does something)
- push (ssh authorized_keys for pushing)
Storage
symlink projects from /mirror/root/.cscmirror
to /mirror/root
dirs of importance
Merlin
check wiki for more details
Push Sync
create push
user and ssh keypair in /home/push/.ssh/authorized_keys
check wiki for more details
Sync Scripts
add sync scripts to ~mirror/bin
merge all mirror stuff into mirror role
setup role that creates zpools and users
to write
- ftp
- mirror
- setup
- local
to update
- hosts + ansible.cfg
- group_vars
- quote the file mode (0777 -> '0777')
- add directory_mode to set directory permission
- double check src and dest behaviour with trailing /
- could check that copy works like rsync