Compare commits

..

3 commits

Author SHA1 Message Date
f
da97057eb9 feat: inventory is stored separately 2023-02-10 18:19:39 -03:00
f
f20fa66e6a fix: interfaces file was missing 2023-02-10 18:06:01 -03:00
f
21d8c4649c feat: upgrade alpine to 3.17 2023-02-10 18:05:43 -03:00
4 changed files with 6 additions and 11 deletions

View file

@ -3,13 +3,13 @@ size ?= 256
# Password # Password
password ?= $(shell pwgen -1s $(size)) password ?= $(shell pwgen -1s $(size))
alpines: inventory.yml alpines: inventory/inventory.yml
ansible-playbook -i $< --vault-pass-file vault.key alpines.yml ansible-playbook -i $< --vault-pass-file vault.key alpines.yml
dockers: inventory.yml dockers: inventory/inventory.yml
ansible-playbook -i $< --vault-pass-file vault.key dockers.yml ansible-playbook -i $< --vault-pass-file vault.key dockers.yml
inventory: inventory.yml inventory: inventory/inventory.yml
ansible-inventory -i $< --list ansible-inventory -i $< --list
encrypt-string: vault.key encrypt-string: vault.key

View file

@ -3,8 +3,8 @@
remote_user: "root" remote_user: "root"
strategy: "free" strategy: "free"
vars: vars:
alpine_version: "3.16" alpine_version: "3.17"
apk_version: "2.12.9-r3" apk_version: "2.12.10-r1"
vars_files: vars_files:
- "config.yml" - "config.yml"
tasks: tasks:

View file

@ -40,6 +40,7 @@ templates:
- "/etc/sysctl.d/coredump.conf" - "/etc/sysctl.d/coredump.conf"
- "/etc/docker/daemon.json" - "/etc/docker/daemon.json"
- "/etc/ntp.conf" - "/etc/ntp.conf"
- "/etc/network/interfaces"
executables: executables:
- "/usr/libexec/ifupdown-ng/routes" - "/usr/libexec/ifupdown-ng/routes"
services: services:

View file

@ -1,6 +0,0 @@
---
alpines:
hosts:
your.host.name:
dockers:
hosts: