---
- name: os patching
hosts: all
gather_facts: yes
become: true
remote_user: c8900509
connection: ssh
tasks:
- name: update os patch
yum:
name: "*"
state: latest
TASK [update os patch] **********************************************************************************************
fatal: [rn-plecd-lapp01.rno.apple.com]: FAILED! => {"changed": true, "changes": {"installed": [], "updated": [["applejdk-17", "1:17.0.6.10.1-1.x86_64 from Apple-Internal-linux7"]]}, "msg": "You need to be root to perform this command.\n", "rc": 1, "results": ["Loaded plugins: langpacks\n"]}
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e9df9afa-1254-46e0-bff9-437e00c71eean%40googlegroups.com.