Compare commits

..

10 Commits

66 changed files with 339 additions and 210 deletions

View File

@ -59,13 +59,14 @@ en1:
interface:
access: bond0
internal: bond0.99
skylab_datastore_device: sdb
skylab_networking:
eno1:
bond: bond0
eno2:
bond: bond0
bond0:
type: bond
device: bond
firewall: internal
gateway: 10.42.101.1/24
dns:
@ -75,7 +76,7 @@ en1:
- 192.168.255.255/32
dhcp: false
bond0.99:
type: vlan
device: vlan
firewall: trusted
addresses:
- 192.168.42.10/24
@ -101,7 +102,7 @@ en1:
eno2:
bond: bond0
bond0:
type: bond
device: bond
firewall: internal
dhcp: false
gateway: 10.42.101.1/24
@ -111,7 +112,7 @@ en1:
dns:
- 10.42.101.1
bond0.99:
type: vlan
device: vlan
firewall: trusted
dhcp: false
addresses:
@ -138,7 +139,7 @@ en1:
eno2:
bond: bond0
bond0:
type: bond
device: bond
firewall: internal
gateway: 10.42.101.1/24
dns:
@ -148,7 +149,7 @@ en1:
- 192.168.255.255/32
dhcp: false
bond0.99:
type: vlan
device: vlan
firewall: trusted
addresses:
- 192.168.42.30/24

View File

@ -1 +0,0 @@
../resources

View File

@ -1 +0,0 @@
../roles

View File

@ -1 +0,0 @@
../tasks

View File

@ -1 +0,0 @@
../resources

View File

@ -1 +0,0 @@
../vars/

501
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
ansible = "^3.4.0"
ansible = "^4.9.0"
docker = "^4.2.0"
docker-compose = "^1.25.4"
paramiko = "^2.7.1"

4
requirements.yml Normal file
View File

@ -0,0 +1,4 @@
---
collections:
- source: ./skylab/
type: subdirs

3
skylab/core/README.md Normal file
View File

@ -0,0 +1,3 @@
# Ansible Collection - skylab.core
Documentation for the collection.

19
skylab/core/galaxy.yml Normal file
View File

@ -0,0 +1,19 @@
---
namespace: skylab
name: core
version: 0.0.0
description: Network deployment procedures and configuration state management
authors:
- Ethan Paul <me@enp.one>
license:
- MIT
readme: README.md
tags: []
repository: https://vcs.enp.one/skylab/skylab-ansible/
build_ignore: []
# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies: {}

View File

@ -0,0 +1,2 @@
---
requires_ansible: ">=2.11,<2.15"