Merge "Do not make password files world-readable"

This commit is contained in:
Zuul 2022-01-18 10:36:42 +00:00 committed by Gerrit Code Review
commit ee34a65cf7
3 changed files with 16 additions and 0 deletions

View File

@ -148,6 +148,9 @@
crypt_scheme: bcrypt
name: "{{ admin_username }}"
password: "{{ admin_password }}"
owner: ironic
group: ironic
mode: 0600
when:
- not enable_keystone | bool
@ -157,6 +160,9 @@
crypt_scheme: bcrypt
name: "{{ default_username }}"
password: "{{ default_password }}"
owner: ironic
group: ironic
mode: 0600
when:
- not noauth_mode | bool
- not enable_keystone | bool

View File

@ -78,6 +78,9 @@
crypt_scheme: bcrypt
name: "{{ admin_username }}"
password: "{{ admin_password }}"
owner: ironic
group: ironic
mode: 0600
when:
- not noauth_mode | bool
- not enable_keystone | bool
@ -88,6 +91,9 @@
crypt_scheme: bcrypt
name: "{{ default_username }}"
password: "{{ default_password }}"
owner: ironic
group: ironic
mode: 0600
when:
- not noauth_mode | bool
- not enable_keystone | bool

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Password files (``htpasswd``) are no longer world-readable.