fixes
This commit is contained in:
parent
9ed7dcf0c3
commit
895d9e3251
|
@ -58,7 +58,7 @@ and ssh
|
||||||
ssh local@192.168.123.XXX
|
ssh local@192.168.123.XXX
|
||||||
```
|
```
|
||||||
|
|
||||||
in the machine switch to root and update before installing some packages and cloning the repo
|
In the vm switch to root, install some packages, and clone the repo.
|
||||||
```
|
```
|
||||||
$ sudo su
|
$ sudo su
|
||||||
$ cd
|
$ cd
|
||||||
|
@ -66,7 +66,7 @@ $ apt update && apt upgrade
|
||||||
$ apt install git ansible
|
$ apt install git ansible
|
||||||
$ git clone https://git.csclub.uwaterloo.ca/public/mirror-env.git
|
$ git clone https://git.csclub.uwaterloo.ca/public/mirror-env.git
|
||||||
```
|
```
|
||||||
then enter `mirror-env/mirror` and use the instructions listed there
|
Then enter `mirror-env/mirror` and follow the instructions there.
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: setup mirror vm
|
- name: setup mirror vm
|
||||||
hosts: 127.0.0.1
|
hosts: 127.0.0.1
|
||||||
gather_facts: false
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- name: mirbr0 network exists
|
- name: mirbr0 network exists
|
||||||
command: "virsh net-dumpxml mirbr0"
|
command: "virsh net-dumpxml mirbr0"
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
# Mirror Playbook
|
# Mirror Playbook
|
||||||
This playbook will be run inside a vm to set up the mirror's services
|
This playbook will be run inside a vm to set up the mirror's services
|
||||||
|
```
|
||||||
|
ansible-playbook main.yml
|
||||||
|
```
|
|
@ -1,5 +1,6 @@
|
||||||
- name: setup mirror vm
|
- name: setup mirror vm
|
||||||
hosts: 127.0.0.1
|
hosts: 127.0.0.1
|
||||||
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- "../roles/system"
|
- "../roles/system"
|
||||||
- "../roles/mirror"
|
- "../roles/mirror"
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
- { file: ssh_host_ecdsa_key, type: ecdsa }
|
- { file: ssh_host_ecdsa_key, type: ecdsa }
|
||||||
- { file: ssh_host_ed25519_key, type: ed25519 }
|
- { file: ssh_host_ed25519_key, type: ed25519 }
|
||||||
- { file: ssh_host_rsa_key, type: rsa }
|
- { file: ssh_host_rsa_key, type: rsa }
|
||||||
- { file: ssh_mirror_ed25519_key, type: ed25519 }
|
- { file: ssh_mirror_host_ed25519_key, type: ed25519 }
|
||||||
- { file: ssh_mirror_rsa_key, type: rsa }
|
- { file: ssh_mirror_host_rsa_key, type: rsa }
|
||||||
|
|
||||||
- name: create .ssh for mirror and push
|
- name: create .ssh for mirror and push
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue