mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1399 from guits/fix_ntp_install
Common: Do not install ntp when ntp_service_enabled is falsepull/1404/head
commit
a3ca0b3eb3
|
@ -56,20 +56,17 @@ dummy:
|
||||||
#debian_package_dependencies:
|
#debian_package_dependencies:
|
||||||
# - python-pycurl
|
# - python-pycurl
|
||||||
# - hdparm
|
# - hdparm
|
||||||
# - ntp
|
|
||||||
|
|
||||||
#centos_package_dependencies:
|
#centos_package_dependencies:
|
||||||
# - python-pycurl
|
# - python-pycurl
|
||||||
# - hdparm
|
# - hdparm
|
||||||
# - epel-release
|
# - epel-release
|
||||||
# - ntp
|
|
||||||
# - python-setuptools
|
# - python-setuptools
|
||||||
# - libselinux-python
|
# - libselinux-python
|
||||||
|
|
||||||
#redhat_package_dependencies:
|
#redhat_package_dependencies:
|
||||||
# - python-pycurl
|
# - python-pycurl
|
||||||
# - hdparm
|
# - hdparm
|
||||||
# - ntp
|
|
||||||
# - python-setuptools
|
# - python-setuptools
|
||||||
|
|
||||||
# Enable the ntp service by default to avoid clock skew on
|
# Enable the ntp service by default to avoid clock skew on
|
||||||
|
|
|
@ -48,20 +48,17 @@ upgrade_ceph_packages: False
|
||||||
debian_package_dependencies:
|
debian_package_dependencies:
|
||||||
- python-pycurl
|
- python-pycurl
|
||||||
- hdparm
|
- hdparm
|
||||||
- ntp
|
|
||||||
|
|
||||||
centos_package_dependencies:
|
centos_package_dependencies:
|
||||||
- python-pycurl
|
- python-pycurl
|
||||||
- hdparm
|
- hdparm
|
||||||
- epel-release
|
- epel-release
|
||||||
- ntp
|
|
||||||
- python-setuptools
|
- python-setuptools
|
||||||
- libselinux-python
|
- libselinux-python
|
||||||
|
|
||||||
redhat_package_dependencies:
|
redhat_package_dependencies:
|
||||||
- python-pycurl
|
- python-pycurl
|
||||||
- hdparm
|
- hdparm
|
||||||
- ntp
|
|
||||||
- python-setuptools
|
- python-setuptools
|
||||||
|
|
||||||
# Enable the ntp service by default to avoid clock skew on
|
# Enable the ntp service by default to avoid clock skew on
|
||||||
|
|
|
@ -6,3 +6,8 @@
|
||||||
always_run: true
|
always_run: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
|
- name: install ntp on debian
|
||||||
|
package:
|
||||||
|
name: ntp
|
||||||
|
state: present
|
||||||
|
|
|
@ -6,3 +6,8 @@
|
||||||
always_run: true
|
always_run: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
- name: install ntp on redhat
|
||||||
|
package:
|
||||||
|
name: ntp
|
||||||
|
state: present
|
||||||
|
|
Loading…
Reference in New Issue