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