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

firewalld vars #33

Merged
merged 5 commits into from
Jan 4, 2024
Merged

firewalld vars #33

merged 5 commits into from
Jan 4, 2024

Conversation

drmatthews
Copy link
Contributor

Changes:

  • Role name prefix for mirsg.infrastructure.firewalld variables
  • Move firewalld role variables out of install_monitoring.yml playbook

@drmatthews drmatthews marked this pull request as ready for review January 4, 2024 13:59
@@ -43,7 +43,6 @@ jobs:
molecule-plugins[docker] \
docker \
passlib \
bcrypt==4.0.1 \
Copy link
Contributor Author

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:
Copy link
Contributor Author

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.

Copy link
Contributor

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') }}
Copy link
Contributor Author

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.

@drmatthews drmatthews requested a review from p-j-smith January 4, 2024 14:02
Copy link
Contributor

@p-j-smith p-j-smith left a 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:
Copy link
Contributor

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

@drmatthews drmatthews merged commit 075d789 into main Jan 4, 2024
5 checks passed
@drmatthews drmatthews deleted the drmatthews-monitoring-firewall-vars branch January 4, 2024 14:42
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

Successfully merging this pull request may close these issues.

2 participants