📜  ansible become_method sudo 示例 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:43.644000             🧑  作者: Mango

代码示例1
- name: Testing...
  hosts: all
  remote_user: david
  become: true
  become_method: sudo

  tasks:
    - name: Just want to install sqlite3 for example...
      apt: name=sqlite3 state=present