From efa25b1c9cd6299eb67691baf407495996e2584d Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Wed, 25 Aug 2021 13:29:04 +0300 Subject: [PATCH] Use ansible-core 2.11 for tests Change-Id: Id0f5ed1b2ccd061bedd231c8cb50ecfe7db55d97 --- ansible-requirements.txt | 2 +- requirements.txt | 2 +- zuul.d/playbooks/pre.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible-requirements.txt b/ansible-requirements.txt index b18ac42..f5398ac 100644 --- a/ansible-requirements.txt +++ b/ansible-requirements.txt @@ -2,5 +2,5 @@ # to licensing conflicts. But we sill need to be able to pull them in for # lint checks and want to document these as ansible specific things that may # be required for this repository. -ansible>=2.8,<2.10 +ansible-core<2.12 ansible-lint diff --git a/requirements.txt b/requirements.txt index 68972eb..d155c5c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ pbr>=1.6 -ansible>=2.8,<2.10 +ansible-core<2.12 diff --git a/zuul.d/playbooks/pre.yml b/zuul.d/playbooks/pre.yml index f54bc1c..89e11ec 100644 --- a/zuul.d/playbooks/pre.yml +++ b/zuul.d/playbooks/pre.yml @@ -43,7 +43,7 @@ register: pub_key - name: Ensure can ssh to can connect to localhost - authorized_key: + ansible.posix.authorized_key: user: "{{ ansible_user }}" key: "{{ pub_key['content'] | b64decode }}"