From d167b0aa16d99b0e7ba0611e8c0c0243f4e08ac4 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 0000000000..26877ab636 --- /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 077c3552bd..17c4f20b23 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -152,5 +152,4 @@ '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 9c6011c100..2e8ebcf52d 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({}) }}"