Online is a French hosting company mainly known for providing bare-metal servers named Dedibox. Check it out: https://www.online.net/en
Ansible has a dynamic inventory plugin that can list your resources.
online_inventory.yml with this content:plugin: online
Set your ONLINE_TOKEN environment variable with your token. You need to open an account and log into it before you can get a token. You can find your token at the following page: https://console.online.net/en/api/access
$ ansible-inventory -v -i online_inventory.yml --list
$ ansible all -i online_inventory.yml -m ping
sd-96735 | SUCCESS => {
"changed": false,
"ping": "pong"
}
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/scenario_guides/guide_online.html