9b898ebc20
This commit introduces a new module called vr_sshkey_facts. This module aims to return the list of SSH keys avaiable in Vultr. Sample available here: ``` "vultr_sshkey_facts": [ { "date_created": "2018-07-10 14:49:13", "id": "5b43c760d7d84", "name": "me@home", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+ZFQv3MyjtL1BMpSA0o0gIkzLVVC711rthT29hBNeORdNowQ7FSvVWUdAbTq00U7Xzak1ANIYLJyn+0r7olsdG4XEiUR0dqgC99kbT/QhY5mLe5lpl7JUjW9ctn00hNmt+TswpatCKWPNwdeAJT2ERynZaqPobENgewrwerqewqIVew7qFeZygxsPVn36EUr2Cdq7Nb7U0XFXh3x1p0v0+MbL4tiJwPlMAGvFTKIMt+EaA+AsRIxiOo9CMk5ZuOl9pT8h5vNuEOcvS0qx4v44EAD2VOsCVCcrPNMcpuSzZP8dRTGU9wRREAWXngD0Zq9YJMH38VTxHiskoBw1NnPz me@home" } ] ```
17 lines
787 B
YAML
17 lines
787 B
YAML
# Copyright (c) 2018, René Moser <mail@renemoser.net>
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
---
|
|
- hosts: localhost
|
|
gather_facts: no
|
|
connection: local
|
|
roles:
|
|
- { role: vr_account_facts, tags: test_vr_account_facts }
|
|
- { role: vr_user, tags: test_vr_user }
|
|
- { role: vr_ssh_key, tags: test_vr_ssh_key }
|
|
- { role: vr_ssh_key_facts, tags: test_vr_ssh_key_facts }
|
|
- { role: vr_firewall_group, tags: test_vr_firewall_group }
|
|
- { role: vr_firewall_rule, tags: test_vr_firewall_rule }
|
|
- { role: vr_startup_script, tags: test_vr_startup_script }
|
|
- { role: vr_dns_domain, tags: test_vr_dns_domain }
|
|
- { role: vr_dns_record, tags: test_vr_dns_record }
|
|
- { role: vr_server, tags: test_vr_server }
|