Commit 368c4101 authored by nanahira's avatar nanahira

updates

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