Skip to content

Commit e320689

Browse files
authored
Merge pull request #50 from bgraef/main
run pah playbook
2 parents 9ebfca2 + ab4f3f6 commit e320689

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

olam/provision_pah.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,17 @@
6969
become: true
7070
become_user: "{{ username }}"
7171

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

0 commit comments

Comments
 (0)