Commit 6b197281 by remulo.carvalho

Nova versão as 2019/10/09-16:06

parent add16b45
h-eap02.pgj.rj.gov.br
......@@ -42,23 +42,22 @@
- name: Atualiza o Tzdata do RedHat 6x via yum local.
when: (ansible_distribution == "RedHat" and ansible_distribution_major_version == "6")
yum:
disablerepo: "*"
name:
- http://p-awx01.pgj.rj.gov.br/public/rpm/tzdata-2019c-1.el6.noarch.rpm
- http://p-awx01.pgj.rj.gov.br/public/rpm/tzdata-java-2019c-1.el6.noarch.rpm
state: present
disablerepo: "*"
- name: Atualiza o tzdata do RedHat 7.x via yum local.
when: (ansible_distribution == "RedHat" and ansible_distribution_major_version == "7")
yum:
disablerepo: "*"
name:
- http://p-awx01.pgj.rj.gov.br/public/rpm/tzdata-2019c-1.el7.noarch.rpm
- http://p-awx01.pgj.rj.gov.br/public/rpm/tzdata-java-2019c-1.el7.noarch.rpm
state: present
disablerepo: "*"
- name: Update Tzdata JVM
when: (ansible_distribution == "RedHat")
#shell: sudo /usr/bin/java -jar /home/svcansible/tzupdate/tzupdater.jar -l file:///home/svcansible/tzupdate/tzdata-latest.tar.gz -v -u
shell: cd /tmp/; wget http://p-oc-ansible01.pgj.rj.gov.br:81/tzupdate/tzupdater.jar; wget http://p-oc-ansible01.pgj.rj.gov.br:81/tzupdate/tzdata-latest.tar.gz; sudo /usr/bin/java -jar /tmp/tzupdater.jar -l file:///tmp/tzdata-latest.tar.gz -v -u; rm -rf tzdata*; rm -rf tzupdater.*
shell: cd /tmp/; wget http://p-awx01.pgj.rj.gov.br/public/rpm/tzupdater.jar; wget http://p-awx01.pgj.rj.gov.br/public/rpm/tzdata-latest.tar.gz; sudo /usr/bin/java -jar /tmp/tzupdater.jar -l file:///tmp/tzdata-latest.tar.gz -v -u; rm -rf tzdata*; rm -rf tzupdater.*
ignore_errors: yes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment