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

mysql_user: Allow to check for implicit_admin w/o any action #24298

Closed
MarcinOrlowski opened this issue May 4, 2017 · 10 comments
Closed

mysql_user: Allow to check for implicit_admin w/o any action #24298

MarcinOrlowski opened this issue May 4, 2017 · 10 comments
Labels
affects_2.3 This issue/PR affects Ansible v2.3 collection:community.general collection Related to Ansible Collections work database Database category feature This issue/PR relates to a feature request. module This issue/PR relates to a module. mysql needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md needs_info This issue requires further information. Please answer any outstanding questions. support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests.

Comments

@MarcinOrlowski
Copy link

MarcinOrlowski commented May 4, 2017

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

mysql_user

ANSIBLE VERSION
ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/usr/share/ansible']
  python version = 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]

OS / ENVIRONMENT

N/A

SUMMARY

Would be useful to use mysql_user with just check_implicit_admin (no name given) which combined with register would just check for implicit admin access allowing further steps in role to rely on the result (i.e. skip certain actions).

STEPS TO REPRODUCE
- mysql_user:
      check_implicit_admin: yes
  register: check_result

- debug:
      var: check_result
EXPECTED RESULTS
ok: [pl_neo_sql] => {
    "changed": false,
    "implicit_admin": true
}

ACTUAL RESULTS

It actually fails as name is required.

@ansibot
Copy link
Contributor

ansibot commented May 4, 2017

@ansibot ansibot added affects_2.3 This issue/PR affects Ansible v2.3 feature_idea module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. labels May 4, 2017
@nitzmahone nitzmahone removed the needs_triage Needs a first human triage before being processed. label May 4, 2017
@ansibot ansibot added the support:community This issue/PR relates to code supported by the Ansible community. label Jun 29, 2017
@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_idea labels Mar 2, 2018
@ansibot ansibot added support:core This issue/PR relates to code supported by the Ansible Engineering Team. and removed support:community This issue/PR relates to code supported by the Ansible community. labels Sep 19, 2018
@ansibot ansibot added needs_maintainer Ansibot is unable to identify maintainers for this PR. (Check `author` in docs or BOTMETA.yml) support:community This issue/PR relates to code supported by the Ansible community. and removed support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Oct 5, 2018
@ansibot ansibot removed the needs_maintainer Ansibot is unable to identify maintainers for this PR. (Check `author` in docs or BOTMETA.yml) label Nov 10, 2018
@ansibot ansibot added the test This PR relates to tests. label Feb 3, 2019
@ansibot
Copy link
Contributor

ansibot commented Feb 19, 2019

@ansibot ansibot added the database Database category label Feb 19, 2019
@ansibot
Copy link
Contributor

ansibot commented Feb 27, 2019

@ansibot
Copy link
Contributor

ansibot commented Jun 3, 2019

@ansibot
Copy link
Contributor

ansibot commented Jun 19, 2019

@ansibot
Copy link
Contributor

ansibot commented Aug 8, 2019

@ansibot
Copy link
Contributor

ansibot commented Dec 20, 2019

@ansibot ansibot added collection Related to Ansible Collections work collection:community.general needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md labels Apr 29, 2020
@Andersson007
Copy link
Contributor

can't we do it as it is now using

ingore_errors: yes
check_implicit_admin: yes

?
needs_info

@ansibot ansibot added the needs_info This issue requires further information. Please answer any outstanding questions. label Jun 9, 2020
@ansibot
Copy link
Contributor

ansibot commented Jul 14, 2020

@MarcinOrlowski This issue is waiting for your response. Please respond or the issue will be closed.

click here for bot help

@Akasurde
Copy link
Member

Thank you very much for your interest in Ansible. This plugin/module is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/community.general

Migrated this issue in the above repository - ansible-collections/community.general#755.

If you have further questions please stop by IRC or the mailing list:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.3 This issue/PR affects Ansible v2.3 collection:community.general collection Related to Ansible Collections work database Database category feature This issue/PR relates to a feature request. module This issue/PR relates to a module. mysql needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md needs_info This issue requires further information. Please answer any outstanding questions. support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests.
Projects
None yet
Development

No branches or pull requests

6 participants