From b1becd7393f5de5681802eb68d3419f520497f79 Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Wed, 29 Oct 2014 16:55:08 -0400 Subject: removed shutdown_nightly from atomic proxy hosts --- playbooks/aws/os2-atomic-proxy/config.yml | 1 - roles/shutdown_nightly/README.md | 56 ------------------------------- roles/shutdown_nightly/defaults/main.yml | 2 -- roles/shutdown_nightly/handlers/main.yml | 2 -- roles/shutdown_nightly/meta/main.yml | 19 ----------- roles/shutdown_nightly/tasks/main.yml | 7 ---- roles/shutdown_nightly/vars/main.yml | 2 -- 7 files changed, 89 deletions(-) delete mode 100644 roles/shutdown_nightly/README.md delete mode 100644 roles/shutdown_nightly/defaults/main.yml delete mode 100644 roles/shutdown_nightly/handlers/main.yml delete mode 100644 roles/shutdown_nightly/meta/main.yml delete mode 100644 roles/shutdown_nightly/tasks/main.yml delete mode 100644 roles/shutdown_nightly/vars/main.yml diff --git a/playbooks/aws/os2-atomic-proxy/config.yml b/playbooks/aws/os2-atomic-proxy/config.yml index 0394462ae..5ee512bfd 100644 --- a/playbooks/aws/os2-atomic-proxy/config.yml +++ b/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 diff --git a/roles/shutdown_nightly/README.md b/roles/shutdown_nightly/README.md deleted file mode 100644 index 003f83210..000000000 --- a/roles/shutdown_nightly/README.md +++ /dev/null @@ -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 diff --git a/roles/shutdown_nightly/defaults/main.yml b/roles/shutdown_nightly/defaults/main.yml deleted file mode 100644 index e5531dec5..000000000 --- a/roles/shutdown_nightly/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for role diff --git a/roles/shutdown_nightly/handlers/main.yml b/roles/shutdown_nightly/handlers/main.yml deleted file mode 100644 index a8fb69670..000000000 --- a/roles/shutdown_nightly/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for role diff --git a/roles/shutdown_nightly/meta/main.yml b/roles/shutdown_nightly/meta/main.yml deleted file mode 100644 index 9578ab809..000000000 --- a/roles/shutdown_nightly/meta/main.yml +++ /dev/null @@ -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: [] diff --git a/roles/shutdown_nightly/tasks/main.yml b/roles/shutdown_nightly/tasks/main.yml deleted file mode 100644 index f99811572..000000000 --- a/roles/shutdown_nightly/tasks/main.yml +++ /dev/null @@ -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" diff --git a/roles/shutdown_nightly/vars/main.yml b/roles/shutdown_nightly/vars/main.yml deleted file mode 100644 index 01ab1e425..000000000 --- a/roles/shutdown_nightly/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for role -- cgit v1.2.3