install-git.yaml
- name: install git and wget
hosts: web
tasks:
- name: Install git in ubuntu ansible.builtin.apt: name: git state: latest
- name: Install wget in ubuntu ansible.builtin.apt: name: wget state: latest
ansible-playbook -i inventory install-git.yaml -u ubuntu --key-file=chandra.pem -b
Top comments (0)