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

error in first run during check if there are any users to add to docker group #431

Open
Findarato opened this issue Oct 17, 2023 · 2 comments
Labels

Comments

@Findarato
Copy link

I have one user to be added to docker group "joe"


TASK [geerlingguy.docker : Check if there are any users to add to the docker group.] *****************
fatal: [IP.ADDRESS.NOT.HERE]: FAILED! => 
  msg: |-
    The conditional check 'item not in ansible_facts.getent_group["docker"][2]' failed. The error was: Unexpected templating type error occurred on ({% if item not in ansible_facts.getent_group["docker"][2] %} True {% else %} False {% endif %}): 'in <string>' requires string as left operand, not dict. 'in <string>' requires string as left operand, not dict
  
    The error appears to be in '/home/joe/.ansible/roles/geerlingguy.docker/tasks/main.yml': line 89, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.
  
    The offending line appears to be:
  
  
    - name: Check if there are any users to add to the docker group.
      ^ here

Target OS is RHEL 8.8

@hz61p1
Copy link

hz61p1 commented Jan 3, 2024

Same error on Debian 12

Copy link

github-actions bot commented May 6, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants