@@ -0,0 +1,11 @@ | |||||
--- | |||||
- name: Install ARA with pip | |||||
pip: | |||||
name: ara | |||||
state: present | |||||
- name: Get ARA's installed location | |||||
shell: python -c "import os,ara; print(os.path.dirname(ara.__file__))" | |||||
register: ara_location | |||||
changed_when: false |
@@ -2,6 +2,15 @@ | |||||
- include: setup_Debian.yml | - include: setup_Debian.yml | ||||
- include: ara.yml | |||||
- include: connection_plugin_lxc_ssh.yml | - include: connection_plugin_lxc_ssh.yml | ||||
- include: ovh_module.yml | - include: ovh_module.yml | ||||
- name: ansible config | |||||
template: | |||||
src: ansible.cfg.j2 | |||||
dest: /etc/ansible/ansible.cfg | |||||
- include: roles.yml |
@@ -0,0 +1 @@ | |||||
--- |
@@ -11,3 +11,12 @@ | |||||
- uuid | - uuid | ||||
- git | - git | ||||
- python-jmespath | - python-jmespath | ||||
# ara required_packages: | |||||
- gcc | |||||
- libffi-dev | |||||
- libssl-dev | |||||
- libxml2-dev | |||||
- libxslt-dev | |||||
- python-dev | |||||
- python-setuptools | |||||
#- which |
@@ -0,0 +1,17 @@ | |||||
[defaults] | |||||
nocows = 1 | |||||
stdout_callback = skippy | |||||
# fix https://github.com/ansible/ansible/issues/20332 | |||||
remote_tmp = $HOME/.ansible/tmp | |||||
local_tmp = $HOME/.ansible/tmp | |||||
library = /usr/share/ansible/modules | |||||
retry_files_enabled = False | |||||
callback_plugins = {{ ara_location.stdout }}/plugins/callbacks | |||||
[ssh_connection] | |||||
ssh_args = -o CheckHostIP=no -o StrictHostKeyChecking=yes | |||||
pipelining = True |