mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 23:55:19 +01:00
fix authorized_key tests
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
a0987f1dc3
commit
59de8ce827
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
register: result
|
||||
|
||||
- name: Get the file content
|
||||
ansible.builtin.command: /bin/cat "{{ output_dir | expanduser }}/authorized_keys" | fgrep DATA_BASIC
|
||||
ansible.builtin.shell: set -o pipefail && cat "{{ output_dir | expanduser }}/authorized_keys" | fgrep DATA_BASIC
|
||||
changed_when: false
|
||||
register: content
|
||||
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@
|
|||
- result.key_options == "no-agent-forwarding,no-X11-forwarding,permitopen=\"10.9.8.1:8080\",permitopen=\"10.9.8.1:9001\""
|
||||
|
||||
- name: Get the file content
|
||||
ansible.builtin.command: /bin/cat "{{ output_dir | expanduser }}/authorized_keys" | fgrep DATA_BASIC
|
||||
ansible.builtin.shell: set -o pipefail && cat "{{ output_dir | expanduser }}/authorized_keys" | fgrep DATA_BASIC
|
||||
changed_when: false
|
||||
register: content
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue