From 9fab0a2cf9e66eca68f2662474a5a283e4cd3418 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 20 Feb 2023 22:55:24 -0600 Subject: [PATCH] Some lint fixes. --- .ansible-lint | 7 ++++++- main.yml | 10 ++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index e6a02bd..9bbcef8 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,4 +1,9 @@ --- skip_list: + - schema[meta] + - role-name - experimental - - fqcn-builtins + - fqcn + - name[missing] + - no-changed-when + - risky-file-permissions diff --git a/main.yml b/main.yml index ac7a6f8..500c917 100644 --- a/main.yml +++ b/main.yml @@ -1,5 +1,6 @@ --- -- hosts: all +- name: Configure host. + hosts: all vars_files: - default.config.yml @@ -45,10 +46,11 @@ when: configure_sublime tags: ['sublime-text'] - - block: + - name: Run post-provision task files in a block. + tags: ['post'] + block: - name: Run configured post-provision ansible task files. include_tasks: "{{ outer_item }}" loop_control: loop_var: outer_item - with_fileglob: "{{ post_provision_tasks|default(omit) }}" - tags: ['post'] + with_fileglob: "{{ post_provision_tasks | default(omit) }}"