Files
ansible-fet/README.md
Daniel A. Maierhofer a751a6549d Add README.md
2018-11-10 12:51:58 +01:00

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
```