Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Check ansible_user variable #31

@checkme5

Description

@checkme5
  • name: Check ansible_user variable
    fail: msg="ansible_user == 'root' is not supported, please ssh via normal user"
    when: ansible_user == 'root'

请问为什么要判断ansible_user不能是root?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions