June 2020
Intermediate to advanced
410 pages
9h 52m
English
Creating a machine in Rackspace Cloud is very simple since it's a single-step operation:
---- hosts: localhost tasks: - name: Ensure the my_machine exists rax: name: my_machine flavor: 4 image: centos-8 count: 1 group: my_group wait: True
$ ansible-playbook rax.yaml
PLAY [localhost] **********************************************************************************TASK [Gathering Facts] ****************************************************************************ok: [localhost]TASK [Ensure the my_machine exists] *************************************************************** ...