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