Merge pull request #1099 from jsaintrocc/checkmode-fix

Replaced Ansible 2.2 specific `check_mode: no`
pull/1103/head
Sébastien Han 2016-11-17 17:02:22 +01:00 committed by GitHub
commit aa0f2d4112
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
- name: get ceph version - name: get ceph version
command: ceph --version command: ceph --version
changed_when: false changed_when: false
check_mode: no always_run: yes
register: ceph_version register: ceph_version
- set_fact: - set_fact:
@ -12,7 +12,7 @@
- name: check init system - name: check init system
slurp: slurp:
src: /proc/1/comm src: /proc/1/comm
check_mode: no always_run: yes
register: init_system register: init_system
- set_fact: - set_fact:

View File

@ -14,7 +14,7 @@
command: sysctl -b vm.min_free_kbytes command: sysctl -b vm.min_free_kbytes
changed_when: false changed_when: false
failed_when: false failed_when: false
check_mode: no always_run: yes
register: default_vm_min_free_kbytes register: default_vm_min_free_kbytes
- name: define vm.min_free_kbytes - name: define vm.min_free_kbytes