Commit 82d889b5 authored by nanahira's avatar nanahira

fix again

parent 5c5f2431
Pipeline #14128 failed with stage
in 2 minutes and 46 seconds
--- ---
# tasks file for init # tasks file for init
- name: main tasks - name: main tasks
include_tasks: '{{item}}.yml' include_tasks: 'utility.yml'
with_items: - name: sshd config
- utility include_tasks: sshd_config.yml
- sshd_config when: not testing
- name: detect swap - name: detect swap
shell: '/sbin/swapon' shell: '/sbin/swapon'
register: swap_result register: swap_result
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
when: upgrade when: upgrade
- name: sshd_config again - name: sshd_config again
include_tasks: 'sshd_config.yml' include_tasks: 'sshd_config.yml'
when: not testing
- name: hypervisor - name: hypervisor
include_tasks: 'hypervisor.yml' include_tasks: 'hypervisor.yml'
when: ansible_virtualization_role == 'host' when: ansible_virtualization_role == 'host'
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
become: true become: true
timezone: timezone:
name: Asia/Shanghai name: Asia/Shanghai
when: not testing
- name: set facts for China mirror - name: set facts for China mirror
set_fact: set_fact:
mirror_debian: http://mirrors.tuna.tsinghua.edu.cn mirror_debian: http://mirrors.tuna.tsinghua.edu.cn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment