安装php命令
apt install -y php php-bcmath php-cli php-common php-fpm php-gd php-intl php-mbstring php-mysqlnd php-opcache php-pdo php-xml php-json
安装ansible命令
apt install -y software-properties-common
add-apt-repository --yes --update ppa:ansible/ansible
apt update
apt install -y ansible
ansible配置文件
wget https://raw.githubusercontent.com/ansible/ansible/stable-2.9/examples/ansible.cfg