21 lines
553 B
Markdown
21 lines
553 B
Markdown
# 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
|
|
```
|