trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhg...@apache.org
Subject [trafficcontrol] 01/04: Switch example playbook documentation to json-based vars
Date Wed, 18 Sep 2019 17:26:09 GMT
This is an automated email from the ASF dual-hosted git repository.

jhg03a pushed a commit to branch ansible.refactor
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit f99bc939bb7d5d7eaed3a2b7409505a168c1e851
Author: Jonathan Gray <Jonathan_Gray@comcast.com>
AuthorDate: Mon Sep 16 18:27:39 2019 -0600

    Switch example playbook documentation to json-based vars
---
 infrastructure/ansible/roles/dataset_loader/README.md |  6 +-----
 infrastructure/ansible/roles/traffic_opsdb/README.md  | 12 ++----------
 2 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/infrastructure/ansible/roles/dataset_loader/README.md b/infrastructure/ansible/roles/dataset_loader/README.md
index f558c53..50af6f3 100644
--- a/infrastructure/ansible/roles/dataset_loader/README.md
+++ b/infrastructure/ansible/roles/dataset_loader/README.md
@@ -62,11 +62,7 @@ Example Playbook
   tasks:
     - name: Load environment specific vars
       include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vars.yml"
-
-    - name: Load environment specific vault
-      include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vault"
+        file: "{{ lookup('env', 'PWD') }}/ansible/vars.json"
       no_log: true
 
     - name: Deploy the Initial ATC Dataset
diff --git a/infrastructure/ansible/roles/traffic_opsdb/README.md b/infrastructure/ansible/roles/traffic_opsdb/README.md
index e7f5634..3b3041d 100644
--- a/infrastructure/ansible/roles/traffic_opsdb/README.md
+++ b/infrastructure/ansible/roles/traffic_opsdb/README.md
@@ -49,11 +49,7 @@ Example Playbook
   tasks:
     - name: Load environment specific vars
       include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vars.yml"
-
-    - name: Load environment specific vault
-      include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vault"
+        file: "{{ lookup('env', 'PWD') }}/ansible/vars.json"
       no_log: true
 
     - name: Deploy Traffic_opsdb
@@ -69,11 +65,7 @@ Example Playbook
   tasks:
     - name: Load environment specific vars
       include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vars.yml"
-
-    - name: Load environment specific vault
-      include_vars:
-        file: "{{ lookup('env', 'PWD') }}/ansible/vault"
+        file: "{{ lookup('env', 'PWD') }}/ansible/vars.json"
       no_log: true
 
     - name: Initialize Traffic_opsdb


Mime
View raw message