Created
August 29, 2018 23:38
-
-
Save richm/f76f723ebd1ab1ec8d34f5b225abed20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Get OpenShift specific information | |
hosts: masters[0] | |
sudo: yes | |
tasks: | |
- name: Get OpenShift information from the first master | |
import_role: | |
name: openshift_logging_rsyslog | |
tasks_from: main.yaml | |
when: rsyslog__enabled|bool and rsyslog__viaq|bool | |
- name: Deploy rsyslog configuration files | |
hosts: nodes | |
sudo: yes | |
roles: | |
- role: rsyslog | |
tags: [ 'role::rsyslog' ] | |
tasks: | |
- name: Run tasks/setup_certs.yaml instead of 'main' | |
import_role: | |
name: openshift_logging_rsyslog | |
tasks_from: setup_certs.yaml | |
when: (rsyslog__enabled|bool and rsyslog__viaq|bool) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment