Debian Codegraph @

ansible_collections/dellemc/powerflex/roles/powerflex_tb/molecule/wrong_tb_credentials/converge.yml

raw symbols SCIP
1 ---
2 - name: Update TB node password before running any tasks
3 hosts: tb
4 gather_facts: false
5 tasks:
6 - name: "Set new SSH password for TB nodes"
7 ansible.builtin.set_fact:
8 ansible_ssh_pass: "NewPassword123"
9
10 - name: "Reset SSH connection to use new password"
11 ansible.builtin.meta: reset_connection
12
13 - name: Providing incorrect credentials for TB node
14 hosts: tb
15 vars_files:
16 - ../connection.yml
17 gather_facts: false
18 tasks:
19 - name: "Install and configure powerflex tb with wrong credentials"
20 ansible.builtin.import_role:
21 name: "powerflex_tb"
22 vars:
23 powerflex_tb_state: present
24 ignore_unreachable: true
25 ignore_errors: true
26 register: powerflex_tb_wrong_credentials_output
27
28 - name: "Verifying failure of install package with wrong credentials"
29 ansible.builtin.assert:
30 that:
31 - 'powerflex_tb_primary_output.rc != 0'