diff --git a/.env b/.env deleted file mode 100644 index 7a2c46d..0000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible -ANSIBLE_INVENTORY=$(pwd)/inventory.yaml diff --git a/README.md b/README.md index 4ea35c3..bc8fb2f 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/ansible.cfg b/ansible.cfg index bbbc224..500e24e 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -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"