-
Notifications
You must be signed in to change notification settings - Fork 1
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
firewalld vars #33
firewalld vars #33
Conversation
Only add to internal zone sources and new rich rule
@@ -43,7 +43,6 @@ jobs: | |||
molecule-plugins[docker] \ | |||
docker \ | |||
passlib \ | |||
bcrypt==4.0.1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using bcrypt
with the password_hash
filter was causing an exception.
@@ -29,12 +29,3 @@ | |||
roles: | |||
- role: mirsg.infrastructure.monitoring_client | |||
- role: mirsg.infrastructure.firewalld | |||
vars: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am now setting these at the inventory level instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, makes sense to put them in the inventory
@@ -2,4 +2,4 @@ tls_server_config: | |||
cert_file: node_exporter.crt | |||
key_file: node_exporter.key | |||
basic_auth_users: | |||
{{ monitoring_client_exporter_username }}: {{ monitoring_client_exporter_password | password_hash('bcrypt') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using bcrypt
with passlib
was causing an exception when using the password_hash
filter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
@@ -29,12 +29,3 @@ | |||
roles: | |||
- role: mirsg.infrastructure.monitoring_client | |||
- role: mirsg.infrastructure.firewalld | |||
vars: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, makes sense to put them in the inventory
Changes:
mirsg.infrastructure.firewalld
variablesinstall_monitoring.yml
playbook