From 668e439b5fa4e5642f171dd7907c71901d98a693 Mon Sep 17 00:00:00 2001 From: jaydee Date: Fri, 27 Oct 2023 06:37:36 +0200 Subject: [PATCH] upt playbook --- playbooks/00_local.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/00_local.yml b/playbooks/00_local.yml index 91431ce..33a9dc2 100644 --- a/playbooks/00_local.yml +++ b/playbooks/00_local.yml @@ -1,8 +1,11 @@ - hosts: localhost1 name: Apt udate connection: local - ansible_user: root tasks: + - command: whoami + register: whoami + - debug: + var: whoami.stdout - name: Apt exclude linux-dtb-current-meson64 ansible.builtin.shell: 'apk update' - name: Apt exclude linux-dtb-current-meson64