Commit 368c4101 authored by nanahira's avatar nanahira

updates

parent c4521d6c
......@@ -63,3 +63,4 @@ typings/
*.retry
/roles/init
/files/samba-data
......@@ -15,7 +15,7 @@
- name: cpufreq
become: true
copy:
content: '{{cpupower}}'
content: '{{cpufreq}}'
dest: '{{item.path}}/scaling_governor'
unsafe_writes: true
with_items: '{{freq_list.files}}'
......
......@@ -63,12 +63,12 @@
shell: ./premake5 gmake
args:
chdir: '{{home_path}}/ygopro'
when: 'not no_lua_safe is defined'
when: 'not no_lua_safe'
- name: premake5 gmake unsafe
shell: env YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args:
chdir: '{{home_path}}/ygopro'
when: 'no_lua_safe is defined'
when: 'no_lua_safe'
- name: build
make:
chdir: '{{home_path}}/ygopro/build'
......
- hosts: fileserver
remote_user: root
tasks:
- name: directory
file:
path: '{{docker_compose_path}}'
state: directory
- name: docker-compose file
copy:
src: './files/samba-data/{{ inventory_hostname_short }}/docker-compose.yml'
dest: '~/fileserver/docker-compose.yml'
- name: docker-compose up -d
docker_compose:
project_src: ~/fileserver
remove_orphans: true
......@@ -111,7 +111,7 @@
iptables:
chain: FORWARD
flush: true
when: 'hypervisor is defined'
when: 'ansible_virtualization_role == "host"'
- name: apt
become: true
apt:
......
......@@ -13,6 +13,10 @@
force: true
accept_hostkey: true
track_submodules: true
- name: srvpro npm
npm:
path: '{{home_path}}/ygopro-server'
registry: https://registry.npm.taobao.org
- name: challonge
git:
repo: 'https://github.com/moecube/challonge'
......@@ -57,12 +61,12 @@
shell: ./premake5 gmake
args:
chdir: '{{home_path}}/ygopro-new'
when: 'not no_lua_safe is defined'
when: 'not no_lua_safe'
- name: premake5 gmake unsafe
shell: env YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args:
chdir: '{{home_path}}/ygopro-new'
when: 'no_lua_safe is defined'
when: 'no_lua_safe'
- name: build
make:
chdir: '{{home_path}}/ygopro-new/build'
......
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