|
47 | 47 | - name: Create private key if it does not exist |
48 | 48 | ansible.builtin.command: |
49 | 49 | cmd: "ssh-keygen -t rsa -q -N '' -f {{ private_key }}" |
50 | | - no_log: true |
| 50 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
51 | 51 | when: |
52 | 52 | - not private_key_stat.stat.exists |
53 | 53 |
|
|
83 | 83 | src: "{{ lookup('env', 'HOME') }}/.ssh/{{ cifmw_admin_user }}-id_rsa" |
84 | 84 | register: private_key_get |
85 | 85 | delegate_to: localhost |
86 | | - no_log: true |
| 86 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
87 | 87 |
|
88 | 88 | - name: Get local public key |
89 | 89 | ansible.builtin.slurp: |
|
96 | 96 | cifmw_admin_pubkey: "{{ public_key_get['content'] | b64decode }}" |
97 | 97 | cifmw_admin_prikey: "{{ private_key_get['content'] | b64decode }}" |
98 | 98 | cifmw_admin_distribute_private_key: true |
99 | | - no_log: true |
| 99 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
100 | 100 |
|
101 | 101 | - name: Create Block Device on target nodes |
102 | 102 | tags: block |
|
332 | 332 | - name: Generate a cephx key |
333 | 333 | cephx_key: |
334 | 334 | register: cephx |
335 | | - no_log: true |
| 335 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
336 | 336 |
|
337 | 337 | - name: Set cifmw_cephadm_keys with the cephx key and cifmw_cephadm_pools |
338 | 338 | ansible.builtin.set_fact: |
|
347 | 347 | 'profile rbd pool=\\1') | join(', ') }}" |
348 | 348 | vars: |
349 | 349 | pools: "{{ cifmw_cephadm_pools | map(attribute='name') | list }}" |
350 | | - no_log: true |
| 350 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
351 | 351 |
|
352 | 352 | # for deploying external ceph for 17.1 using cifmw, we need this playbook to create keyring |
353 | 353 | # for manila client and manila_data pool |
|
370 | 370 | pg_autoscale_mode: true |
371 | 371 | application: cephfs |
372 | 372 | when: adoption_deploy_ceph_for_tripleo | default (false) |
373 | | - no_log: true |
| 373 | + no_log: "{{ cifmw_nolog | default(true) | bool }}" |
374 | 374 |
|
375 | 375 | # public network always exist because is provided by the ceph_spec role |
376 | 376 | - name: Get Storage network range |
|
0 commit comments