Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit d6ec19e

Browse files
authored
Merge pull request #228 from Normo/fix-test
Fix squash_actions deprecation in test playbooks
2 parents 8b71e3f + eda078b commit d6ec19e

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

tests/default.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
- "openssh-server"
99
- "libselinux-python"
1010
ignore_errors: true
11-
- apt: name="{{item}}" state=present update_cache=true
12-
with_items:
13-
- "openssh-client"
14-
- "openssh-server"
11+
- apt: name="{{packages}}" state=present update_cache=true
12+
vars:
13+
packages:
14+
- "openssh-client"
15+
- "openssh-server"
1516
ignore_errors: true
1617
- file: path="/var/run/sshd" state=directory
1718
- name: create ssh host keys

tests/default_custom.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
- "openssh-server"
99
- "libselinux-python"
1010
ignore_errors: true
11-
- apt: name="{{item}}" state=present update_cache=true
12-
with_items:
13-
- "openssh-client"
14-
- "openssh-server"
11+
- apt: name="{{packages}}" state=present update_cache=true
12+
vars:
13+
packages:
14+
- "openssh-client"
15+
- "openssh-server"
1516
ignore_errors: true
1617
- file: path="/var/run/sshd" state=directory
1718
- name: create ssh host keys

0 commit comments

Comments
 (0)