Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
f06e6c63
Commit
f06e6c63
authored
Jul 17, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: don't repository update cache all the time
parent
c7f3d32f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
playbook/roles/ntp/tasks/main.yml
playbook/roles/ntp/tasks/main.yml
+3
-3
playbook/roles/vm-cloudera-manager/tasks/main.yml
playbook/roles/vm-cloudera-manager/tasks/main.yml
+2
-2
No files found.
playbook/roles/ntp/tasks/main.yml
View file @
f06e6c63
---
---
-
name
:
Install ntp
-
name
:
Install ntp
apt
:
name=ntp state=latest
apt
:
name=ntp state=latest
update_cache=no
when
:
ansible_os_family == "Debian"
when
:
ansible_os_family == "Debian"
-
name
:
Install ntp
-
name
:
Install ntp
yum
:
name=ntp state=latest
yum
:
name=ntp state=latest
update_cache=no
when
:
ansible_os_family == "RedHat"
when
:
ansible_os_family == "RedHat"
-
name
:
ensure ntp is runing
-
name
:
ensure ntp is runing
...
@@ -13,4 +13,4 @@
...
@@ -13,4 +13,4 @@
-
name
:
ensure ntp is runing (RedHat)
-
name
:
ensure ntp is runing (RedHat)
service
:
name=ntpd state=running enabled=yes
service
:
name=ntpd state=running enabled=yes
when
:
ansible_os_family == "RedHat"
when
:
ansible_os_family == "RedHat"
\ No newline at end of file
playbook/roles/vm-cloudera-manager/tasks/main.yml
View file @
f06e6c63
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
raw
:
"
apt-get
install
-y
python-apt"
raw
:
"
apt-get
install
-y
python-apt"
-
name
:
install sudo
-
name
:
install sudo
apt
:
name=sudo state=latest
apt
:
name=sudo state=latest
update_cache=no
-
name
:
install tree
-
name
:
install tree
apt
:
name=tree state=latest
apt
:
name=tree state=latest
update_cache=no
-
name
:
install curl
-
name
:
install curl
apt
:
name=curl state=latest
apt
:
name=curl state=latest
...
...
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