대답: ansibleplaybook에서 하나의 작업과 프로세서만 실행합니다. 대답: ansibleplaybook에서 하나의 작업과 프로세서만 실행합니다.

1123 단어 ansible

대답: ansibleplaybook에서 작업과 프로세서 하나만 실행


20년 9월 28일
0

개별 역할 실행 가능(roles/ 디렉토리에서):
ansible -i stage.yml -m include_role -a name=create-os-user localhost
및 개별 작업 파일:
ansible -i stage.yml -m include_tasks -a file=tasks/create-os-user.yml localhost
역할을 외부에서 루트 tasks/ 디렉터리로 작업(import_tasks: ../../../tasks/create-os-user.yml을 통해 재사용)을 실행하는 경우...
Open Full Answer

좋은 웹페이지 즐겨찾기