Consolidate ansible settings into config file
Update docs
This commit is contained in:
parent
46e1366c4f
commit
f61baa3f04
2
.env
2
.env
@ -1,2 +0,0 @@
|
||||
ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible
|
||||
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml
|
@ -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:
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user