First draft of Ansible (only inventory)
All checks were successful
--> Linted: ANSIBLE No errors were found in the linting process
--> Linted: GITLEAKS No errors were found in the linting process
--> Linted: JSCPD No errors were found in the linting process
--> Linted: MARKDOWN No errors were found in the linting process
--> Linted: NATURAL_LANGUAGE No errors were found in the linting process
Lint Code Base / run-lint (push) Successful in 28s

This commit is contained in:
Davide Oddone 2024-10-16 01:47:57 +02:00
parent b82a3636cc
commit f266b74a72
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# TODO
- [] Generalize `inventory.ini` using `terraform output`

10
ansible/inventory.ini Normal file
View File

@ -0,0 +1,10 @@
[master]
172.16.1.11
[worker]
172.16.1.21
172.16.1.22
[all:vars]
ansible_user=ansible
ansible_ssh_private_key_file=../terraform/.local/.ssh/id_rsa