Compare commits
No commits in common. "1aebb0b3399aebf454f067afa933d17cce0bfea5" and "9720c27f256397f0c3b8a782b3d84ad8cbb8f969" have entirely different histories.
1aebb0b339
...
9720c27f25
@ -2,5 +2,3 @@
|
|||||||
|
|
||||||
Ansible configs for the Skylab Homelab
|
Ansible configs for the Skylab Homelab
|
||||||
|
|
||||||
Main entrypoint is through the `ansible` script in this repository. The script sets up basic
|
|
||||||
environment variables to avoid conflicts with other environments and sets the inventory.
|
|
||||||
|
8
ansible
8
ansible
@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
ANSIBLE_CONFIG=''
|
|
||||||
ANSIBLE_FILTER_PLUGINS=''
|
|
||||||
ANSIBLE_LIBRARY=''
|
|
||||||
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml
|
|
||||||
|
|
||||||
"ansible-$1" ${@:2}
|
|
@ -2,7 +2,7 @@
|
|||||||
host_key_checking = false
|
host_key_checking = false
|
||||||
|
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
|
ssh_args = "-C -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
|
||||||
|
|
||||||
[inventory]
|
[inventory]
|
||||||
enable_plugins = ansible.builtin.yaml
|
enable_plugins = yaml
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
all:
|
|
||||||
vars:
|
|
||||||
skylab_state_dir: /var/run/skylab
|
|
||||||
skylab_ansible_venv: "{{ skylab_state_dir }}/ansible-runtime"
|
|
||||||
ansible_user: ansible
|
|
||||||
ansible_python_interpreter: "{{ skylab_ansible_venv }}/bin/python"
|
|
||||||
ansible_ssh_common_args: "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
|
|
||||||
|
|
||||||
en2:
|
|
||||||
vars:
|
|
||||||
skylab_location: DigitalOcean NYC1
|
|
||||||
hosts:
|
|
||||||
hubble:
|
|
||||||
ansible_host: en2a.enp.one
|
|
||||||
skylab_description: Cloud Web Server
|
|
Reference in New Issue
Block a user