Commit e93ddf92 authored by nanahira's avatar nanahira

update

parent 6de881d3
...@@ -13,6 +13,13 @@ ...@@ -13,6 +13,13 @@
update_cache: true update_cache: true
state: latest state: latest
name: curl,wget,build-essential,tar,unzip,python,rsync name: curl,wget,build-essential,tar,unzip,python,rsync
when: "ansible_distribution != 'CentOS'"
- name: yum
yum:
state: latest
update_cache: true
name: curl,wget,gcc,gcc-c++,make,tar,unzip,python,rsync
when: "ansible_distribution == 'CentOS'"
- name: directories - name: directories
file: file:
path: '/srv/{{item}}' path: '/srv/{{item}}'
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
tasks: tasks:
- name: docker - name: docker
include: includes/docker.yml include: includes/docker.yml
static: false
when: "ansible_distribution != 'Fedora'"
- name: utility directory - name: utility directory
file: file:
path: /root/utility path: /root/utility
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment