Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Feb 3, 2023
1 parent 8d715e0 commit 12bd8dc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
warn_list:
- role-name
- name[play]
- name[casing]
4 changes: 3 additions & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ platforms:
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1604}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /var/lib/containerd
cgroupns_mode: host
privileged: true
pre_build_image: true
provisioner:
Expand Down
6 changes: 4 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# tasks file
---
- ansible.builtin.import_tasks: repository.yml
- name: repository
ansible.builtin.import_tasks: repository.yml
tags:
- configuration
- vagrant
- vagrant-repository

- ansible.builtin.import_tasks: install.yml
- name: install
ansible.builtin.import_tasks: install.yml
tags:
- configuration
- vagrant
Expand Down
2 changes: 1 addition & 1 deletion tasks/repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
tags:
- vagrant-repository-keyrings-directory-create

- name: download (keyring) file
- name: download (keyring) file # noqa command-instead-of-module risky-shell-pipe
ansible.builtin.shell: >
wget -O- {{ vagrant_keyring_src }} | gpg --dearmor | tee {{ vagrant_keyring_dst }}
args:
Expand Down
1 change: 0 additions & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ vagrant_dependencies_pre:
- dirmngr
- apt-transport-https
- wget
- gpg
- coreutils

vagrant_dependencies:
Expand Down

0 comments on commit 12bd8dc

Please sign in to comment.