From 689304e607de43f67cde7a9d08e24cf36d04d2ec Mon Sep 17 00:00:00 2001 From: pjan Date: Tue, 11 Mar 2014 23:02:44 +0800 Subject: [PATCH] Initial commit --- .gitignore | 9 +++++++++ .travis.yml | 12 ++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 26 ++++++++++++++++++++++++++ defaults/main.yml | 1 + meta/main.yml | 15 +++++++++++++++ tasks/main.yml | 19 +++++++++++++++++++ test.yml | 5 +++++ 8 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 defaults/main.yml create mode 100644 meta/main.yml create mode 100644 tasks/main.yml create mode 100644 test.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5112ae2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes +.vagrant +test diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9b90639 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +--- +language: python +python: "2.7" +before_install: + - sudo apt-get update -qq + - sudo apt-get install -qq python-apt python-pycurl +install: + - pip install ansible==1.5.0 +script: + - echo localhost > inventory + - ansible-playbook --syntax-check -i inventory test.yml + - ansible-playbook -i inventory test.yml --connection=local --sudo diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..09506df --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2014 Pieterjan Vandaele + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..3bfcccb --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +## Ansibles - utilities [![Build Status](https://travis-ci.org/Ansibles/utilities.png)](https://travis-ci.org/Ansibles/utilities) + +A series of useful, must-have utilities + +#### Included +- command-not-found +- curl +- debconf +- dmidecode +- htop +- iftop +- iotop +- nmap +- mosh +- pciutils +- sysstat +- tmux +- tshark + +#### License + +Licensed under the MIT License. See the LICENSE file for details. + +#### Feedback, bug-reports, requests, ... + +Are [welcome](https://github.com/ansibles/utilities/issues)! diff --git a/defaults/main.yml b/defaults/main.yml new file mode 100644 index 0000000..1052aae --- /dev/null +++ b/defaults/main.yml @@ -0,0 +1 @@ +# file: utilities/defaults/main.yml diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..129e3bd --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,15 @@ +# file: utilities/meta/main.yml + +galaxy_info: + author: pjan vandaele + description: series of useful, must-have utilities + min_ansible_version: 1.3 + license: MIT + platforms: + - name: Ubuntu + versions: + - all + categories: + - system + +dependencies: [] diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..8b65283 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,19 @@ +# file: utilities/tasks/main.yml + +- name: Common | Make sure some basic tools are installed + apt: + pkg: "{{item}}" + with_items: + - command-not-found + - curl + - debconf + - dmidecode + - htop + - iftop + - iotop + - nmap + - mosh + - pciutils + - sysstat + - tmux + - tshark diff --git a/test.yml b/test.yml new file mode 100644 index 0000000..f364983 --- /dev/null +++ b/test.yml @@ -0,0 +1,5 @@ +- hosts: all + vars_files: + - 'defaults/main.yml' + tasks: + - include: 'tasks/main.yml'