mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
13 lines
365 B
YAML
Executable File
13 lines
365 B
YAML
Executable File
- hosts: localhost1
|
|
name: Apt udate
|
|
connection: local
|
|
remote_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
|
|
ansible.builtin.shell: 'apk add py3-jmespath' |