Add README.md
This commit is contained in:
20
README.md
Normal file
20
README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Ansible configuration management for FET IT
|
||||
|
||||
# See [Service documentation](./doc)
|
||||
|
||||
# Install ansible
|
||||
```shell
|
||||
./install
|
||||
```
|
||||
Put [ssh_config](./ssh.cfg) in your `~/.ssh/config` or specify local one each time
|
||||
Put `./roles/common/files/known_hosts` in your `~/.ssh/known_hosts`
|
||||
|
||||
# Run ansible
|
||||
```shell
|
||||
./ansible-playbook -i hosts/production site.yml --ssh-extra-args "-F ./ssh.cfg"
|
||||
```
|
||||
|
||||
# Run ansible for specific server and role
|
||||
```shell
|
||||
./ansible-playbook -i hosts/production site.yml --ssh-extra-args "-F ./ssh.cfg" --limit sputnik --tags openssh
|
||||
```
|
||||
Submodule roles/common updated: 5e916ca510...a8c75a12f5
121
ssh.cfg
Normal file
121
ssh.cfg
Normal file
@@ -0,0 +1,121 @@
|
||||
# FET
|
||||
|
||||
Host sputnik
|
||||
Hostname sputnik.htu.tuwien.ac.at
|
||||
|
||||
Host kistl
|
||||
ProxyJump sputnik
|
||||
|
||||
Host wlan
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
Host atlas
|
||||
ProxyJump sputnik
|
||||
|
||||
Host ariane
|
||||
Hostname ariane.htu.tuwien.ac.at
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
## virtual on ariane
|
||||
Host laika
|
||||
User root
|
||||
ProxyJump ariane
|
||||
|
||||
Host betam
|
||||
User root
|
||||
ProxyJump ariane
|
||||
|
||||
Host proteus
|
||||
User root
|
||||
ProxyJump ariane
|
||||
|
||||
Host zyklon
|
||||
User root
|
||||
ProxyJump ariane
|
||||
|
||||
Host sojus
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
Host progress
|
||||
User root
|
||||
Proxyjump sputnik
|
||||
|
||||
Host energija
|
||||
Hostname energija.htu.tuwien.ac.at
|
||||
ProxyJump sputnik
|
||||
|
||||
## virtual on energija
|
||||
Host nauka
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
Host buran
|
||||
Hostname buran.htu.tuwien.ac.at
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
Host backup
|
||||
ProxyJump sputnik
|
||||
|
||||
Host gagarin
|
||||
ProxyJump sputnik
|
||||
|
||||
Host horde5
|
||||
ProxyJump sputnik
|
||||
|
||||
Host triton
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
DynamicForward 127.0.0.1:4444
|
||||
|
||||
Host mogok
|
||||
ProxyJump sputnik
|
||||
|
||||
Host maria-storage
|
||||
User root
|
||||
ProxyJump sputnik
|
||||
|
||||
Host miruk
|
||||
Port 222
|
||||
User root
|
||||
ProxyJump triton
|
||||
|
||||
Host cloud
|
||||
ProxyJump sputnik
|
||||
|
||||
Host fetruby
|
||||
ProxyJump sputnik
|
||||
|
||||
Host fetwiki # triton-2
|
||||
Hostname 192.168.95.12
|
||||
ProxyJump sputnik
|
||||
|
||||
Host triton-amp
|
||||
ProxyJump sputnik
|
||||
|
||||
Host fet
|
||||
ProxyJump miruk
|
||||
|
||||
Host baroness
|
||||
User root
|
||||
Proxyjump sputnik
|
||||
|
||||
## Workstations
|
||||
Host potemkin
|
||||
ProxyJump sputnik
|
||||
|
||||
Host proton
|
||||
ProxyJump sputnik
|
||||
|
||||
Host suchoi
|
||||
ProxyJump sputnik
|
||||
|
||||
Host lunik
|
||||
ProxyJump sputnik
|
||||
|
||||
# FET Ende
|
||||
|
||||
EscapeChar ~
|
||||
Reference in New Issue
Block a user