Configure and declare basic variables for ansible

This commit is contained in:
Sho Ishida 2026-07-14 04:39:56 +00:00
parent 47514edb34
commit c960f5e4c5
4 changed files with 71 additions and 0 deletions

11
ansible/ansible.cfg Normal file
View File

@ -0,0 +1,11 @@
[defaults]
inventory = ./my_inventory/hosts
roles_path = roles
retry_files_enabled = False
callbacks_enabled = timer, profile_tasks
host_key_checking = True
vault_password_file = .vault_pass
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes

View File

@ -0,0 +1,23 @@
---
domain_name: "lab.local"
realm_name: "LAB.LOCAL"
timezone: "Asia/Seoul"
lan_subnet: "172.30.1.0/24"
host_ip: "172.30.1.200"
gateway_ip: "172.30.1.254"
freeipa_ip: "172.30.1.85"
portfolio_ip: "172.30.1.86"
minecraft_ip: "172.30.1.87"
palworld_ip: "172.30.1.88"
navidrome_ip: "172.30.1.89"
dns_servers:
- "172.30.1.85"
- "1.1.1.1"
admin_user: "sho"
ipa_admin_password: "ChangeMeIPAAdmin123!"
ipa_directory_manager_password: "ChangeMeIPAAdmin123!"

View File

@ -0,0 +1,7 @@
---
podman_user: "sho"
podman_user_home: "/home/sho"
rclone_gdrive_token: "{{ vault_rclone_gdrive_token }}"
minecraft_ram_limit: "4G"

View File

@ -0,0 +1,30 @@
$ANSIBLE_VAULT;1.1;AES256
39363737363131613035623835336161323864666538303739363633393363623065303461376430
3963383961353038326233316437373236636138376432340a346563393835396536396539373165
30623639363336316164393563613766316434383930653034616561383163653563333163323932
3132363766643831380a643139643334363230343135336561393132613165316632383136363533
39353434613866386463323136643139323266343139386637623565303764643566663761363235
32633661343035643330643430643962363136393030653564333530313866643065633938373137
31666635303932333938363638393366356566613061613561363538306631653331646665326336
35336465336136313264343666353764663765613736656466633533313739396334313039363536
31643564326537666537663466383063623332383461393833366361663965336138653163333837
64356138623236626234323034396132616336383864666563643130346262356532366434336533
38353732336564353036363262343230366532386633366362333930653230326531323035346534
62313863326637373933303831376139303236633233356163306439363133346366343137313436
39323731376136613033313764613864616664353734666565623538623334666334653534666639
66393766343263336165353564336232386163326565653033623261373738653863343438323535
61383138366264383834623536346339396331646635643361633630363163353164363430353531
36356638393966303935326333643633363735626333373632343765643566393766393163336230
33303533666466306462643561353537643464313431353032613230643937373066363733666638
61323736363966636439666265353433623435343434316538333435356338366366376136393866
63356662326632613065353133323632373333613839313136363339646262326562653234666238
39333739623133646536633130626165363839386366646638633164376263633534386262366531
32653433393833386130343033313263643934313235646334353939326338376531346535393333
33353339356433316231663135623537613039326331303937343464303363666631643435366162
37643561373261366166303332313736643736396237316464383331653637663539626530373666
64643334663337336434303163386533316335306133336533326338376365386537646231623032
63383732636538636164666431653831323436373536383566396637616230326437383364653837
66656461313132383631373430653930346235383162663932383966353164666262663162623732
65323534663663336232623039643838373863616462643463356266356431333361666163633163
35363832333562333531363534313332326162393437323732356338336533353134623362383762
31636563363364653063643665353361613632393761636530306333313431326166