Skip to content

Commit 764c5de

Browse files
authored
Merge pull request dareyio#7 from ahmedb24/refactor
feat: Update project
2 parents 3fd2172 + 65edc69 commit 764c5de

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

playbooks/site.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
- hosts: all
3+
- import_playbook: ../static-assignments/common-del.yml

static-assignment/common-del.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
- name: update web, nfs and db servers
3+
hosts: webservers, nfs, db
4+
remote_user: ec2-user
5+
become: yes
6+
become_user: root
7+
tasks:
8+
- name: delete wireshark
9+
yum:
10+
name: wireshark
11+
state: removed
12+
13+
- name: update LB server
14+
hosts: lb
15+
remote_user: ubuntu
16+
become: yes
17+
become_user: root
18+
tasks:
19+
- name: delete wireshark
20+
apt:
21+
name: wireshark-qt
22+
state: absent
23+
autoremove: yes
24+
purge: yes
25+
autoclean: yes
File renamed without changes.

0 commit comments

Comments
 (0)