added common role
This commit is contained in:
parent
979948afe9
commit
7f9fb0004b
11 changed files with 45 additions and 0 deletions
4
common.yml
Normal file
4
common.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- common
|
4
roles/common/tasks/aptitude.yml
Normal file
4
roles/common/tasks/aptitude.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install aptitude
|
||||
apt: name=aptitutde state=latest
|
||||
tags: aptitude
|
4
roles/common/tasks/curl.yml
Normal file
4
roles/common/tasks/curl.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install curl
|
||||
apt: name=curl state=latest
|
||||
tags: curl
|
4
roles/common/tasks/git.yml
Normal file
4
roles/common/tasks/git.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install git
|
||||
apt: name=git state=latest
|
||||
tags: git
|
8
roles/common/tasks/main.yml
Normal file
8
roles/common/tasks/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- include: wget.yml
|
||||
- include: curl.yml
|
||||
- include: zsh.yml
|
||||
- include: git.yml
|
||||
- include: nano.yml
|
||||
- include: python.yml
|
||||
- include: mosh.yml
|
4
roles/common/tasks/mosh.yml
Normal file
4
roles/common/tasks/mosh.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install mosh
|
||||
apt: name=mosh state=latest
|
||||
tags: mosh
|
4
roles/common/tasks/nano.yml
Normal file
4
roles/common/tasks/nano.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install nano
|
||||
apt: name=nano state=latest
|
||||
tags: nano
|
4
roles/common/tasks/python.yml
Normal file
4
roles/common/tasks/python.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install python
|
||||
apt: name=python state=latest
|
||||
tags: python
|
4
roles/common/tasks/wget.yml
Normal file
4
roles/common/tasks/wget.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install wget
|
||||
apt: name=wget state=latest
|
||||
tags: wget
|
4
roles/common/tasks/zsh.yml
Normal file
4
roles/common/tasks/zsh.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: install zsh
|
||||
apt: name=zsh state=latest
|
||||
tags: zsh
|
1
site.yml
1
site.yml
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
- include: common.yml
|
||||
- include: services.yml
|
||||
|
|
Loading…
Reference in a new issue