Ansible开发环境
要求
sudo apt-get install gcc python3-dev
git clone https://github.com/181192/P038-dev-env-ansible
cd P038-dev-env-ansible
./setup-direnv.sh
direnv allow
pip install -r requirements.txt
安装/设置
ansible-playbook main.yaml --ask-become-pass
# With debug (-v -vv -vvv -vvvv)
ansible-playbook main.yaml --ask-become-pass -vvvv
使用标签安装:
ansible-playbook main.yaml --tags "utilities,code" --ask-bec
1