From 7514ff56f6b88eb1e97f44b3f8a5d28c448563f2 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Oct 2023 19:24:05 +0200 Subject: [PATCH] upt playbook --- hosts.yml | 8 ++++---- playbooks/00_local.yml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts.yml b/hosts.yml index e28f506..6c4d0b8 100644 --- a/hosts.yml +++ b/hosts.yml @@ -11,7 +11,9 @@ datacenter: odroid_worker: hosts: 192.168.77.13[2:5]: - + localhost1: + hosts: + localhost vars: ansible_ssh_user: jd ansible_ssh_pass: lacijaydee @@ -51,9 +53,7 @@ datacenter: ansible_port: 5985 ansible_winrm_server_cert_validation: ignore ansible_winrm_kerberos_delegation: true\ - localhost1: - hosts: - localhost + containers: children: router: diff --git a/playbooks/00_local.yml b/playbooks/00_local.yml index 0f4c437..f192583 100644 --- a/playbooks/00_local.yml +++ b/playbooks/00_local.yml @@ -1,6 +1,5 @@ - hosts: localhost1 name: Apt udate - become: true tasks: - name: Apt exclude linux-dtb-current-meson64 ansible.builtin.shell: 'df -h' \ No newline at end of file