[gameday]
grafana.domain.net
gitlab.domain.net
sonarqube.domain.net
artifactory.domain.net
prometheus.domain.net
I want to use them in some shell script which is going to be run as a part of some tasks.
for example below is some script where I want to replace "sonarqube.dummy.domain.net" this with the one in inventory file which is "sonarqube.domain.net"
shell script :
---------------------------------------------->read -p "Enter a server name for Sonarqube : " SQ if [ -z "$SQ" ]; then echo "DNS name for sonarqube not provided, cannot proceed" exit 1 else sed -i s/sonarqube.dummy.domain.net/$SQ/g /opt/sonarqube/*.json fi<-----------------------------------------------
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/915a168d-4b8f-4437-80e9-f45cf3af9d35%40googlegroups.com.