mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1099 from jsaintrocc/checkmode-fix
Replaced Ansible 2.2 specific `check_mode: no`pull/1103/head
commit
aa0f2d4112
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue