Skip to content

Commit

Permalink
ansible: update linter versions
Browse files Browse the repository at this point in the history
  • Loading branch information
langchr86 committed Oct 24, 2023
1 parent 432db15 commit f916d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions ansible/roles/swapfile/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
fallocate -l {{ swapfile_size }} {{ swapfile_file }}
args:
creates: "{{ swapfile_file }}"
warn: false
register: _write_swapfile
tags:
- swapfile-write-file
Expand All @@ -40,8 +39,6 @@
become: true
ansible.builtin.command: >
mkswap {{ swapfile_file }}
args:
warn: false
register: _create_swapfile
when: _write_swapfile.changed
tags:
Expand All @@ -51,8 +48,6 @@
become: true
ansible.builtin.command: >
swapon {{ swapfile_file }}
args:
warn: false
when: _create_swapfile is changed
tags:
- swapfile-enable-swapfile
Expand Down
4 changes: 2 additions & 2 deletions linting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install \
ansible==8.2.0 \
ansible-lint==6.17.2 \
ansible==8.5.0 \
ansible-lint==6.21.1 \
yamllint==1.32.0

WORKDIR /ansible

0 comments on commit f916d67

Please sign in to comment.