Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible-tzdata
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
remulo.carvalho
ansible-tzdata
Commits
6b197281
Commit
6b197281
authored
Oct 09, 2019
by
remulo.carvalho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nova versão as 2019/10/09-16:06
parent
add16b45
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
tzdata_update.retry
tzdata_update.retry
+1
-0
tzdata_update.yml
tzdata_update.yml
+3
-4
No files found.
tzdata_update.retry
0 → 100644
View file @
6b197281
h-eap02.pgj.rj.gov.br
tzdata_update.yml
View file @
6b197281
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment