upt playbook

This commit is contained in:
jaydee 2023-10-26 19:24:05 +02:00
parent 5c1f426b1d
commit 7514ff56f6
2 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,9 @@ datacenter:
odroid_worker: odroid_worker:
hosts: hosts:
192.168.77.13[2:5]: 192.168.77.13[2:5]:
localhost1:
hosts:
localhost
vars: vars:
ansible_ssh_user: jd ansible_ssh_user: jd
ansible_ssh_pass: lacijaydee ansible_ssh_pass: lacijaydee
@ -51,9 +53,7 @@ datacenter:
ansible_port: 5985 ansible_port: 5985
ansible_winrm_server_cert_validation: ignore ansible_winrm_server_cert_validation: ignore
ansible_winrm_kerberos_delegation: true\ ansible_winrm_kerberos_delegation: true\
localhost1:
hosts:
localhost
containers: containers:
children: children:
router: router:

View File

@ -1,6 +1,5 @@
- hosts: localhost1 - hosts: localhost1
name: Apt udate name: Apt udate
become: true
tasks: tasks:
- name: Apt exclude linux-dtb-current-meson64 - name: Apt exclude linux-dtb-current-meson64
ansible.builtin.shell: 'df -h' ansible.builtin.shell: 'df -h'