Comments (4)
Well, there is a parameter already. blame me. encrypt_password:
the only question left is, if we should/can fix the behaviour above, and detect if the unterlying password is hashed already.
from community.proxysql.
Ok, the error persists when I use in the last task from the example above encrypt_password: yes
- name: idempotent add user to proxysql
proxysql_mysql_users:
state: present
username: someuser
password: password
default_hostgroup: 0
login_user: admin
login_password: admin
load_to_runtime: yes
encrypt_password: yes
from community.proxysql.
maybe there's something in community.mysql.mysql_user
that can help
from community.proxysql.
Using only encrypted_password: yes
works perfectly. There is no need to use the workaround when you're already using community.proxysql.
When you do the workaround, proxysql_mysql_users
will fail. Imo, we should not waste time on fixing that.
What is not working is, when you're using plaintext password first (default), and want to change to encrypted_password
.
This will fail with the same error message.
That should be fixed imo.
something like that
if requested_password != existing_password or encrypt_cleartext_password(requested_password) == existing_password:
# we can change
elif:
# we cannot handle this because we don't know if the password just changed
from community.proxysql.
Related Issues (20)
- proxysql_query_rules_fast_routing module can not update existed rules HOT 3
- Release 1.5.0
- CI maintenance
- Support gtid_port in proxysql_backend_servers
- CI: add --changed to ansible-test command
- proxysql_manage_config unexpectedly modifies system state in check mode HOT 2
- Consider using true/false for all booleans in docs HOT 1
- proxysql firewall support HOT 1
- use mysql_common_argument_spec and refactor AnsibleModule()
- refactor save_config_to_disk() and load_config_to_runtime() HOT 4
- ProxySQL community pinboard HOT 4
- proxysql_mysql_query_rules becomes incompatible with 1.4.x since 1.1.0 HOT 5
- Expand github action integration test that it also runs against proxysql 1.4.15 HOT 1
- add support for PROXYSQL TLS RELOAD HOT 5
- Important information for collection maintainers
- Install role need some maintenance HOT 3
- Release 2.0.0 plan HOT 2
- mysql.py. suffix in _version may not be an integer value ==> error HOT 3
- Ansible Contributor Summit. Tuesday, April 12, 2022.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.proxysql.