Skip to content

Commit

Permalink
fix ansible lint line length
Browse files Browse the repository at this point in the history
  • Loading branch information
skwde committed Jun 14, 2023
1 parent 77b17ce commit 7106518
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@
main_ssh_config_name: 00-ansible.conf
main_ssh_config_path: /etc/ssh/ssh_config.d/
when:
- (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version']|int > 8) or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_major_version']|int >= 22)
- (ansible_facts['os_family'] == 'RedHat'
and ansible_facts['distribution_major_version']|int > 8) or
(ansible_facts['distribution'] == 'Ubuntu'
and ansible_facts['distribution_major_version']|int >= 22)
2 changes: 1 addition & 1 deletion tests/tests_backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
patterns: "{{ main_ssh_config_name }}.*@*~"
register: new_backup

- name: Verify the backup was not done in the first attempt, but in the second one
- name: Verify backup was not done in first, but in second attempt
ansible.builtin.assert:
that:
- no_backup.files == []
Expand Down

0 comments on commit 7106518

Please sign in to comment.