Debug School

chandrasekaran j
chandrasekaran j

Posted on

Ansible playbook -sample assignment

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)