This commit re-add a newline at end of files when it's missing.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph_key:
state: fetch_initial_keys
cluster: "{{ cluster }}"
- ignore_errors: true
\ No newline at end of file
+ ignore_errors: true
dest: "{{ localtempfile.path }}"
fail_on_missing: no
flat: no
- with_items: "{{ ceph_collect.files }}"
\ No newline at end of file
+ with_items: "{{ ceph_collect.files }}"
- { name: client.test, caps: { mon: "allow r", osd: "allow class-read object_prefix rbd_children, allow rwx pool=test, osd blacklist" }, mode: "{{ ceph_keyring_permissions }}" }
- { name: client.test2, caps: { mon: "allow r", osd: "allow class-read object_prefix rbd_children, allow rwx pool=test2, osd blacklist" }, mode: "{{ ceph_keyring_permissions }}" }
-#ceph_nfs_ceph_user: { name: client.rgw.nfs0, key: 'SECRET==', caps: { mon: "allow rw", osd: "allow rwx" }, mode: "{{ ceph_keyring_permissions }}" }
\ No newline at end of file
+#ceph_nfs_ceph_user: { name: client.rgw.nfs0, key: 'SECRET==', caps: { mon: "allow rw", osd: "allow rwx" }, mode: "{{ ceph_keyring_permissions }}" }
repo: "deb {{ ceph_custom_repo }} {{ ansible_distribution_release }} main"
state: present
update_cache: no
- notify: update apt cache if a repo was added
\ No newline at end of file
+ notify: update apt cache if a repo was added
repo: "deb {{ ceph_stable_repo_uca }} {{ ceph_stable_release_uca }} main"
state: present
update_cache: no
- notify: update apt cache if a repo was added
\ No newline at end of file
+ notify: update apt cache if a repo was added
pkg: "{{ debian_ceph_pkgs | unique }}"
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
register: result
- until: result is succeeded
\ No newline at end of file
+ until: result is succeeded
name: storage-cluster
state: present
register: result
- until: result is succeeded
\ No newline at end of file
+ until: result is succeeded
---
- name: include pre_requisites/prerequisites.yml
include_tasks: pre_requisites/prerequisites.yml
- when: not is_atomic
\ No newline at end of file
+ when: not is_atomic
enabled: yes
tags:
with_pkg
- when: container_service_name == 'docker'
\ No newline at end of file
+ when: container_service_name == 'docker'
----
\ No newline at end of file
+---
----
\ No newline at end of file
+---
- "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring"
- "/var/lib/ceph/bootstrap-mds/{{ cluster }}.keyring"
- "/var/lib/ceph/bootstrap-rbd/{{ cluster }}.keyring"
- - "/var/lib/ceph/bootstrap-mgr/{{ cluster }}.keyring"
\ No newline at end of file
+ - "/var/lib/ceph/bootstrap-mgr/{{ cluster }}.keyring"
state: started
enabled: yes
daemon_reload: yes
- failed_when: false
\ No newline at end of file
+ failed_when: false
---
- name: include check_running_cluster.yml
- include: check_running_cluster.yml
\ No newline at end of file
+ include: check_running_cluster.yml
state: started
enabled: yes
daemon_reload: yes
- failed_when: false
\ No newline at end of file
+ failed_when: false
###########
nb_retry_wait_osd_up: 60
-delay_wait_osd_up: 10
\ No newline at end of file
+delay_wait_osd_up: 10
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
PYTHONIOENCODING: utf-8
with_items: "{{ lvm_volumes }}"
- tags: prepare_osd
\ No newline at end of file
+ tags: prepare_osd
state: restarted
with_items:
- 'alertmanager'
- - 'prometheus'
\ No newline at end of file
+ - 'prometheus'