Browse Source

Add validate-host and log-inventory

Add two helper roles to the base job examples.

Change-Id: I205773a4bf2d085206dfac18d51ed957ff7202a4
Ian Wienand 10 months ago
parent
commit
c68bf20246
2 changed files with 12 additions and 0 deletions
  1. 6
    0
      playbooks/base-test/pre.yaml
  2. 6
    0
      playbooks/base/pre.yaml

+ 6
- 0
playbooks/base-test/pre.yaml View File

@@ -2,3 +2,9 @@
2 2
   roles:
3 3
     - add-build-sshkey
4 4
     - prepare-workspace
5
+    # This role ensures basic connectivity and produces some
6
+    # helpful information in zuul-info/
7
+    - validate-host
8
+    # This roles copies the ansible inventory to zuul-info/
9
+    # for debugging purposes
10
+    - log-inventory

+ 6
- 0
playbooks/base/pre.yaml View File

@@ -2,3 +2,9 @@
2 2
   roles:
3 3
     - add-build-sshkey
4 4
     - prepare-workspace
5
+    # This role ensures basic connectivity and produces some
6
+    # helpful information in zuul-info/
7
+    - validate-host
8
+    # This roles copies the ansible inventory to zuul-info/
9
+    # for debugging purposes
10
+    - log-inventory

Loading…
Cancel
Save