Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructuring the collection for validated content proposal #9

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion playbooks/datagrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
pre_tasks:
- name: Configure promtail
ansible.builtin.include_role:
name: promtail
name: infra.rhbk_ha_cluster.promtail
when: not skip_promtail is defined
vars:
promtail_job_name: datagrid
Expand Down
41 changes: 23 additions & 18 deletions playbooks/prerequisites.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
---
- name: Playbook for installing prerequisites
hosts: all
tasks:
- name: "Install packages"
vars:
fastpackages_packages_list:
- procps-ng
- mailcap
- unzip
- firewalld
- ca-certificates
- python3-lxml
- net-tools
- python3-policycoreutils
- policycoreutils-python-utils
- "{{ jvm_package }}"

pre_tasks:
- name: Install fastpackages prerequisites
ansible.builtin.include_role:
name: fastpackages
vars:
fastpackages_packages_list:
- procps-ng
- mailcap
- unzip
- firewalld
- ca-certificates
- python3-lxml
- net-tools
- python3-policycoreutils
- policycoreutils-python-utils
- "{{ jvm_package }}"
- name: "Get FQDN"
name: infra.rhbk_ha_cluster.fastpackages

tasks:
- name: "Set SELinux to Permissive mode"
ansible.builtin.command: "setenforce Permissive"
become: yes
changed_when: false
Expand All @@ -31,6 +34,8 @@
become: yes
when: current_fqdn.stdout != (inventory_hostname + domain_name)
changed_when: true
- name: "Install certificates"

post_tasks:
- name: Install certificates prerequisites
ansible.builtin.include_role:
name: certificates
name: infra.rhbk_ha_cluster.certificates
4 changes: 3 additions & 1 deletion playbooks/rhbk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
roles:
- role: redhat.rhbk.rhbk
rhbk_admin_pass: "{{ admin_pass }}"

pre_tasks:
- name: Configure promtail
ansible.builtin.include_role:
name: promtail
name: infra.rhbk_ha_cluster.promtail
when: not skip_promtail is defined
vars:
promtail_job_name: rhbk
promtail_logfile: /var/log/sso/server.log
promtail_region: "{{ hostvars[inventory_hostname].tags.Region }}"

post_tasks:
- name: Running rhbk_realm role
ansible.builtin.include_role:
Expand Down
45 changes: 0 additions & 45 deletions playbooks/roles/certificates/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions playbooks/roles/certificates/defaults/main.yml

This file was deleted.

Binary file removed playbooks/roles/certificates/files/keystore.jks
Binary file not shown.
23 changes: 0 additions & 23 deletions playbooks/roles/certificates/files/my-root-ca.crt.pem

This file was deleted.

4 changes: 0 additions & 4 deletions playbooks/roles/certificates/handlers/main.yml

This file was deleted.

21 changes: 0 additions & 21 deletions playbooks/roles/certificates/meta/main.yml

This file was deleted.

37 changes: 0 additions & 37 deletions playbooks/roles/certificates/tasks/main.yml

This file was deleted.

39 changes: 0 additions & 39 deletions playbooks/roles/fastpackages/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions playbooks/roles/fastpackages/defaults/main.yml

This file was deleted.

20 changes: 0 additions & 20 deletions playbooks/roles/fastpackages/meta/main.yml

This file was deleted.

17 changes: 0 additions & 17 deletions playbooks/roles/fastpackages/tasks/main.yml

This file was deleted.

45 changes: 0 additions & 45 deletions playbooks/roles/promtail/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions playbooks/roles/promtail/defaults/main.yml

This file was deleted.

12 changes: 0 additions & 12 deletions playbooks/roles/promtail/handlers/main.yml

This file was deleted.

20 changes: 0 additions & 20 deletions playbooks/roles/promtail/meta/main.yml

This file was deleted.

Loading
Loading