Jérémy Lecour
00fe225a3c
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
33 lines
626 B
YAML
33 lines
626 B
YAML
---
|
|
- ansible.builtin.include_role:
|
|
name: evolix/remount-usr
|
|
|
|
- name: /usr/share/scripts exists
|
|
ansible.builtin.file:
|
|
dest: /usr/share/scripts
|
|
mode: "0700"
|
|
owner: root
|
|
group: root
|
|
state: directory
|
|
tags:
|
|
- apt
|
|
|
|
- name: Migration scripts are installed
|
|
ansible.builtin.copy:
|
|
src: "{{ item }}"
|
|
dest: "/usr/share/scripts/{{ item }}"
|
|
force: true
|
|
mode: "0755"
|
|
loop:
|
|
- deb822-migration.py
|
|
- deb822-migration.sh
|
|
tags:
|
|
- apt
|
|
|
|
- name: Exec migration script
|
|
ansible.builtin.command:
|
|
cmd: /usr/share/scripts/deb822-migration.sh
|
|
ignore_errors: yes
|
|
tags:
|
|
- apt
|