**Deployment:**
-Perform the followint steps on the Ansible installer node.
+Perform the following steps on the Ansible installer node.
#. As ``root``, execute the Ansible playbook:
- ::
+ .. prompt:: bash #
- # cd /usr/share/ceph-ansible
- # ansible-playbook site.yml --limit iscsigws
+ cd /usr/share/ceph-ansible
+ ansible-playbook site.yml --limit iscsigws
.. note::
The Ansible playbook will handle RPM dependencies, setting up daemons,
#. Verify the configuration from an iSCSI gateway node:
- ::
+ .. prompt:: bash #
- # gwcli ls
+ gwcli ls
.. note::
See the `Configuring the iSCSI Target using the Command Line Interface`_
target service during the deployment. Below are the outcomes of when
interacting with the ``rbd-target-api`` Systemd service.
-::
+.. prompt:: bash #
- # systemctl <start|stop|restart|reload> rbd-target-api
+ systemctl <start|stop|restart|reload> rbd-target-api
- ``reload``
A purge operation will fail, if RBD images have snapshots or clones
and are exported through the Ceph iSCSI gateway.
+.. highlight:: console
+
::
[root@rh7-iscsi-client ceph-ansible]# ansible-playbook purge_gateways.yml