mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
50
hosts.yml
50
hosts.yml
@ -18,6 +18,7 @@ datacenter:
|
||||
ansible_become_password: lacijaydee
|
||||
ssh_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||
ansible_ssh_common_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||
|
||||
localhost1:
|
||||
hosts:
|
||||
localhost
|
||||
@ -27,6 +28,7 @@ datacenter:
|
||||
hosts:
|
||||
192.168.77.12:
|
||||
vars:
|
||||
jaydee_install_mqtt_srv: true
|
||||
ansible_python_interpreter: auto_silent
|
||||
ansible_ssh_user: jd
|
||||
ansible_ssh_pass: q
|
||||
@ -82,7 +84,53 @@ datacenter:
|
||||
ansible_port: 5985
|
||||
ansible_winrm_server_cert_validation: ignore
|
||||
ansible_winrm_kerberos_delegation: true\
|
||||
|
||||
mqtt_srv:
|
||||
children:
|
||||
router:
|
||||
hosts:
|
||||
192.168.77.1
|
||||
vars:
|
||||
ansible_python_interpreter: /opt/bin/python
|
||||
ansible_user: admin
|
||||
ansible_pass: l4c1!j4yd33?Du5lo
|
||||
ansible_ssh_user: admin
|
||||
ansible_ssh_pass: l4c1!j4yd33?Du5lo
|
||||
raspberrypi5:
|
||||
hosts:
|
||||
192.168.77.238
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python
|
||||
ansible_ssh_user: jd
|
||||
ansible_ssh_pass: q
|
||||
ansible_become_user: root
|
||||
ansible_become_password: l4c1j4yd33Du5lo
|
||||
nas:
|
||||
hosts:
|
||||
192.168.77.106:
|
||||
vars:
|
||||
ansible_ssh_user: admin
|
||||
ansible_ssh_pass: l4c1!j4yd33?Du5lo
|
||||
become_method: su
|
||||
become_user: admin
|
||||
# ansible_user: admin
|
||||
# ansible_pass: l4c1!j4yd33?Du5lo1
|
||||
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython312/bin/python3
|
||||
fog:
|
||||
hosts:
|
||||
192.168.77.108:
|
||||
vars:
|
||||
ansible_ssh_user: jd
|
||||
ansible_ssh_pass: q
|
||||
ansible_become_user: root
|
||||
ansible_become_password: q
|
||||
zabbix:
|
||||
hosts:
|
||||
192.168.77.216:
|
||||
vars:
|
||||
ansible_ssh_user: jd
|
||||
ansible_ssh_pass: q
|
||||
ansible_become_user: root
|
||||
ansible_become_password: q
|
||||
containers:
|
||||
children:
|
||||
router:
|
||||
|
@ -1,6 +1,6 @@
|
||||
- hosts: datacenter
|
||||
name: Install mqtt_srv
|
||||
ignore_unreachable: false
|
||||
ignore_unreachable: true
|
||||
tasks:
|
||||
- name: Install python3-pip
|
||||
ansible.builtin.apt:
|
||||
|
Reference in New Issue
Block a user