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
|
```bash
|
||||||
make dev
|
make dev
|
||||||
poetry shell
|
poetry run ansible-playbook ...
|
||||||
source .env
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Boostraping remote system for management:
|
## Boostraping remote system for management:
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
host_key_checking = false
|
host_key_checking = false
|
||||||
|
collections_path = .ansible
|
||||||
|
inventory = inventory.yaml
|
||||||
|
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
|
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
|
||||||
|
Reference in New Issue
Block a user