File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 69
69
become : true
70
70
become_user : " {{ username }}"
71
71
72
- # - name: Run PAH installer playbook
73
- # ansible.builtin.shell: |
74
- # ansible-playbook single-node-install.yml -i hosts -e "olpah_admin_password=password olpah_db_password=password"
75
- # become: true
76
- # become: "{{ username }}"
72
+ - name : Run PAH installer playbook
73
+ ansible.builtin.shell : |
74
+ ansible-playbook single-node-install.yml -i hosts -e "olpah_admin_password=password olpah_db_password=password"
75
+ args :
76
+ chdir : ~/single_node
77
+ become : true
78
+ become_user : " {{ username }}"
79
+ register : pah_output
80
+ changed_when : pah_output.rc != 0
81
+
82
+ - name : Print the PAH playbook results
83
+ ansible.builtin.debug :
84
+ msg : " {{ pah_output.stdout }}"
85
+ when : debug_enabled
You can’t perform that action at this time.
0 commit comments