Commit e1e172e8 by remulo.carvalho

Update tzdata_update.yml

parent 9ea59b3c
...@@ -64,3 +64,8 @@ ...@@ -64,3 +64,8 @@
when: (ansible_distribution == "RedHat") when: (ansible_distribution == "RedHat")
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.* 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 ignore_errors: yes
- name: Update Tzdata JVM
when: (ansible_distribution == "Centos")
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