From 7f9fb0004bbc6451df0bf362bfffe9ede6d350d4 Mon Sep 17 00:00:00 2001 From: Frederik Wille Date: Sat, 29 Aug 2015 23:37:16 +0200 Subject: [PATCH] added common role --- common.yml | 4 ++++ roles/common/tasks/aptitude.yml | 4 ++++ roles/common/tasks/curl.yml | 4 ++++ roles/common/tasks/git.yml | 4 ++++ roles/common/tasks/main.yml | 8 ++++++++ roles/common/tasks/mosh.yml | 4 ++++ roles/common/tasks/nano.yml | 4 ++++ roles/common/tasks/python.yml | 4 ++++ roles/common/tasks/wget.yml | 4 ++++ roles/common/tasks/zsh.yml | 4 ++++ site.yml | 1 + 11 files changed, 45 insertions(+) create mode 100644 common.yml create mode 100644 roles/common/tasks/aptitude.yml create mode 100644 roles/common/tasks/curl.yml create mode 100644 roles/common/tasks/git.yml create mode 100644 roles/common/tasks/main.yml create mode 100644 roles/common/tasks/mosh.yml create mode 100644 roles/common/tasks/nano.yml create mode 100644 roles/common/tasks/python.yml create mode 100644 roles/common/tasks/wget.yml create mode 100644 roles/common/tasks/zsh.yml diff --git a/common.yml b/common.yml new file mode 100644 index 0000000..99861b5 --- /dev/null +++ b/common.yml @@ -0,0 +1,4 @@ +--- +- hosts: all + roles: + - common diff --git a/roles/common/tasks/aptitude.yml b/roles/common/tasks/aptitude.yml new file mode 100644 index 0000000..9ad0178 --- /dev/null +++ b/roles/common/tasks/aptitude.yml @@ -0,0 +1,4 @@ +--- +- name: install aptitude + apt: name=aptitutde state=latest + tags: aptitude diff --git a/roles/common/tasks/curl.yml b/roles/common/tasks/curl.yml new file mode 100644 index 0000000..4ac9dd9 --- /dev/null +++ b/roles/common/tasks/curl.yml @@ -0,0 +1,4 @@ +--- +- name: install curl + apt: name=curl state=latest + tags: curl diff --git a/roles/common/tasks/git.yml b/roles/common/tasks/git.yml new file mode 100644 index 0000000..36ab1fe --- /dev/null +++ b/roles/common/tasks/git.yml @@ -0,0 +1,4 @@ +--- +- name: install git + apt: name=git state=latest + tags: git diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml new file mode 100644 index 0000000..0755701 --- /dev/null +++ b/roles/common/tasks/main.yml @@ -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 diff --git a/roles/common/tasks/mosh.yml b/roles/common/tasks/mosh.yml new file mode 100644 index 0000000..0bcc440 --- /dev/null +++ b/roles/common/tasks/mosh.yml @@ -0,0 +1,4 @@ +--- +- name: install mosh + apt: name=mosh state=latest + tags: mosh diff --git a/roles/common/tasks/nano.yml b/roles/common/tasks/nano.yml new file mode 100644 index 0000000..a31a6fa --- /dev/null +++ b/roles/common/tasks/nano.yml @@ -0,0 +1,4 @@ +--- +- name: install nano + apt: name=nano state=latest + tags: nano diff --git a/roles/common/tasks/python.yml b/roles/common/tasks/python.yml new file mode 100644 index 0000000..b47af49 --- /dev/null +++ b/roles/common/tasks/python.yml @@ -0,0 +1,4 @@ +--- +- name: install python + apt: name=python state=latest + tags: python diff --git a/roles/common/tasks/wget.yml b/roles/common/tasks/wget.yml new file mode 100644 index 0000000..a91999e --- /dev/null +++ b/roles/common/tasks/wget.yml @@ -0,0 +1,4 @@ +--- +- name: install wget + apt: name=wget state=latest + tags: wget diff --git a/roles/common/tasks/zsh.yml b/roles/common/tasks/zsh.yml new file mode 100644 index 0000000..5d64884 --- /dev/null +++ b/roles/common/tasks/zsh.yml @@ -0,0 +1,4 @@ +--- +- name: install zsh + apt: name=zsh state=latest + tags: zsh diff --git a/site.yml b/site.yml index cbe077f..7562765 100644 --- a/site.yml +++ b/site.yml @@ -1,2 +1,3 @@ --- +- include: common.yml - include: services.yml