This website works better with JavaScript.
Начало
Каталог
Помощ
Регистрация
Вход
ka
/
ansible-role-ansible
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Заявки за сливане
0
Версии
0
Уики
Activity
Преглед на файлове
ansible in own tasks file
master
Markus Katharina Brechtel
преди 6 години
родител
76f38100d9
ревизия
4f17068645
променени са
3 файла
, в които са
добавени 27
реда и са
изтрити 26
реда
Разделен изглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
tasks/ansible.yaml
+3
-1
tasks/main.yml
+18
-25
tasks/setup_Debian.yml
+ 6
- 0
tasks/ansible.yaml
Целия файл
@@ -0,0 +1,6 @@
---
- name: install ansible via pip
pip:
name: ansible
state: latest
+ 3
- 1
tasks/main.yml
Целия файл
@@ -2,9 +2,11 @@
- include_tasks: setup_Debian.yml
#- include_tasks: ara.yml
- include_tasks: ansible.yaml
- include_tasks: connection_plugin_lxc_ssh.yml
#- include_tasks: ara.yml
- include_tasks: ovh_module.yml
+ 18
- 25
tasks/setup_Debian.yml
Целия файл
@@ -2,33 +2,26 @@
- name: install packages
apt:
pkg: "{{item}}"
state: present
with_items:
- python-pip
- ipv6calc
- uuid
- git
- python-jmespath
# ara required_packages:
- gcc
- libffi-dev
- libssl-dev
- libxml2-dev
- libxslt-dev
- python-dev
- python-setuptools
- python-pymysql
#- which
- python-libcloud
- python-netaddr
pkg:
- python-pip
- ipv6calc
- uuid
- git
- python-jmespath
# ara required_packages:
- gcc
- libffi-dev
- libssl-dev
- libxml2-dev
- libxslt-dev
- python-dev
- python-setuptools
- python-pymysql
#- which
- python-libcloud
- python-netaddr
- name: uninstall debian ansible module
apt:
pkg: ansible
state: absent
- name: install ansible via pip
pip:
name: ansible
state: latest
Write
Preview
Loading…
Отказ
Запис