소스 검색

Merge pull request #6235 from mtnbikenc/include-deprecation-openshift-prometheus

Include Deprecation - openshift-prometheus
Russell Teague 7 년 전
부모
커밋
50637899d5
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      playbooks/openshift-prometheus/config.yml
  2. 2 2
      roles/openshift_prometheus/tasks/main.yaml

+ 2 - 2
playbooks/openshift-prometheus/config.yml

@@ -1,4 +1,4 @@
 ---
-- include: ../init/main.yml
+- import_playbook: ../init/main.yml
 
-- include: private/config.yml
+- import_playbook: private/config.yml

+ 2 - 2
roles/openshift_prometheus/tasks/main.yaml

@@ -20,10 +20,10 @@
     mode: 0755
   changed_when: False
 
-- include: install_prometheus.yaml
+- include_tasks: install_prometheus.yaml
   when: openshift_prometheus_state == 'present'
 
-- include: uninstall_prometheus.yaml
+- include_tasks: uninstall_prometheus.yaml
   when: openshift_prometheus_state == 'absent'
 
 - name: Delete temp directory