From 7ce51fd0b12368ab8cafcb530836504ee76a6157 Mon Sep 17 00:00:00 2001 From: bennsimon Date: Tue, 23 May 2023 12:50:29 +0300 Subject: [PATCH 1/4] include v2.7 --- vars/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/main.yml b/vars/main.yml index 1bd437c..174f09d 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -11,6 +11,7 @@ haproxy_versions_supported: - '2.2' - '2.3' - '2.4' + - '2.7' haproxy_dependencies_pre: - software-properties-common From c0eb2e3e247efc7a13acb0165f82a3eafeec0753 Mon Sep 17 00:00:00 2001 From: bennsimon Date: Fri, 9 Jun 2023 15:47:26 +0300 Subject: [PATCH 2/4] add test play names --- tests/test.yml | 2 +- tests/vagrant.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.yml b/tests/test.yml index 8d7cd5f..3ad3f08 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -1,6 +1,6 @@ # test file --- -- hosts: localhost +- name: Test | Local connection: local become: true pre_tasks: diff --git a/tests/vagrant.yml b/tests/vagrant.yml index 851ce22..4c8faa8 100644 --- a/tests/vagrant.yml +++ b/tests/vagrant.yml @@ -1,6 +1,6 @@ # test file --- -- hosts: all +- name: Test | Remote remote_user: vagrant become: true pre_tasks: From 509c5a9124c5d58675faf391e25bdb2671ed3a8f Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 9 Jun 2023 15:39:32 +0200 Subject: [PATCH 3/4] Fix some tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f182f96..6776c26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: python-version: '3.x' - name: Install test dependencies - run: pip install 'ansible${{ matrix.ansible-version }}' molecule[docker] docker + run: pip install 'ansible${{ matrix.ansible-version }}' molecule-plugins[docker] docker - name: Run Molecule tests run: | From 485d8d4c600e1a65df5513620f4e29e192793076 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 9 Jun 2023 15:41:34 +0200 Subject: [PATCH 4/4] Revert --- .ansible-lint | 1 + tests/test.yml | 2 +- tests/vagrant.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 7e0172a..b04781e 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,4 +1,5 @@ --- warn_list: - role-name + - name[play] - name[casing] diff --git a/tests/test.yml b/tests/test.yml index 3ad3f08..8d7cd5f 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -1,6 +1,6 @@ # test file --- -- name: Test | Local +- hosts: localhost connection: local become: true pre_tasks: diff --git a/tests/vagrant.yml b/tests/vagrant.yml index 4c8faa8..851ce22 100644 --- a/tests/vagrant.yml +++ b/tests/vagrant.yml @@ -1,6 +1,6 @@ # test file --- -- name: Test | Remote +- hosts: all remote_user: vagrant become: true pre_tasks: