Update roles (remove inactive and update for-ansible-lint)
This commit is contained in:
parent
39fd6ef5a2
commit
400b342ec4
5 changed files with 15 additions and 44 deletions
|
|
@ -13,10 +13,10 @@
|
|||
|
||||
- name: Set config path
|
||||
ansible.builtin.set_fact:
|
||||
config_path: "{{ (service_path, 'config') | path_join }}"
|
||||
factorio_config_path: "{{ (service_path, 'config') | path_join }}"
|
||||
- name: Create config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ config_path }}"
|
||||
path: "{{ factorio_config_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
owner: "{{ factorio_uid }}"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
become: true
|
||||
- name: Create the server settings
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ (config_path, 'server-settings.json') | path_join }}"
|
||||
dest: "{{ (factorio_config_path, 'server-settings.json') | path_join }}"
|
||||
content: '{{ factorio_json | to_json }}'
|
||||
mode: "0644"
|
||||
owner: "{{ factorio_uid }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue