please help on this

4 views
Skip to first unread message

Himasree chinthala

unread,
Mar 2, 2023, 11:58:15 AM3/2/23
to Ansible Project

---

- 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"]}

Rowe, Walter P. (Fed)

unread,
Mar 2, 2023, 12:34:26 PM3/2/23
to ansible...@googlegroups.com
Sounds like user c8900509 doesn't have sudo permissions to become root.

Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123

--
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.

Reply all
Reply to author
Forward
0 new messages