Skip to content

Commit 021fabe

Browse files
committed
Update tests to use import_playbook instead of include.
1 parent 796dd1a commit 021fabe

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

tests/deployments-rolling.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
groups: nodejs-api
88
changed_when: false
99

10-
- include: ../deployments-rolling/playbooks/provision.yml
11-
- include: ../deployments-rolling/playbooks/deploy.yml
10+
- import_playbook: ../deployments-rolling/playbooks/provision.yml
11+
- import_playbook: ../deployments-rolling/playbooks/deploy.yml

tests/deployments.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
# Deployments test.
3-
- include: ../deployments/playbooks/provision.yml
4-
- include: ../deployments/playbooks/deploy.yml
3+
- import_playbook: ../deployments/playbooks/provision.yml
4+
- import_playbook: ../deployments/playbooks/deploy.yml

tests/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
- geerlingguy.pip
1717

1818
# Docker test.
19-
- include: ../docker/main.yml
19+
- import_playbook: ../docker/main.yml

tests/drupal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
apt: name=ufw state=present
1010

1111
# Drupal test.
12-
- include: ../drupal/provisioning/playbook.yml
12+
- import_playbook: ../drupal/provisioning/playbook.yml

tests/https-self-signed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
package: name=python-pip state=present
1010

1111
# HTTPS Self-Signed Certificate test.
12-
- include: ../https-self-signed/provisioning/main.yml
12+
- import_playbook: ../https-self-signed/provisioning/main.yml

tests/includes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
apt: name=ufw state=present
1010

1111
# Includes test.
12-
- include: ../includes/provisioning/playbook.yml
12+
- import_playbook: ../includes/provisioning/playbook.yml

tests/jenkins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
apt: update_cache=yes cache_valid_time=600
77

88
# Jenkins test.
9-
- include: ../jenkins/provision.yml
9+
- import_playbook: ../jenkins/provision.yml

tests/nodejs-role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
yum: name=firewalld state=present
77

88
# Node.js role test.
9-
- include: ../nodejs-role/playbook.yml
9+
- import_playbook: ../nodejs-role/playbook.yml

tests/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
yum: name=firewalld state=present
77

88
# Node.js test.
9-
- include: ../nodejs/provisioning/playbook.yml
9+
- import_playbook: ../nodejs/provisioning/playbook.yml

0 commit comments

Comments
 (0)