api-4_installmount.yaml
- 脚本内容
- hosts: prod vars: user_path: /home/ubuntu tasks: - name: Install nfs mount become: yes apt: name: nfs-common
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
- hosts: prod
vars:
user_path: /home/ubuntu
tasks:
- name: Install nfs mount
become: yes
apt:
name: nfs-common