Commit 9cdbb7d
scylla-manager: harden alternator creds task (no_log, best-effort, TLS)
Address review on #537:
- Add no_log: true to the salted-hash fetch and both sctool add/update
tasks so the alternator secret (and username/password) no longer leak
into Ansible logs, -vvv output, or callback plugins.
- Make the cqlsh salted-hash lookup best-effort with failed_when: false
so TLS-only clusters or transient auth/network failures skip the
optional --alternator-* flags instead of aborting the whole add/update.
- Support client encryption via optional item.ssl (--ssl) for the lookup.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 9b24a6a commit 9cdbb7d
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| 66 | + | |
| 67 | + | |
58 | 68 | | |
59 | 69 | | |
0 commit comments