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

Unable to run playbook getting issue with block #27

Closed
FaisalAli92 opened this issue May 15, 2023 · 1 comment
Closed

Unable to run playbook getting issue with block #27

FaisalAli92 opened this issue May 15, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FaisalAli92
Copy link

while running the playbook I get the below error:

ERROR! 'notify' is not a valid attribute for a Block

The error appears to be in '/home/devops/ansible/ansible-lockdown/UBUNTU22-CIS-main/tasks/section_1/cis_1.8.x.yml': line 67, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name: "1.8.4 | PATCH | Ensure GDM screen locks when the user is idle"
    ^ here

Control(s) Affected
1.8.x

Environment (please complete the following information):
ansible 2.10.8
config file = /home/devops/ansible/common/ansible.cfg
configured module search path = ['/home/devops/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0

@FaisalAli92 FaisalAli92 added the bug Something isn't working label May 15, 2023
@uk-bolly uk-bolly self-assigned this May 15, 2023
uk-bolly added a commit that referenced this issue May 15, 2023
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
@uk-bolly uk-bolly mentioned this issue May 15, 2023
@uk-bolly
Copy link
Member

hi @FaisalAli92

This has been merged into devel. We will be raising the PR to main shortly. If this is working as expected. Please feel free to close this issue.

many thanks

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants