Update o2m role to 0.5.0
This commit is contained in:
parent
1a251aaba4
commit
1489d662b1
3 changed files with 32 additions and 2 deletions
|
@ -8,6 +8,10 @@ o2m_dets_gid: 1000
|
||||||
|
|
||||||
o2m_name: example
|
o2m_name: example
|
||||||
|
|
||||||
o2m_version: 0.4.2
|
o2m_version: 0.5.0
|
||||||
|
|
||||||
o2m_timer: 300
|
o2m_timer: 300
|
||||||
|
|
||||||
|
o2m_discord_gw_intents: "no"
|
||||||
|
|
||||||
|
o2m_blind_test: yes
|
||||||
|
|
2
meta/.galaxy_install_info
Normal file
2
meta/.galaxy_install_info
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
install_date: Sun Oct 25 16:54:34 2020
|
||||||
|
version: ''
|
|
@ -16,7 +16,7 @@
|
||||||
- "{{ o2m_name }}"
|
- "{{ o2m_name }}"
|
||||||
- "{{ o2m_name }}/dets"
|
- "{{ o2m_name }}/dets"
|
||||||
|
|
||||||
- name: Ensure o2m (service)
|
- name: Ensure o2m (service) with blind tests
|
||||||
docker_container:
|
docker_container:
|
||||||
name: o2m-{{ o2m_name }}
|
name: o2m-{{ o2m_name }}
|
||||||
image: papey/o2m:{{ o2m_version }}
|
image: papey/o2m:{{ o2m_version }}
|
||||||
|
@ -24,6 +24,29 @@
|
||||||
state: started
|
state: started
|
||||||
env:
|
env:
|
||||||
DISCORD_TOKEN: "{{ o2m_discord_token }}"
|
DISCORD_TOKEN: "{{ o2m_discord_token }}"
|
||||||
|
DISCORD_GW_INTENTS: "{{ o2m_discord_gw_intents }}"
|
||||||
|
O2M_FEED_URLS: "{{ o2m_feed_urls }}"
|
||||||
|
O2M_NICKNAME: "{{ o2m_nickname }}"
|
||||||
|
O2M_GUILD_ID: "{{ o2m_guild_id }}"
|
||||||
|
O2M_CHAN_ID: "{{ o2m_chan_id }}"
|
||||||
|
O2M_JOBS_TIMER: "{{ o2m_timer }}"
|
||||||
|
O2M_BT_ADMIN: "{{ o2m_bt_admin }}"
|
||||||
|
O2M_BT_CHAN_ID: "{{ o2m_bt_chan_id }}"
|
||||||
|
O2M_BT_VOCAL_ID: "{{ o2m_bt_vocal_id }}"
|
||||||
|
restart_policy: always
|
||||||
|
volumes:
|
||||||
|
- "{{ o2m_base }}/{{ o2m_name }}/dets:/opt/o2m/dets"
|
||||||
|
when: o2m_blind_test
|
||||||
|
|
||||||
|
- name: Ensure o2m (service) without blind test
|
||||||
|
docker_container:
|
||||||
|
name: o2m-{{ o2m_name }}
|
||||||
|
image: papey/o2m:{{ o2m_version }}
|
||||||
|
pull: yes
|
||||||
|
state: started
|
||||||
|
env:
|
||||||
|
DISCORD_TOKEN: "{{ o2m_discord_token }}"
|
||||||
|
DISCORD_GW_INTENTS: "{{ o2m_discord_gw_intents }}"
|
||||||
O2M_FEED_URLS: "{{ o2m_feed_urls }}"
|
O2M_FEED_URLS: "{{ o2m_feed_urls }}"
|
||||||
O2M_NICKNAME: "{{ o2m_nickname }}"
|
O2M_NICKNAME: "{{ o2m_nickname }}"
|
||||||
O2M_GUILD_ID: "{{ o2m_guild_id }}"
|
O2M_GUILD_ID: "{{ o2m_guild_id }}"
|
||||||
|
@ -32,3 +55,4 @@
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ o2m_base }}/{{ o2m_name }}/dets:/opt/o2m/dets"
|
- "{{ o2m_base }}/{{ o2m_name }}/dets:/opt/o2m/dets"
|
||||||
|
when: not o2m_blind_test
|
||||||
|
|
Loading…
Reference in a new issue