From c64a4983d35969a8c295c6a303357e4142b0e7ad Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 12 Oct 2017 13:09:17 +0000 Subject: [PATCH] ovh module --- tasks/main.yml | 2 ++ tasks/ovh_module.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tasks/ovh_module.yml diff --git a/tasks/main.yml b/tasks/main.yml index fbaedf7..1feb3f1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,3 +3,5 @@ - include: setup_Debian.yml - include: connection_plugin_lxc_ssh.yml + +- include: ovh_module.yml diff --git a/tasks/ovh_module.yml b/tasks/ovh_module.yml new file mode 100644 index 0000000..b446aca --- /dev/null +++ b/tasks/ovh_module.yml @@ -0,0 +1,17 @@ +--- + +- name: debian packages + apt: + pkg: "{{item}}" + with_items: + - python-pip + +- name: python ovh client + pip: + name: ovh + +- name: ansible ovh module + git: + repo: https://github.com/cornelius-keller/ansible-ovh.git + version: master + dest: /usr/share/ansible/modules/ovh/