Compare commits
No commits in common. "da97057eb9d4e2689956cee521bca5ae79f0ebf6" and "dc0a3257fc1b13fc47439e5954ed5e633d7ad2a6" have entirely different histories.
da97057eb9
...
dc0a3257fc
4 changed files with 11 additions and 6 deletions
6
Makefile
6
Makefile
|
@ -3,13 +3,13 @@ size ?= 256
|
||||||
# Password
|
# Password
|
||||||
password ?= $(shell pwgen -1s $(size))
|
password ?= $(shell pwgen -1s $(size))
|
||||||
|
|
||||||
alpines: inventory/inventory.yml
|
alpines: inventory.yml
|
||||||
ansible-playbook -i $< --vault-pass-file vault.key alpines.yml
|
ansible-playbook -i $< --vault-pass-file vault.key alpines.yml
|
||||||
|
|
||||||
dockers: inventory/inventory.yml
|
dockers: inventory.yml
|
||||||
ansible-playbook -i $< --vault-pass-file vault.key dockers.yml
|
ansible-playbook -i $< --vault-pass-file vault.key dockers.yml
|
||||||
|
|
||||||
inventory: inventory/inventory.yml
|
inventory: inventory.yml
|
||||||
ansible-inventory -i $< --list
|
ansible-inventory -i $< --list
|
||||||
|
|
||||||
encrypt-string: vault.key
|
encrypt-string: vault.key
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
remote_user: "root"
|
remote_user: "root"
|
||||||
strategy: "free"
|
strategy: "free"
|
||||||
vars:
|
vars:
|
||||||
alpine_version: "3.17"
|
alpine_version: "3.16"
|
||||||
apk_version: "2.12.10-r1"
|
apk_version: "2.12.9-r3"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "config.yml"
|
- "config.yml"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
|
@ -40,7 +40,6 @@ 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:
|
||||||
|
|
6
inventory.yml
Normal file
6
inventory.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
alpines:
|
||||||
|
hosts:
|
||||||
|
your.host.name:
|
||||||
|
dockers:
|
||||||
|
hosts:
|
Loading…
Reference in a new issue