mirror: ansible-lint fixes
This commit is contained in:
parent
a849d1f2a9
commit
c5898365ce
4 changed files with 54 additions and 55 deletions
|
@ -1,16 +1,16 @@
|
|||
---
|
||||
- name: install python3
|
||||
package:
|
||||
- name: Install python3
|
||||
ansible.builtin.package:
|
||||
name: python3
|
||||
state: installed
|
||||
|
||||
- name: copy repportmirror files
|
||||
git:
|
||||
- name: Copy repportmirror files
|
||||
ansible.builtin.git:
|
||||
dest: /usr/local/src/report_mirror
|
||||
repo: https://github.com/fedora-infra/mirrormanager2.git
|
||||
|
||||
- name: install reportmirror script
|
||||
copy:
|
||||
- name: Install reportmirror script
|
||||
ansible.builtin.copy:
|
||||
dest: /usr/local/bin/report_mirror
|
||||
src: /usr/local/src/report_mirror/client/report_mirror
|
||||
mode: 0755
|
||||
|
@ -18,16 +18,16 @@
|
|||
group: "{{ ansible_wheel }}"
|
||||
remote_src: true
|
||||
|
||||
- name: create reportmirror config directory
|
||||
file:
|
||||
- name: Create reportmirror config directory
|
||||
ansible.builtin.file:
|
||||
dest: /etc/mirrormanager-client
|
||||
state: directory
|
||||
mode: 0750
|
||||
owner: root
|
||||
group: mirror
|
||||
|
||||
- name: create reportmirror config from template
|
||||
template:
|
||||
- name: Create reportmirror config from template
|
||||
ansible.builtin.template:
|
||||
dest: /etc/mirrormanager-client/report_mirror.conf
|
||||
src: report_mirror.conf.j2
|
||||
mode: 0640
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue