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

Small issues with numeric tags #2

Closed
jvleminc opened this issue Dec 15, 2020 · 2 comments
Closed

Small issues with numeric tags #2

jvleminc opened this issue Dec 15, 2020 · 2 comments

Comments

@jvleminc
Copy link
Collaborator

TASK [CIS-Ubuntu-20.04-Ansible : 1.9 Ensure updates, patches, and additional security software are installed] ***********************************************
fatal: [node-1]: FAILED! => {"msg": "the field 'tags' should be a list of ((<type 'basestring'>,), <type 'int'>), but the item '1.9' is a <type 'float'>\n\nThe error appears to be in '.../CIS-Ubuntu-20.04-Ansible/tasks/section_1_Initial_Setup.yaml': line 873, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# 1.9 Ensure updates, patches, and additional security software are installed\n- name: 1.9 Ensure updates, patches, and additional security software are installed\n  ^ here\n"}
...ignoring

TASK [CIS-Ubuntu-20.04-Ansible : 1.10 Ensure GDM is removed or login is configured] *************************************************************************
fatal: [node-1]: FAILED! => {"msg": "the field 'tags' should be a list of ((<type 'basestring'>,), <type 'int'>), but the item '1.1' is a <type 'float'>\n\nThe error appears to be in '.../CIS-Ubuntu-20.04-Ansible/tasks/section_1_Initial_Setup.yaml': line 883, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# 1.10 Ensure GDM is removed or login is configured\n- name: 1.10 Ensure GDM is removed or login is configured\n  ^ here\n"}
...ignoring

Simple fix: in Tasks/section_1_Initial_Setup.yaml change the tags 1.9 and 1.10 to strings. :-)

@alivx
Copy link
Owner

alivx commented Dec 15, 2020

Please do a pull request 🙏😉

@jvleminc
Copy link
Collaborator Author

Here you go :-)

@alivx alivx closed this as completed in 89bee3f Dec 15, 2020
alivx added a commit that referenced this issue Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants