Debug School

suman
suman

Posted on

install a package called “git”, “wget” and run some bash script.


  • name: Install Git and wget, run script hosts: web

tasks:

  • name: install git
    ansible.builtin.apt:
    name: "git"
    state: latest

  • name: Install Apache in ubuntu
    ansible.builtin.apt:
    name: "wget"
    state: latest

  • name: run script
    ansible.builtin.script:
    name: ip.sh
    cmd: /root/suman/ip.sh

Top comments (0)