Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Create install-vim #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions hello_world.yml

This file was deleted.

33 changes: 33 additions & 0 deletions yum.install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
- hosts: linux-servers
connection: ssh
gather_facts: yes


tasks:
- name : creating a directory
file:
path: /tmp/backups
state: directory
mode: "u=rw,g=rx,o=rx"


- name: creating multiple directories
file:
path: "{{item}}"
state: directory
with_items:
- '/tmp/devops1'
- '/tmp/devops2'
- '/tmp/devops3'
- '/home/devops3'


- name: creating file
file:
path: "/tmp/devops2/devops2.txt"
state: touch
mode: 777
owner: ansi