diff --git a/week1/Day01.md b/week1/Day01.md index 37f6a2a..ef2d4ad 100644 --- a/week1/Day01.md +++ b/week1/Day01.md @@ -1,11 +1,20 @@ -# Day 01 — Basics +- name: Install Nginx on Pathnex server + hosts: all + become: yes + + tasks: + - name: Install nginx + yum: + name: nginx + state: present + # Day 01 — Basics ## 🔹 Ansible Task — Install Nginx on Pathnex Server Rewrite this YAML manually: ```yaml -- name: Install Nginx on Pathnex server +- name: name: Install Nginx on Pathnex server hosts: all become: yes @@ -14,3 +23,11 @@ Rewrite this YAML manually: yum: name: nginx state: present +-name: install Ngnix on Pathnex server +hosts: all +become: yes + +tasks : +-name Suhail +state present +# Day one bascis learning code