diff --git a/changeIp.sh b/changeIp.sh index 018904d..631b181 100755 --- a/changeIp.sh +++ b/changeIp.sh @@ -38,11 +38,11 @@ case $prog_name in ;; vdg-ip) # check if you are vdg network - ping -c2 proxy.ville-geneve.ch > /dev/null 2>&1 #2>&1 >/dev/null - if [ "$?" -ne "0" ]; then - echo "You are not in VdG network" - exit 1 - fi +# ping -c2 proxy.ville-geneve.ch > /dev/null 2>&1 #2>&1 >/dev/null +# if [ "$?" -ne "0" ]; then +# echo "You are not in VdG network" +# exit 1 +# fi # create inventory file echo -e "[vdg]\nlocalhost" > inventory ansible-playbook -l vdg -i inventory changeIp.yml diff --git a/changeIp.yml b/changeIp.yml index 2c9ce3a..99ebdfb 100644 --- a/changeIp.yml +++ b/changeIp.yml @@ -78,13 +78,13 @@ copy: src: os/proxy.conf dest: /etc/systemd/system/docker.service.d/proxy.conf - - name: get root VDG CA - get_url: - url: "http://intranet.ville-ge.ch/certs/{{ item }}" - dest: "/etc/pki/ca-trust/source/anchors/{{ item }}" - with_items: - - rootcavdg_ROOTVDG-CA.crt - - adsubca.crt +# - name: get root VDG CA +# get_url: +# url: "http://intranet.ville-ge.ch/certs/{{ item }}" +# dest: "/etc/pki/ca-trust/source/anchors/{{ item }}" +# with_items: +# - rootcavdg_ROOTVDG-CA.crt +# - adsubca.crt - name: update ca trust shell: update-ca-trust changed_when: false diff --git a/group_vars/stage.yml b/group_vars/stage.yml index 7d48360..b504a82 100644 --- a/group_vars/stage.yml +++ b/group_vars/stage.yml @@ -1,6 +1,6 @@ -new_ip: 10.10.10.1 +new_ip: 10.10.10.5 new_gw: -new_dns: 10.10.10.1 +new_dns: 10.10.10.5 new_search: stage-ge.org reverse_zone: 10.10.10