--- # Prep a cloud-init'ed VM to act as a ceph OSD node. # See the README file at the root of this role. # 2024-07019, Tim Holloway - name: Install ceph RPM repo dnf: name: centos-release-ceph-pacific state: latest - name: Install cephadm dnf: name: cephadm state: latest - name: Install Ceph admin node's ssh key ansible.posix.authorized_key: user: root state: present key: "{{ admin_server_key }}" # ideally, key is in vault. - name: Copy in ceph config files unarchive: src: ceph.cfg.tgz dest: /etc - name: Run cephadm to make it do initial container pull and setup shell: cmd: /usr/sbin/cephadm pull