< Home - < Back

ansible-lint


Information about the package, ansible-lint, which is shipped with common Linux distributions. The ansible-lint package is designed for, Best practices checker for Ansible.


Package Name:

ansible-lint

Summary:

Best practices checker for Ansible

Description:

Checks playbooks for practices and behavior that could potentially be improved

Architecture:

noarch

Version:

3.4.21

Release:

1.el6

Size:

49 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for ansible-lint


Control the ansible-lint package with the following handy commands outlined below.


Command

Description of Command

yum install ansible-lint

This command will install ansible-lint on the server.

yum remove ansible-lint

This command will un-install ansible-lint on the server. When you run this command, you will be asked if you are sure that you want to remove ansible-lint, so you have to manually confirm that you want to do this.

yum -y remove ansible-lint

This command will un-install ansible-lint on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ansible-lint when using the -y flag.

yum update ansible-lint

This command will update ansible-lint to the latest version. When you run this command, you will be asked if you are sure that you want to remove ansible-lint, so you have to manually confirm that you want to do this.

yum -y update ansible-lint

This command will update ansible-lint to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ansible-lint when using the -y flag.

yum info ansible-lint

This command will show you core information about the ansible-lint package.

yum deplist ansible-lint

This command will show you the dependencies for ansible-lint. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update ansible-lint

This command will check if there is an update waiting on ansible-lint. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.