From f81a7f462c6462917b3b2d9200b2bde3d6bce843 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 29 Jul 2022 16:50:03 +0200 Subject: [PATCH] doc: update readthedoc settings This is needed to enforce the python version. Signed-off-by: Guillaume Abrioux (cherry picked from commit 3a8daafbe8c9023c6dcd8034adfcc98893e5c303) --- .readthedocs.yaml | 6 ++++++ docs/source/conf.py | 3 +-- roles/ceph-rbd-mirror/tasks/main.yml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..26877ab63 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,6 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.9" \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 077c3552b..17c4f20b2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -152,5 +152,4 @@ texinfo_documents = [ 'Miscellaneous'), ] - - +master_doc = 'index' \ No newline at end of file diff --git a/roles/ceph-rbd-mirror/tasks/main.yml b/roles/ceph-rbd-mirror/tasks/main.yml index 9c6011c10..2e8ebcf52 100644 --- a/roles/ceph-rbd-mirror/tasks/main.yml +++ b/roles/ceph-rbd-mirror/tasks/main.yml @@ -21,7 +21,7 @@ - ansible_facts['service_mgr'] == 'systemd' - name: add ceph-rbd-mirror systemd service overrides - openstack.config_template.config_template: + config_template: src: "ceph-rbd-mirror.service.d-overrides.j2" dest: "/etc/systemd/system/ceph-rbd-mirror@.service.d/ceph-rbd-mirror-systemd-overrides.conf" config_overrides: "{{ ceph_rbd_mirror_systemd_overrides | default({}) }}"