final fixes

master
Daniel Liu 12 months ago
parent a2cf067060
commit a413e3c03d
  1. 36
      qemu/postinstall.yml
  2. 4
      roles/mirror/tasks/main.yml

@ -1,16 +1,28 @@
---
- hosts: vm
tasks:
# - name: Basic system configuration
# become: yes
# import_role:
# name: ../roles/system
# - name: Setting up ssh
# become: yes
# import_role:
# name: ../roles/ssh
# - name: Configuring nginx
# become: yes
# import_role:
# name: ../roles/nginx
- name: Basic system configuration
become: yes
import_role:
name: ../roles/system
- name: Setting up mirror
become: yes
import_role:
name: ../roles/mirror
- name: Setting up ssh
become: yes
import_role:
name: ../roles/ssh
- name: Configuring nginx
become: yes
import_role:
name: ../roles/nginx
- name: Configure rsync
become: yes
import_role:
name: ../roles/rsync
- name: Configure ftp
become: yes
import_role:
name: ../roles/ftp

@ -42,7 +42,7 @@
- name: copy arthur and busybox into merlin
copy:
src: "{{ role_path }}/tmeplates/root/merlin/{{ item.file }}"
src: "{{ role_path }}/templates/root/merlin/{{ item.file }}"
dest: "/mirror/merlin/{{ item.dest }}"
owner: root
group: root
@ -113,4 +113,4 @@
# systemd:
# name: merlin
# state: started
# # enabled: yes
# # enabled: yes

Loading…
Cancel
Save