Add README.md

This commit is contained in:
Daniel A. Maierhofer
2018-11-10 12:51:58 +01:00
parent 59b79dadc4
commit a751a6549d
3 changed files with 142 additions and 1 deletions

20
README.md Normal file
View 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
```