change: make roles more verbose
This commit is contained in:
parent
0e566e0181
commit
9544771e52
@ -2,3 +2,17 @@
|
|||||||
- name: This task configure the DB server
|
- name: This task configure the DB server
|
||||||
debug:
|
debug:
|
||||||
msg: The DB server has been configured
|
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}}"
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,18 @@
|
|||||||
|
|
||||||
- name: This task configure the web server
|
- name: This task configure the web server
|
||||||
debug:
|
debug:
|
||||||
msg: The WEB server has been configured
|
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}}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user