Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise name[play] for plays missing a name #2295

Merged
merged 1 commit into from Aug 22, 2022
Merged

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Aug 14, 2022

From now on, we will be require plays to have names, same as tasks, as these are also displayed by Ansible and help documenting their purpose.

Related: #2171

src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
ssbarnea added a commit to ssbarnea/ansible-lint that referenced this pull request Aug 16, 2022
@ssbarnea ssbarnea changed the title Update name[missing] to trigger on plays too Add name[play] rule that checks for names on plays Aug 16, 2022
@ssbarnea ssbarnea marked this pull request as draft August 16, 2022 13:55
ssbarnea added a commit that referenced this pull request Aug 16, 2022
@ssbarnea ssbarnea force-pushed the fix/kinds branch 2 times, most recently from 79c67ad to 0be4238 Compare August 17, 2022 17:00
@ssbarnea ssbarnea removed the bug label Aug 17, 2022
@github-actions github-actions bot added the bug label Aug 17, 2022
@ssbarnea ssbarnea marked this pull request as ready for review August 17, 2022 17:11
@ssbarnea ssbarnea removed the bug label Aug 17, 2022
Copy link
Member

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a few more nitpicks.

src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
src/ansiblelint/rules/name.py Outdated Show resolved Hide resolved
From now on, we will be require plays to have names, same as task,
as these are also displayed by Ansible and help documenting them.

Related: ansible#2171
hswong3i added a commit to alvistack/docker-gitlab-ce that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-gitlab-ee that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-golang that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-fisheye that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-httpd that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-jira that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-mariadb that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-mitmproxy that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-node that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-devel that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-openjdk that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-opensuse that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-python that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-postfix that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-php-fpm that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-postgres that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-gitlab-runner that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-rhel that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/docker-ubuntu that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/ansible-collection-kubernetes that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-centos that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-debian that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-fedora that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-opensuse that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-ceph that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-rhel that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-ubuntu that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/ansible-collection-gnome that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-gitlab-runner that referenced this pull request Aug 31, 2022
hswong3i added a commit to alvistack/vagrant-kubernetes that referenced this pull request Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants