mirror-env/roles
Andrew Wang 884c437e7b finalize structure 2021-09-24 01:19:56 -04:00
..
ftp finalize structure 2021-09-24 01:19:56 -04:00
mirror finalize structure 2021-09-24 01:19:56 -04:00
nginx fixes 2021-09-17 16:42:15 -04:00
rsync fixes 2021-09-22 00:50:14 -04:00
system/tasks finalize structure 2021-09-24 01:19:56 -04:00
README.md finalize structure 2021-09-24 01:19:56 -04:00
mirror.txt finalize structure 2021-09-24 01:19:56 -04:00

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