Last active
February 23, 2018 15:04
-
-
Save mbukatov/b5098d2b4b984687c74a5be2a504d8f3 to your computer and use it in GitHub Desktop.
ansbile check if ntp package is installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Check if ntp is installed | |
command: rpm -q ntp | |
register: rpm_q_ntp | |
changed_when: False | |
failed_when: rpm_q_ntp.rc > 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment