From 6943d9e88d9d85fe659494e9554ee18af3b4918a Mon Sep 17 00:00:00 2001 From: ipvsean Date: Thu, 21 May 2020 10:52:06 -0400 Subject: [PATCH] adding "demo" to turn off IBM community grid --- .../turn_off_community_grid.yml | 11 ++++++++++ .../turn_off_community_grid.yml | 22 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 playbooks/infrastructure/turn_off_community_grid.yml create mode 100644 roles/install_demo/vars/main/infrastructure/turn_off_community_grid.yml diff --git a/playbooks/infrastructure/turn_off_community_grid.yml b/playbooks/infrastructure/turn_off_community_grid.yml new file mode 100644 index 0000000..41d636f --- /dev/null +++ b/playbooks/infrastructure/turn_off_community_grid.yml @@ -0,0 +1,11 @@ +--- +- name: turn off community-grid + hosts: "{{ HOSTS | default('web') }}" + gather_facts: false + become: yes + tasks: + - name: enable and start boinc-client + systemd: + name: boinc-client + state: stopped + enabled: false diff --git a/roles/install_demo/vars/main/infrastructure/turn_off_community_grid.yml b/roles/install_demo/vars/main/infrastructure/turn_off_community_grid.yml new file mode 100644 index 0000000..072ce67 --- /dev/null +++ b/roles/install_demo/vars/main/infrastructure/turn_off_community_grid.yml @@ -0,0 +1,22 @@ +--- +deploy_application: + author: "Sean Cavanaugh" + category: infrastructure + name: "INFRASTRUCTURE / Turn off IBM Community Grid" + description: "this role turns off IBM Community Grid boinc-client" + job_type: "run" + inventory: "Workshop Inventory" + playbook: "playbooks/infrastructure/turn_off_community_grid.yml" + credential: "Workshop Credential" + survey_enabled: false + project: + name: "Ansible official demo project" + description: "prescriptive demos from Red Hat Management Business Unit" + organization: "Default" + scm_type: git + scm_url: "https://github.com/ansible/product-demos" + workshop_type: + - f5 + - rhel + - rhel_90 + - demo