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
|
||||
```
|
||||
Reference in New Issue
Block a user