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
|
|
@ -12,24 +12,24 @@
|
|||
|
||||
- name: Set webhook config path
|
||||
ansible.builtin.set_fact:
|
||||
config_path: "{{ (service_path, 'config') | path_join }}"
|
||||
deploy_config_path: "{{ (service_path, 'config') | path_join }}"
|
||||
|
||||
- name: Create config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ config_path }}"
|
||||
path: "{{ deploy_config_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create main config
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ (config_path, 'hooks.yml') | path_join }}"
|
||||
dest: "{{ (deploy_config_path, 'hooks.yml') | path_join }}"
|
||||
content: '{{ deploy_yml | to_nice_yaml }}'
|
||||
mode: "0644"
|
||||
|
||||
- name: Copy the deploy-reitanlage_oranienburg script
|
||||
ansible.builtin.copy:
|
||||
src: deploy-reitanlage_oranienburg
|
||||
dest: "{{ (config_path, 'deploy-reitanlage_oranienburg') | path_join }}"
|
||||
dest: "{{ (deploy_config_path, 'deploy-reitanlage_oranienburg') | path_join }}"
|
||||
mode: "0755"
|
||||
|
||||
- name: Import start tasks for common service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue