使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
ka
/
ansible-role-ansible
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
ansible in own tasks file
master
Markus Katharina Brechtel
6 年前
父节点
76f38100d9
当前提交
4f17068645
共有
3 个文件被更改
,包括
27 次插入
和
26 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
撰写
预览
正在加载...
取消
保存