Browse Source

Merge pull request #20 from twiest/pr

removed shutdown_nightly from atomic proxy hosts
Thomas Wiest 10 years ago
parent
commit
492b629d1c

+ 0 - 1
playbooks/aws/os2-atomic-proxy/config.yml

@@ -23,4 +23,3 @@
     - ../../../roles/docker_img_puppet
     - ../../../roles/docker_img_proxy
     - ../../../roles/docker_img_monitoring
-    - ../../../roles/shutdown_nightly

+ 0 - 56
roles/shutdown_nightly/README.md

@@ -1,56 +0,0 @@
-Role Name
-========
-
-The purpose of this role is to do common configurations for all RHEL atomic hosts.
-
-
-Requirements
-------------
-
-None
-
-
-Role Variables
---------------
-
-None
-
-
-Dependencies
-------------
-
-None
-
-
-Example Playbook
--------------------------
-
-From a group playbook:
-
-  hosts: servers
-  roles:
-    - ../../roles/shutdown_nightly
-
-
-License
--------
-
-Copyright 2012-2014 Red Hat, Inc., All rights reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Author Information
-------------------
-
-Thomas Wiest <twiest@redhat.com>

+ 0 - 2
roles/shutdown_nightly/defaults/main.yml

@@ -1,2 +0,0 @@
----
-# defaults file for role

+ 0 - 2
roles/shutdown_nightly/handlers/main.yml

@@ -1,2 +0,0 @@
----
-# handlers file for role

+ 0 - 19
roles/shutdown_nightly/meta/main.yml

@@ -1,19 +0,0 @@
----
-galaxy_info:
-  author: Thomas Wiest
-  description: Common base RHEL atomic configurations
-  company: Red Hat
-  # Some suggested licenses:
-  # - BSD (default)
-  # - MIT
-  # - GPLv2
-  # - GPLv3
-  # - Apache
-  # - CC-BY
-  license: Apache
-  min_ansible_version: 1.2
-  platforms:
-  - name: EL
-    versions:
-    - 7
-dependencies: []

+ 0 - 7
roles/shutdown_nightly/tasks/main.yml

@@ -1,7 +0,0 @@
----
-- name: Setup nightly shutdown command to save money
-  cron: >
-    name="shutdown system at night to save money"
-    hour="18"
-    minute="0"
-    job="/usr/sbin/shutdown --halt"

+ 0 - 2
roles/shutdown_nightly/vars/main.yml

@@ -1,2 +0,0 @@
----
-# vars file for role