19 lines
343 B
YAML
19 lines
343 B
YAML
|
|
- name: This task configure the DB server
|
|
debug:
|
|
msg: The DB server has been configured
|
|
|
|
|
|
- name: Dump DB env
|
|
become: true
|
|
shell: |-
|
|
echo "Current hostname: $(hostname -f)"
|
|
echo "Current User=$(id -un) (uid:$(id -u))"
|
|
echo "Current PATH=$PATH"
|
|
register: output
|
|
|
|
- name: Show DB output
|
|
debug:
|
|
msg: "{{ output}}"
|
|
|