Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by UnknownGnome ( 7 years ago )
---
- hosts: Linux
  gather_facts: no
  pre_tasks:
   - setup:
      gather_subset:
       - '!all'
  - name: Install/config ntp (RedHat 6)
    include_role:
      name: ntp
    when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int == 6
    tags: time
  - name: Install/config chrony (RedHat >7)
    include_role:
      name: chrony
    when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int >= 7
    tags: time

 

Revise this Paste

Your Name: Code Language: