skylab
/
skylab-ansible
Archived
2
0
Fork 0

Consolidate ansible settings into config file

Update docs
This commit is contained in:
Ethan Paul 2021-12-28 00:27:46 -05:00
parent 46e1366c4f
commit f61baa3f04
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
3 changed files with 3 additions and 4 deletions

2
.env
View File

@ -1,2 +0,0 @@
ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml

View File

@ -6,8 +6,7 @@ Ansible configs for the Skylab Homelab
```bash
make dev
poetry shell
source .env
poetry run ansible-playbook ...
```
## Boostraping remote system for management:

View File

@ -1,5 +1,7 @@
[defaults]
host_key_checking = false
collections_path = .ansible
inventory = inventory.yaml
[ssh_connection]
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"