- Add ansible_become_pass to all hosts (sudo uses same password as SSH) - Remove truenas-scale and vyos from children groups (no connection info) - Add ansible.cfg: host_key_checking=False, become=False as default - Add become: false to wait_for_connection to avoid sudo during SSH test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
# Targeted inventory — first Docker discovery run
|
|
# 5 hosts manually selected for initial credential testing
|
|
|
|
all:
|
|
hosts:
|
|
|
|
# ── 10.40.40.0/24 ──────────────────────────────────────────────────────
|
|
ubuntu-server-01:
|
|
ansible_host: 10.40.40.2
|
|
ansible_user: sam
|
|
ansible_ssh_pass: Lewiss4224@@@
|
|
ansible_become: true
|
|
ansible_become_pass: Lewiss4224@@@
|
|
|
|
ubuntu-server-02:
|
|
ansible_host: 10.40.40.3
|
|
ansible_user: sam
|
|
ansible_ssh_pass: Lewiss4224@@@
|
|
ansible_become: true
|
|
ansible_become_pass: Lewiss4224@@@
|
|
|
|
sp-ie-containerlab:
|
|
ansible_host: 10.40.40.156
|
|
ansible_user: user
|
|
ansible_ssh_pass: user
|
|
ansible_become: true
|
|
ansible_become_pass: user
|
|
|
|
vRouter-Host:
|
|
ansible_host: 10.40.40.184
|
|
ansible_user: user
|
|
ansible_ssh_pass: user
|
|
ansible_become: true
|
|
ansible_become_pass: user
|
|
|
|
# ── 192.168.1.0/24 ─────────────────────────────────────────────────────
|
|
wazuh-graylog-server:
|
|
ansible_host: 192.168.1.30
|
|
ansible_user: user
|
|
ansible_ssh_pass: user
|
|
ansible_become: true
|
|
ansible_become_pass: user
|
|
|
|
children:
|
|
subnet_vlan40_10_40_40:
|
|
hosts:
|
|
ubuntu-server-01: {}
|
|
ubuntu-server-02: {}
|
|
sp-ie-containerlab: {}
|
|
vRouter-Host: {}
|
|
|
|
subnet_vlan1_192_168_1:
|
|
hosts:
|
|
wazuh-graylog-server: {}
|